Is there a way to directly load an audio file with librosa in dB instead of amplitude as obtained by:
y, sr = librosa.load(filename, sr=None)
Is there a way to directly load an audio file with librosa in dB instead of amplitude as obtained by:
y, sr = librosa.load(filename, sr=None)
librosaas mentioned in this paper, pulls audio file as one dimensionalnumpy array.from the documentation:
From the code:
librosamakes use of The array elements ofyand sampling rate for its calculations and representation.You may need to elaborate as to "load directly an audio file with
librosain dB" and it's intended purpose.