It uses the 8 bit timer/counter0 (of Atmega644P) to generate the PWM. So the bit resolution would be 8 bits.
The PWM frequency also matches with this information: 20MHz / (2^8) = 78 kHz
That's what I thought, but it certainly does not sound like a 8bit. I wonder how it would sound at 44khz sampling rate instead of 78khz. I still can't figure out what the sampling rate has to do with the quality of the sound vs the bit rate. All I know is that 78khz sure takes the noise out of the hearing range.
That's what I thought, but it certainly does not sound like a 8bit. I wonder how it would sound at 44khz sampling rate instead of 78khz. I still can't figure out what the sampling rate has to do with the quality of the sound vs the bit rate. All I know is that 78khz sure takes the noise out of the hearing range.
I still can't figure out what the sampling rate has to do with the quality of the sound vs the bit rate. All I know is that 78khz sure takes the noise out of the hearing range.
Too few samples and you loose quality because you miss information. To few bits in the sample and you loose because you are taking low quality samples.
It makes sense that higher sampling makes better quality but the question is what exactly makes this sound, even though 8bit, sound better than Nintendo ?
Also the sound quality of a Karplus Strong algoritm comes from the fact that we generate the waveform from a random sample limited in range to 8bit (random numbers from 0 to 255) thus eliminating the possibility of distortion of the waveform, is that right?
Agreed, 8bit sound will give very nice sound quality!
The reason they use 16bit sound in CDs is to give a very large dynamic range, ie great quality sound with both loud and very quiet passages. If it's just loud rock guitar (or one instrument at a fixed volume) I don't think anyone could tell the difference between 8bit and 16bit sound.
The Amiga sound quality is easily explained, here's a quote from the Wikipedia;
"The sound chip, named Paula (Amiga) , supports four sound channels (two for the left speaker and two for the right) with 8-bit resolution for each channel and a 6-bit volume control per channel."
The Amiga sound quality is easily explained, here's a quote from the Wikipedia;
"The sound chip, named Paula (Amiga) , supports four sound channels (two for the left speaker and two for the right) with 8-bit resolution for each channel and a 6-bit volume control per channel."
" With some special programming tricks it is possible to produce 14-bit audio by combining two channels set at different volumes, giving two 14-bit channels instead of four 8-bit channels. This is done by playing the high byte of a 16 bit sample at maximum volume, and the low byte at minimum volume (both ranges overlap, so the low byte needs to be shifted right two bits)."