Last active
October 16, 2019 23:48
-
-
Save dmastropole/d9a40a2e4ce629256606ad4a3f4705ba to your computer and use it in GitHub Desktop.
Log of Mel Band Powers
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
from essentia.standard import UnaryOperator | |
# Convert to decibels | |
log10 = UnaryOperator(type='log10') | |
log_mels = log10(mels) | |
# Plot the mel band powers | |
plt.bar(np.arange(len(log_mels)), log_mels, align='center') | |
plt.title('Log of the Mel Band Powers') | |
plt.xlabel('Mel Bands') | |
plt.ylabel('Log of Power') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment