piclist 2008\07\17\090946a >
Thread: Digital Sound
face picon face BY : email (remove spam text)(Olin Lathrop)

threewheeler7 wrote:
> I am sorry i was in a hurry, 22khz sample rate 8 bits a sample, i
> realize
> that this is a lot of memory, but the device will probably play music
> and it
> cant sound like crap if it does.

Then you will probably need more than 8 bits per sample.  8 bits is enough
to make quite understandable voice, but there will be obvious quantization
noise in the background.  22KHz sample rate should get you roughly AM radio
quality with a decent reconstruction filter.  You probably need about 10
bits/sample to make make passable music, although it definitely won't be
HiFi by anyone's standard.

The best way to decide what sample rate and resolution you need is to record
some sound at high quality into a WAV file, then play with different sample
rates and bit width and listen to the results.  My WAV_COPY program might be
able to help, http://www.embedinc.com/pic/dload.htm.  It has a pretty good
resampling algorithm, including a over 2000 point sinc filter for

Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.
<018e01c8e80e$a5dfc170$0300a8c0@main> 7bit

See also: www.piclist.com/techref/microchip/ios.htm?key=sound
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Digital Sound

month overview.

new search...