Questions tagged [librosa]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

How do you handle zeros when logarithmizing? [duplicate]

I'm trying to implement a procedure from a paper. There the authors use two equations to transform a fft transformed music audio file to a cent-spectogram. Equation 1: $$ f_{cent} = 1200 \log_{2} \...
Rocket's user avatar
  • 25
0 votes
1 answer
85 views

STFT Audio processing with zeros

In this paper they preprocess an audio file with a STFT and then apply two equations to the computed matrix. I tried implementing all of it in python and used librosa for the STFT. The issue I ...
Rocket's user avatar
  • 25
0 votes
0 answers
48 views

What should be a sensible range for the various librosa parameters to extract features from a very high sample rate (2MHz) audio signal?

I am trying to implement a deep learning classification solution for (1 second long) audio signals recorded at a very high sample rate, i.e. 2 MHz. All the material and tutorials that I could find ...
phydev's user avatar
  • 1
3 votes
3 answers
3k views

Difference between librosa.stft and scipy.signal.stft

I read the source code of librosa.stft and sicpy.signal.stft, and notice that the calculation results of STFT in these two libraries are quite different: In scipy.signal.stft, the stft result is ...
Xiong's user avatar
  • 41