Beau,
No, it's like a "motor boating" type sound. I'm attempting to use a "homemade" R2R ladder using only 4-bits. I'm I kidding myself into thinking that would produce anywhere near half-decent sound ?
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
Another thought.... Is it Stereo or Mono? If not , you should convert it to Mono.
Bean said...
When I just put the data onto a DAC I can hear the sound
Does the playback "rate" seem to be correct or is it about half the speed that you would expect?
This could be another indication the audio clip is Stereo vs. Mono.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Beau,
It is mono and the playback rate seems to be okay. I saw in the .WAV spec that there are "chunks". Are most sound files just 1 big chunk ? Or do they break the file into a series of smaller "chunks" ?
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
Beau,
Thanks for the info. After convincing myself that it wasn't "in-the-data" I found a program bug. So....
IT WORKS!!! And the 4-bit DAC isn't that bad. I'm cheating and not even using an audio amp, just low values for the R2R (100 & 200 ohm resistors). I have a 64KB eeprom, so if I store the samples as nibbles @ 8KHz I can store and playback 16 seconds of sound. Pretty cool. I'll have to post this in the project section when I get it further along...
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
Comments
If so, you might need a simple RC filter that rolls-off right at or near 8kHz.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
No, it's like a "motor boating" type sound. I'm attempting to use a "homemade" R2R ladder using only 4-bits. I'm I kidding myself into thinking that would produce anywhere near half-decent sound ?
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module" Now available from Parallax for only·$49.95
http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
"Wise men know when they're right. The wisest also·know when they're wrong."
·
Another thought.... Is it Stereo or Mono? If not , you should convert it to Mono.
Does the playback "rate" seem to be correct or is it about half the speed that you would expect?
This could be another indication the audio clip is Stereo vs. Mono.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
It is mono and the playback rate seems to be okay. I saw in the .WAV spec that there are "chunks". Are most sound files just 1 big chunk ? Or do they break the file into a series of smaller "chunks" ?
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module" Now available from Parallax for only·$49.95
http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
"Wise men know when they're right. The wisest also·know when they're wrong."
·
For 8-Bit Mono, unless things have changed, once you get past the 44 byte header,
the remaining data is RAW audio with 127 equal to the audio "null".
Reference:
www.technology.niagarac.on.ca/courses/ctec1631/WavFileFormat.html
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Thanks for the info. After convincing myself that it wasn't "in-the-data" I found a program bug. So....
IT WORKS!!! And the 4-bit DAC isn't that bad. I'm cheating and not even using an audio amp, just low values for the R2R (100 & 200 ohm resistors). I have a 64KB eeprom, so if I store the samples as nibbles @ 8KHz I can store and playback 16 seconds of sound. Pretty cool. I'll have to post this in the project section when I get it further along...
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module" Now available from Parallax for only·$49.95
http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
"Wise men know when they're right. The wisest also·know when they're wrong."
·