-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Work on calculation of MFCCs Issue #492 Minor changes to ensure that Delta and DoubleDelta features are being calculated when set true in the config file. * Add more comments to clarify Issue #492 Add ing comments for clarity. Adding more mfcc parameters so user has more control over the calculations. Previously there were default values for some parameters. * Add pre-emphasis option to extraction of signal envelope and doing ffts. Issue #492 Fixing up the calculation of mfcc feature vectors required the incorporation of signal pre-emphasis as an option. This is supposed to be good for speech recognition. All these changes are just related to adding in the preemphasis boolean to the method DSP_Frames.ExtractEnvelopeAndFfts(). * More changes to do with pre-emphasis of an audio signal Issue #492 * Revise code for calculation of MFCC's Issue #492 * Update MatrixTools.cs Issue #492 This mfcc processing step was supposed to be helpful. However the ceptral features it produced were noisy, so did not incorporate but may be useful in some other context. * Minor changes Issue #492 * Update ConfigurationClasses.cs Issue #492 Add another constructor to MfccConfiguration class because the existing constructor uses discontinued dictionary. * Create a unit test class for MfccSpectrograms. Issue #492 Begin work on unit tests for some spectrogram classes. * Work on more tests for mel-scale and mfcc spectrograms. Issue #492 * Update SpectrogramCepstral.cs Issue #492 Small changes to comment and method name * Update MFCCStuff.cs Issue #492 1) Correct an error in the calculation of delta and double-delta coefficients. 2) Remove duplication of a tricky method that normalizes spectral values for window power and SR. 3) Fix up method comments. * Update MatrixTools.cs Issue #492 Add simple matrix method. Required after removing aforementioned method duplication. * Add more unit tests for calculation of mel freq and mfcc coefficients. * Update MFCCStuff.cs Issue #492 Remove obsolete code. * Update SpectrogramGenerator.Core.cs Issue #492 Ensure that the mel scale spectrogram parameters are passed to the drawing method. * Update MatrixTools.cs Issue #492 Make method accept double * Update MFCCStuff.cs Issue #492 Main change is to ensure that the epsilon value passed to GetLogEnergySpectrogram() is squared before being used. * Update SpectrogramMelScale.cs Issue #492 Main change is to remove spectrogram normalisation at line 79. So the Make method returns a spectrogram having decibel values. * Update SpectrogramCepstral.cs Issue #492 Change old line 88. When preparing a cepstrogram, the linear filter bank is not a valid option. Other changes are to comments. * Get all spectrogram tests working. Issue #492 Once all three tests were working as expected, had to rewrite three binary files in Test/Fixtures. * Fixed unit tests. Issue #792 Required an extra binary file to cover a previously added test involving pre-emphasis * Change test class Issue $492 Refactor the test class to accord with Anthony's requests. * Remove use of binary testing files Issue #492 remove use of binary files for testing matrix values. Also use the proper system for checking test images. * Remove binary files from fixtures Issue #492 These are no longer required for testing. Now used precalculated values. * Bring two config files up to date. Issue #492 Bring SpectrogramGenerator config file up to date with previous changes. * Edit test files Issue #492 Bring test files up to date with new requirements. No longer use pre-calculated binary files. Instead usea limited number of pre-calculated values. * Fix unit test Issue #492 THis error was due to different config values between config file and default constructor. * Removed unnecessary references to output directory Issue #492 Removed unnecessary references to output directory as requested by Anthony.
- Loading branch information
Showing
44 changed files
with
875 additions
and
644 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.