Skip to content

Commit

Permalink
fix in eqloudness input
Browse files Browse the repository at this point in the history
  • Loading branch information
genisplaja committed Nov 28, 2024
1 parent d2e65ef commit 16fb6c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiam/melody/pitch_extraction/melodia.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def extract(self, input_data, input_sr=44100, out_step=None):
inputSampleRate=input_sr, outputSampleRate=self.sample_rate
)
input_data = resample_audio(input_data)
audio = estd.EqualLoudness(signal=input_data)()
audio = estd.EqualLoudness(sampleRate=self.sample_rate)(audio)
else:
raise ValueError("Input must be path to audio signal or an audio array")

Expand Down

0 comments on commit 16fb6c3

Please sign in to comment.