Spectrogram 1.3.0
Published on NuGet on 2021-01-03
Release Notes
Spectrogram.Spectrogram
has been renamed toSpectrogram.SpectrogramGenerator
to avoid conflicts with theSpectrogram
namespace whenusing Spectrogram
(#30)GetBitmap()
,GetBitmapMel()
, andSaveImage()
have a new optionaldBScale
argument which is a value (defaults to 1) each intensity gets multiplied by prior to taking its log whendB
istrue
. This change pushes the optionalroll
argument 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.WavFile
has 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