Skip to content

Replace sf.read with librosa.load to load correct sr based on config …#24

Open
mrbraden56 wants to merge 1 commit intomicrosoft:masterfrom
mrbraden56:fix-sr
Open

Replace sf.read with librosa.load to load correct sr based on config …#24
mrbraden56 wants to merge 1 commit intomicrosoft:masterfrom
mrbraden56:fix-sr

Conversation

@mrbraden56
Copy link

audiolib.py line 18 used sf.read() which ignored the specified sr rate the user wanted in the config. I replaced sf.read() with librosa.load(sr = config['sr']) so that the audio file is loaded with the user specified sr.

@ghost
Copy link

ghost commented Jun 25, 2022

CLA assistant check
All CLA requirements met.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant