some of the terms are but technical but please bare with me
I've been observing an audio file under an Python language module
the audio has a framerate/samplerate of 44100 per sec or hz
and total frames are 9745238
and the duration of the audio is 220 secs
by the file properties whereas it should be 220.9804535147392 secs
and has 2
channels.
after reading a file it returned me a 9745238 X 2
matrix of 16bit signed int
as expected
where 1 column is channel 1 data and 2 column is the channel 2 data for respective 9745238 frames
so my question is there any robust method find these values (with 1, 2 channel consecutively i.e. each row or the matrix) per second or millisecond, because when i multiplied the frame rate (44100)
with the duration(220 secs)
of my audio file it must return me total number of frames/samples but No, it returned me 9702000
whereas there are 9745238
in total. So how can i get the exact values(rows) per second?
any guesses?
Edit 1
I've referred to a good discussion here
and i guess all i need is bitrate which is bitrate = sampleRate * bitDepth
but how can i get bit depth is it sample size / sample width
or something else.