Hello everyone!
I'm working on an audio visualization project, which goal is to get radial waveforms from a music track.
After first experiments using Web Audio API (with performance issues), I wanted to try another way, and discovered Librosa (and Python also!).
My idea is to load my audio file, then simply slice the audio data array, more or less the same way I was having it achieved with the
getByteTimeDomainData method, before displaying it as radial waveforms. My knowledge here is very basic, and I hope someone will be able to enlightme!
So, after librosa.load(), I wanted to use librosa.util.frame() to slice my array into "several" ones... If I'm correct, for my usecase the hop_length and frame_length should be identicals (?). But I cannot understand how to calculate properly this frame_length?
I suppose that it should be related to len(y) (where y is the result from librosa.load()), and maybe also to sample rate... ? But I think I'm missing something.
Like I said, my knowledge here is very basic, so I'm starting this conversation with the hope of having some explanations, maybe some useful articles links, in order to improve my understanding of audio analysis?
I hope I don't take too much advantage of your kindness...And I thank you in advance for your time!