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