Can someone tell me how sampling the frequency and frame?

Is it possible to say how the sampling rate and the frame are related?

I decoded a spx file in wav with a sampling frequency of 10 kHz and 16 bits. The frame size used in the decoding process was 640. The decoded file is played in vlc. But I want to play this file in Flex.

Flex supports 44.1 kHz, 22.5 kHz and 11.2 kHz. I want to increase the sampling rate during the decoding process. I know how to do this in code, but I think the scope should also be increased. I do not know the relationship between the two. Can anyone help?

+3
source share
4 answers

. , .

PCM.wav / * . 16 32 .

, , .

+3

: spex. , PCM. PCM (, SSRC: http://shibatch.sourceforge.net/).

+1

, . ( 320).

, , . . , , , .

, . , Flex? , rencode. ?

0

regardless of the number of channels used, frame rates and sampling rates are the same. because it is the goal of TDM. New channels are introduced into the gap remaining between two consecutive samples. As the number of channels increases the time allocated to each channel, it decreases in time spent by each bit. but the tamed interval between consecutive samples of any channel will remain constant, and it will be equal to the total frame time. those. the time interval between samples = frame time, therefore, the frame rate is equal to the sampling frequency.

0
source

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


All Articles