Spectrogram 1.3.0
Published on NuGet on 2021-01-03
Release Notes
Spectrogram.Spectrogramhas been renamed toSpectrogram.SpectrogramGeneratorto avoid conflicts with theSpectrogramnamespace whenusing Spectrogram(#30)GetBitmap(),GetBitmapMel(), andSaveImage()have a new optionaldBScaleargument which is a value (defaults to 1) each intensity gets multiplied by prior to taking its log whendBistrue. This change pushes the optionalrollargument back in the list.- See SpectrogramGenerator.cs#L142-L143 for the new function signature.
- See Image.cs#L49-L50 for the new log transform step
Spectrogram.WavFilehas been deprecated. This static class previously held methods to read WAV files but many files were not supported because WAV file headers are highly variable (and not all WAV files adhere to a standard format, #21, #12). Users are encouraged to implement their own audio file readers. The quickstart examples have been updated to use a WAV file reader provided by NAudio.- Example WAV file reader: AudioFile.cs#L10-L22
- Example MP3 file reader: AudioFile.cs#L24-L38
- WavFile original source code: WavFile.cs