Last active
February 14, 2021 02:51
-
-
Save ketanhdoshi/d947c8c1af73f46a30bc0172e67b58ff to your computer and use it in GitHub Desktop.
Mel Scale
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
# use the mel-scale instead of raw frequency | |
sgram_mag, _ = librosa.magphase(sgram) | |
mel_scale_sgram = librosa.feature.melspectrogram(S=sgram_mag, sr=sample_rate) | |
librosa.display.specshow(mel_scale_sgram) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment