Last active
October 17, 2019 18:42
-
-
Save dmastropole/7553212007950bae029a5d2c3072ee93 to your computer and use it in GitHub Desktop.
DCT
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
# Perform a DCT | |
from essentia.standard import DCT | |
dct = DCT(inputSize=n_bands, outputSize=13) | |
mfccs = dct(log_mels) | |
plt.bar(np.arange(len(mfccs)), mfccs, align='center') | |
plt.title('Mel-Frequency Cepstrum') | |
plt.xlabel('Cosines') | |
plt.ylabel('Coefficients') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment