Class TowseySignalToImage
Mike Towsey's implementation.
Implements
Inherited Members
Namespace: AudioAnalysisTools
Assembly: AudioAnalysisTools.dll
Syntax
public class TowseySignalToImage : ISignalToImage
Methods
| Improve this Doc View SourceSpectrogram(Byte[])
Generate a Spectrogram.
Declaration
public Image<Rgb24> Spectrogram(byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | bytes | The bytes. |
Returns
Type | Description |
---|---|
SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> | Spectrogram image. |
Exceptions
Type | Condition |
---|---|
NotSupportedException |
|
Waveform(Byte[], Int32, Int32)
Generate a Waveform.
Declaration
public Image<Rgb24> Waveform(byte[] bytes, int width, int height)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | bytes | The bytes. |
Int32 | width | The width. |
Int32 | height | The height. |
Returns
Type | Description |
---|---|
SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> | Waveform image. |