Sound sampling frequency depends on the channels?

If you have sound encoded at 44100 Hz, this means that you have 44100 samples per second. Does this mean 44100 samples / sec for a channel or for all channels?

For example, if a song is stereo and encoded at 44100 Hz, there are 44100 samples / second for both channels (aka: 22050 samples per channel) or each channel has 44100 samples (aka: every second has 8828 samples, 44100 for channels 1 and 44100 for channel 2).

+6
source share
2 answers

Yes, the sampling frequency does not depend on the number of channels, for example, CD quality sound is stereo 16 bit 44.1 kHz, which means that there are two channels, each of which is sampled at a frequency of 44.1 kHz, and therefore the raw speed The data transfer rate is 44100 * 2 * 16 = 1411200 bps = 176400 bytes / s.

+5
source

Each channel is “sampled” separately, so you will have as many values ​​per “sampling frequency” as there are channels.

The data rate for PCM (uncompressed) sound is

sample_freq * channels * bits_per_sample / 8 

The most common are 16-bit samples, so you will have 44100 * 2 * 2 for your stereo recording with a sampling rate of 44100.

+3
source

Source: https://habr.com/ru/post/918160/


All Articles