?
Solved

Create NEW Audio Format

Posted on 2004-08-29
9
Medium Priority
?
202 Views
Last Modified: 2010-05-18
Create NEW Audio Format

How to create NEW audio format (type) (as wav,mp?... etc.) to play audio ?

Thanks.
0
Comment
Question by:sasabistrovic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 5

Expert Comment

by:Hypoviax
ID: 11928316
To create a new audio format you will have to create an algorithm for interpreting the data making up your audio file. For example you may wish to represent a certain sound with the symbol $.So when you write a program this symbol is interpreted as a certain sound and is played. This sort of thing is complex and will take quite a long time to do
0
 

Author Comment

by:sasabistrovic
ID: 11932388
OK, Thanks.

But how to play that certain sound with the symbol $ ?

Through what code can I play that certain sound with the symbol $ ?

Is there special part of sound card or windows to play $ ?

How ?

Thanks.
0
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 11936087
What do you mean NEW audio format ?  you want to create a new type of music file ? ??? or you want to record music or you want to play music ?

There are alot of delphi Audio components around, which should help you with most of the above have a look at some here
http://swiss.torry.net/audio.htm

If you just want to play audio then just stick a Tmediaplayer on a form and use the lines
   MediaPlayer1.FileName:= 'C:\Windows\MEDIA\Ding.wav';
   MediaPlayer1.Open;
   MediaPlayer1.Play;

There is little point creating a new sound format, as no one else would be able to play it  ;) unless they had your player which would be unlikly.

please explain so i can help you more

David
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:sasabistrovic
ID: 11940841
Yes, Thanks. I want to create a new type of music file.

In my program You can create many TStringGrid's which can have many informations in cells (cols and rows).
TStringGrid's can be connected and in them You can put (in cells) informations about smallest parts of compolete music.

I'm confused and I don't know what to put in cells (frequency valume or what ?? ??) to have new type of music file.

How to play music in that way ?

Thanks.
0
 
LVL 5

Expert Comment

by:Hypoviax
ID: 11948343
Hang on... im looking into it ill post again soon.
0
 
LVL 5

Accepted Solution

by:
Hypoviax earned 2000 total points
ID: 11948355
How i would do it would be to devise an algorithm to represent certain text characters in a wave file. For example you may wish to represent 12345 as simply @ thus reducing size. To play simply convert back this character to 12345 and play using an normal audio component
0
 
LVL 5

Expert Comment

by:Hypoviax
ID: 11960390
Ill post some more info soon if you want it
0
 

Author Comment

by:sasabistrovic
ID: 11975485
Yes, Thanks.
0
 
LVL 5

Expert Comment

by:Hypoviax
ID: 11986931
OK give me some time and ill post more detailed information. I am doing this at school and so dont have much time. Just give me a bit of time and ill post it up.

Basically i am doing the same thing with images. I am going to have a base 100 or maybe 1000  number system and you could do the same. With a base 100 number system any 3 digit number can be represented with a single digit. By comparison If you know hexadecimal it is a base 16 number system and octal - base 8.

I.e.

1=1
2=2
10=10
100 = ~ (or some other character)
999 = * (or some other character)
1001 = 101 (10 100s and one 1) (in this case you may need a separater or something between 10 and the 1 so it does not read as one hundred and one)

More coming....

Hypoviax
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month15 days, 6 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question