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)
librosa
as mentioned in this paper, pulls audio file as one dimensionalnumpy array
.from the documentation:
From the code:
librosa
makes use of The array elements ofy
and sampling rate for its calculations and representation.You may need to elaborate as to "load directly an audio file with
librosa
in dB" and it's intended purpose.