I am new to audio programming, But I am wondering formula of bitRate,
According to wiki https://en.wikipedia.org/wiki/Bit_rate#Audio,
bit rate = sample rate X bit depth X channels
and
- sample rate is the number of samples (or snapshots taken) per second obtained by a digital audio device.
- bit depth is the number of bits of information in each sample.
So why bit rate = sample rate X bit depth X channels
?
From my perspective, if bitDepth = 2
bit, sample rate = 3 HZ
then I can transfer 6 bit data in 1 second
For example:
Sample data = 00 //at 1/3 second.
Sample data = 01 //at 2/3 second.
Sample data = 10 //at 3/3 second.
So I transfer 000110
in 1 second, is that correct logic?