Class IndexDisplay
Assembly: AudioAnalysisTools.dll
public static class IndexDisplay
Fields
|
Improve this Doc
View Source
Declaration
public const int DefaultTrackHeight = 20
Field Value
|
Improve this Doc
View Source
Declaration
public static TimeSpan TimeScale
Field Value
|
Improve this Doc
View Source
Declaration
public const int TrackEndPanelWidth = 250
Field Value
Methods
|
Improve this Doc
View Source
Declaration
public static Image<Rgb24> DrawHighAmplitudeClippingTrack(SummaryIndexBase[] summaryIndices)
Parameters
Returns
Type |
Description |
SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> |
|
|
Improve this Doc
View Source
Reads csv file containing summary indices and converts them to a tracks image.
Declaration
public static Image<Rgb24> DrawHighAmplitudeClippingTrack(double[] array1, double[] array2)
Parameters
Returns
Type |
Description |
SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> |
a bitmap image.
|
|
Improve this Doc
View Source
Reads csv file containing summary indices and converts them to a tracks image.
Declaration
public static Image<Rgb24> DrawHighAmplitudeClippingTrack(FileInfo csvFile)
Parameters
Returns
Type |
Description |
SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> |
an image of two clipping tracks.
|
|
Improve this Doc
View Source
Uses a dictionary of index properties to draw an image of summary index tracks.
Declaration
public static Image<Rgb24> DrawImageOfSummaryIndexTracks(FileInfo csvFile, FileInfo indexPropertiesConfig, string title, TimeSpan indexCalculationDuration, DateTimeOffset? recordingStartDate)
Parameters
Type |
Name |
Description |
FileInfo |
csvFile |
file containing the summary indices.
|
FileInfo |
indexPropertiesConfig |
indexPropertiesConfig.
|
String |
title |
image title.
|
TimeSpan |
indexCalculationDuration |
The index Calculation Duration.
|
Nullable<DateTimeOffset> |
recordingStartDate |
The recording Start Date.
|
Returns
Type |
Description |
SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> |
|
|
Improve this Doc
View Source
Converts summary indices to a tracks image, one track for each index.
Declaration
public static Image<Rgb24> DrawImageOfSummaryIndices(Dictionary<string, IndexProperties> listOfIndexProperties, Dictionary<string, double[]> dictionaryOfSummaryIndices, string titleText, TimeSpan indexCalculationDuration, DateTimeOffset? recordingStartDate, List<GapsAndJoins> errors = null, bool verbose = true)
Parameters
Returns
Type |
Description |
SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> |
|
|
Improve this Doc
View Source
Reads csv file containing summary indices and converts them to a tracks image.
Declaration
public static Image<Rgb24> DrawImageOfSummaryIndices(Dictionary<string, IndexProperties> listOfIndexProperties, FileInfo csvFile, string titleText, TimeSpan indexCalculationDuration, DateTimeOffset? recordingStartDate)
Parameters
Returns
Type |
Description |
SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> |
|