What do the numbers tell me, in terms of frequency, amplitude and maybe time?
Thank you muchly!
drue
What do the numbers tell me, in terms of frequency, amplitude and maybe time?
Thank you muchly!
drue
Pretty much everything.
If you are really asking "What is the format of a file", you'll have to search the web for for a definition of the file format.
Pretty much everything.
If you are really asking "What is the format of a file", you'll have to search the web for for a definition of the file format.
Hmm...I guess what I meant to say is: How do I determine the characteristics of sound like frequency and amplitude, simply by revising the binary data of a .wav file?
Thanks fer helpin me clear that up ;)
drue
Well to start with, I have to assume you're readin in bytes of the file.
A byte is a number from -128 to 127, bytes in files tend to be unsigned, so 0 to 255. I imagine these are the numbers you're seeing.
You then have to convert these bytes, by using the format specification, into something the program or you can understand.
WaltP was correct in saying that you have to look up the file format. Otherwise, the data from the file is just nonsense ^^
Thank you both for answering my question!
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.