Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
kkzgreen
21
Years of Service
User Offline
Joined: 12th Apr 2004
Location: Nashville, TN
Posted: 11th Apr 2005 04:50
what exactly is stored in a .wav sound file?
is each byte just a frequency or is it more complicated then that?
Pls help.
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 11th Apr 2005 07:45
Theres a 32 byte header(I think) and then frequency data. For 16bit wavs its 2 bytes per frequency.


"Lets migrate like bricks" - Me
kkzgreen
21
Years of Service
User Offline
Joined: 12th Apr 2004
Location: Nashville, TN
Posted: 11th Apr 2005 09:49
What's inside the header?
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 11th Apr 2005 10:14
Things like the amount of bytes in a sample, amount of samples in the wav, stuff like that. I'm not sure exactly what all the data in the header is though, best to try google.


"Lets migrate like bricks" - Me
kkzgreen
21
Years of Service
User Offline
Joined: 12th Apr 2004
Location: Nashville, TN
Posted: 11th Apr 2005 10:15
Ok. Thanks.
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 11th Apr 2005 10:37
I thinks it's 40 bytes. These are they:



Read them in as bytes, and you have yourself a .wav header.

BillR
22
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 12th Apr 2005 17:22
@Ric - looks like you copied from some older code, not your newest code..because I know you knew this is the same thing...just easier to read.



Great coding in the challenges man....keep up the good work!
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 13th Apr 2005 09:24
lol I just like the word data!

Login to post a reply

Server time is: 2025-06-01 09:31:42
Your offset time is: 2025-06-01 09:31:42