Created
November 19, 2017 21:38
-
-
Save fedden/213201d5d64dc8b6cff38c5aba5611bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import librosa | |
| directory = './path/to/my/audio/folder/' | |
| for file in os.listdir(directory): | |
| if file.endswith('.wav'): | |
| file_path = os.path.join(directory, file) | |
| audio_data, _ = librosa.load(file_path) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment