Class CustomSpectrogramUtility
Signal to Image used by web site.
Implements
Inherited Members
Namespace: Acoustics.Tools.Audio
Assembly: Acoustics.Tools.dll
Syntax
public class CustomSpectrogramUtility : AbstractSpectrogramUtility, ISpectrogramUtility
Constructors
| Improve this Doc View SourceCustomSpectrogramUtility(IAudioUtility)
Initializes a new instance of the Custom
Declaration
public CustomSpectrogramUtility(IAudioUtility audioUtility)
Parameters
Type | Name | Description |
---|---|---|
IAudio |
audioUtility | The audio utility. |
CustomSpectrogramUtility(IAudioUtility, DirectoryInfo)
Initializes a new instance of the Custom
Declaration
public CustomSpectrogramUtility(IAudioUtility audioUtility, DirectoryInfo temporaryFilesDirectory)
Parameters
Type | Name | Description |
---|---|---|
IAudio |
audioUtility | The audio utility. |
Directory |
temporaryFilesDirectory |
Methods
| Improve this Doc View SourceCreate(FileInfo, String, FileInfo, String, SpectrogramRequest)
Create a spectrogram from a segment of the source
audio file.
output
image file will be created.
Declaration
public void Create(FileInfo source, string sourceMimeType, FileInfo output, string outputMimeType, SpectrogramRequest request)
Parameters
Type | Name | Description |
---|---|---|
File |
source | The source audio file. |
String | sourceMimeType | The source Mime Type. |
File |
output | The output image file. Ensure the file does not exist. |
String | outputMimeType | The output Mime Type. |
Spectrogram |
request | The spectrogram request. |