Last active
April 26, 2020 15:45
-
-
Save pragatibaheti/0d1744317788b9bb95339ceb3864b86d to your computer and use it in GitHub Desktop.
This file contains 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
y, sr = librosa.load(librosa.util.example_audio_file()) | |
# Approximate maximum frequencies with roll_percent=0.85 (default) | |
rolloff = librosa.feature.spectral_rolloff(y=y, sr=sr) | |
# Approximate minimum frequencies with roll_percent=0.1 | |
rolloff = librosa.feature.spectral_rolloff(y=y, sr=sr, roll_percent=0.1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment