L
L
LakeForest2021-05-21 18:43:00
Python
LakeForest, 2021-05-21 18:43:00

Why might it be useful to convert audio recording time to frames (librosa.time_to_frames)?

Why might it be useful to convert audio recording time to frames?
For example, the method in librosa is time_to_frames. Why are these frames needed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2021-05-21
@rPman

for about the same reason why you need to work with bitmaps with pixel-by-pixel dimensions, not inches.
An example of use - instead of storing a series of images that are close in content (for example, the rotation of an object represented by a series of its photos), you can store a video (this is much more efficient than just pictures), but instead of playing it, you force the player to jump to the desired position up to the frame number.
ps why you can’t think of converting time into frames, more precisely, wherever it is needed, there are methods that work with time, although under the hood they certainly work with frames

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question