Class Audio2InputForConvCnn
Use the following paths for the command line for the 'audio2sonogram' task.
audio2InputForConvCNN "Path to CSV file" @"C:\Work\GitHub\audio-analysis\AudioAnalysis\AnalysisConfigFiles\Mangalam.Sonogram.yml" "Output directory" true.
Inheritance
Audio2InputForConvCnn
Assembly: AnalysisPrograms.dll
public class Audio2InputForConvCnn
Fields
|
Improve this Doc
View Source
Declaration
public const string CommandName = "DrawConvCnnSpectrograms"
Field Value
Methods
|
Improve this Doc
View Source
Declaration
public static Audio2InputForConvCnn.AudioToSonogramResult AnalyseOneRecording(Audio2InputForConvCnn.CsvDataRecord dataRecord, Dictionary<string, string> configDict, DirectoryInfo opDir)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static Audio2InputForConvCnn.AudioToSonogramResult AnalyseOneRecording(FileInfo sourceRecording, Dictionary<string, string> configDict, TimeSpan localEventStart, TimeSpan localEventEnd, int minHz, int maxHz, DirectoryInfo outDirectory)
Parameters
Returns
|
Improve this Doc
View Source
This is the entrypoint for generating ConCNN spectrograms - one at a time.
Declaration
public static void Execute(Audio2InputForConvCnn.Arguments arguments)
Parameters
|
Improve this Doc
View Source
Declaration
public static Audio2InputForConvCnn.AudioToSonogramResult GenerateSpectrogramImages(FileInfo sourceRecording, Dictionary<string, string> configDict, DirectoryInfo outputDirectory)
Parameters
Returns
|
Improve this Doc
View Source
Main(Audio2InputForConvCnn.Arguments)
This method written 18-09-2014 to process Mangalam's CNN recordings.
Calculate the SNR statistics for each recording and then write info back to csv file.
Declaration
public static void Main(Audio2InputForConvCnn.Arguments arguments)
Parameters
|
Improve this Doc
View Source
This method was written 9th March 2015 to process a dataset of some 1000 x 5 second recordings.
The dataset was originally prepared by Meriem for use in her Master's thesis.
The data is being processed to produce grayscale spectrogram images for use by Mangalam.
She will classify them using a CNN.
Note: NO SNR statistics are calculated. All reocrdings must be in single level directory.
Declaration
public static void ProcessMeriemsDataset()
Extension Methods