hey
It's bitrate, not byterate. You need 16*2*44200= 1414400
By the way, B is byte, b is bit.
Daniel
So its 16bits (Audio)
x 2 (because its stereo)
x 44200 (because thats my chosen samplerate)
==========
1414400 bits per second
divide by 8 (convert bits to bytes)
==========
176800 Bytes per second
divide by 1024 (convert to KiloBytes per second)
==========
172.65625 KiloBytes per second
^^^^^ is that right or wrong?
Also can someone help me with this bit.
also all the circuits i have seen run a small 8Ω speaker, but i need to provide stereo LINE level outputs (1v peak to peak i think?), how would i connect the phono sockets to the pic - ive never done an audio project before.
Ive been on the microchip site, but cant seem to find anything suitable, so how bad would 8bit,stereo,44200Hz sound, as there are not many parts with 2 16bit pwm.
Its either that or a dsPIC33FJ128GP802, which is probably overkill.
Other suggestions are welcome, for example specialist audio playback chips - the most important thing is that it is quite good quality (its going to be amped up via 1000w amplifiers), and that I can syncronize with it, eg at a specific time during the music the circuit needs to switch on a relay or transistor, with a resolution of 10ms.
Its not a stage lighting system, but that would be the best way to describe it - when things happen in the music embedded codes turn on lights etc (or sycronised start and maintain timers with the music)
A chip that could handle MP3 would probably work too - as long as I could extract the tags, and possibly generate an interrupt when it reaches them.