• Introduction
  • Theory
  • Guides
  • Tutorials
  • FAQ
  • Articles
  • Documentation
  • PDF
Search Results for

    Show / Hide Table of Contents
    • Changelog
    • Contributing
    • Code paths
    • Debugging
    • Code of conduct
    • Commands
      • Help
      • Analyze Long Recording
      • False Colour Spectrograms
      • Concatenate Index Files
    • Config files
      • GenericRecognizerConfig
      • CommonParameters
      • OscillationParameters
      • HarmonicParameters
      • PostProcessingConfig
      • AnalyzerConfig
    • API
      • Acoustics.Shared
        • AnalysisIo
        • AnalysisIoInputDirectory
        • AppConfigHelper
        • Base58
        • Binary
        • ByteCountFormatter
        • DateTimeFormatter
        • FileDateHelpers
        • FilenameHelpers
        • ImageChrome
        • Interval<T>
        • IntervalExtensions
        • InvalidDataSetException
        • InvalidFileDateException
        • IOrderer<TOrder>
        • Json
        • Json.IntervalConverter
        • Json.LegacyTimeSpanDataConverter
        • MediaTypeExtGroup
        • MediaTypeGroup
        • MediaTypes
        • Meta
        • MultiException
        • NonClosingStreamWrapper
        • OrderCoordinator<T>
        • Orderer<TOrder, TOrderProperty>
        • PathDiagnostics
        • PathDiagnostics.PathDiffReport
        • PathUtils
        • Plugins
        • ProcessRunner
        • ProcessRunner.ProcessMaximumRetriesException
        • SortDirection
        • SpectrogramType
        • SunTimes
        • SunTimes.Coords
        • SunTimes.LatitudeCoords
        • SunTimes.LatitudeCoords.Direction
        • SunTimes.LongitudeCoords
        • SunTimes.LongitudeCoords.Direction
        • TempFileHelper
        • TimeSpanFormatter
        • Topology
        • TwoDimensionalArray
        • Validation
        • ValidationExtensions
        • Yaml
        • YamlTypeTagAttribute
      • Acoustics.Shared.ColorScales
        • ColorBrewer
        • ColorBrewer.DivergingPalettes
        • ColorBrewer.QualitativePalettes
        • ColorBrewer.SequentialMultipleHuesPalettes
        • ColorBrewer.SequentialSingleHuePalettes
        • Palette
        • Type
      • Acoustics.Shared.ConfigFile
        • Config
        • ConfigFile
        • ConfigFileException
        • ConfigFileExtensions
        • ConfigSerializeContractResolver
        • IConfig
        • INamedProfiles<T>
        • IProfiles<T>
      • Acoustics.Shared.Contracts
        • Contract
      • Acoustics.Shared.Csv
        • Csv
        • CsvIntervalConverter
        • CsvSetPointConverter
        • TopologyEnumConverter
      • Acoustics.Shared.Extensions
        • CartesianExtension
        • RandomExtensions
      • Acoustics.Shared.ImageSharp
        • DeltaImageProcessor<TPixelBg, TPixelFg>
        • DeltaImageProcessor<TPixelFg>
        • DeltaPixelBlender<TPixel>
        • Drawing
        • Drawing.NoAA
        • IInterval2<TX, TY>
        • RotateFlipType
      • Acoustics.Shared.Logging
        • Log4NetTextWriter
        • Log4NetTextWriter.Mode
        • Logging
      • Acoustics.Tools
        • AudioFilePreparer
        • AudioReadingRequest
        • AudioUtilityInfo
        • AudioUtilityModifiedInfo
        • AudioUtilityRequest
        • BandPassType
        • SpectrogramRequest
      • Acoustics.Tools.Audio
        • AbstractAudioUtility
        • AbstractSpectrogramUtility
        • AbstractUtility
        • AudioFormatNotSupportedException
        • AudioUtilityException
        • BitDepthOperationNotImplemented
        • ChannelNotAvailableException
        • ChannelSelectionOperationNotImplemented
        • CustomSpectrogramUtility
        • FfmpegAudioUtility
        • FfmpegRawPcmAudioUtility
        • IAudioUtility
        • ISpectrogramUtility
        • MasterAudioUtility
        • Mp3SpltAudioUtility
        • Mp3SpltAudioUtility.SplitFileInfo
        • ShntoolAudioUtility
        • SoxAudioUtility
        • SoxAudioUtility.SoxResampleQuality
        • SoxSpectrogramUtility
        • WavPackAudioUtility
      • Acoustics.Tools.Wav
        • IWavReader
        • WavAudioInfo
        • WavChunk
        • WavReader
        • WavReader.WaveFormat
        • WavStreamReader
        • WavUtils
      • AcousticWorkbench
        • AcousticEventService
        • AcousticWorkbenchResponse<T>
        • Api
        • AudioRecordingService
        • AuthenticatedApi
        • AuthenticationService
        • AuthenticationService.EmailLoginRequest
        • AuthenticationService.LoginRequest
        • AuthenticationService.LoginResponse
        • Error
        • IApi
        • IAuthenticatedApi
        • MediaService
        • Meta
        • Service
        • Service.HttpResponseException
        • UrlGenerator
      • AcousticWorkbench.Models
        • AudioEvent
        • AudioRecording
        • Available
        • CommonParameters
        • FormatInfo
        • ImageFormatInfo
        • Media
        • Recording
        • Tagging
      • AForge.Imaging.Filters
        • BaseUsingCopyPartialFilter
        • CannyEdgeDetector
      • AnalysisBase
        • AbstractStrongAnalyser
        • AnalysisCoordinator
        • AnalysisResult
        • AnalysisResult2
        • AnalysisSettings
        • AnalyzerConfig
        • AudioRecordingTooShortException
        • Author
        • Bibliography
        • Citation
        • FileSegment
        • FileSegment.FileDateBehavior
        • IAnalyser2
        • ICiteable
        • IHasStatus
        • ISourcePreparer
        • SaveBehavior
        • SaveBehaviorExtensions
        • SegmentSettings<TSegment>
        • SegmentSettingsBase
        • SegmentSplitException
        • Status
        • TimeAlignment
      • AnalysisBase.Extensions
        • ModifiedInfoExtensions
      • AnalysisBase.ResultBases
        • EventBase
        • EventIndex
        • ITemporalEvent
        • ResultBase
        • SpectralIndexBase
        • SummaryIndexBase
      • AnalysisBase.Segment
        • InvalidSegmentException
        • ISegment<TSource>
        • SourceMetadata
      • AnalysisPrograms
        • AcousticIndices
        • AcousticIndices.AcousticIndicesConfig
        • Aed
        • Aed.AedConfiguration
        • Aed.Arguments
        • AnalysesAvailable
        • Audio2InputForConvCnn
        • Audio2InputForConvCnn.Arguments
        • Audio2InputForConvCnn.AudioToSonogramResult
        • Audio2InputForConvCnn.CsvDataRecord
        • Audio2InputForConvCnn.SpeciesCounts
        • AudioCutter
        • AudioCutter.Arguments
        • AudioFileCheck
        • AudioFileCheck.Arguments
        • BuildMetadata
        • ChannelIntegrityAnalyzer
        • CheckEnvironment
        • CheckEnvironment.Arguments
        • ConcatenateIndexFiles
        • ConcatenateIndexFiles.Arguments
        • Create4Sonograms
        • Create4Sonograms.Arguments
        • Crow
        • DifferenceSpectrogram
        • DifferenceSpectrogram.Arguments
        • DrawEasyImage
        • DrawEasyImage.Arguments
        • DrawLongDurationSpectrograms
        • DrawLongDurationSpectrograms.Arguments
        • DrawSummaryIndexTracks
        • DrawSummaryIndexTracks.Arguments
        • DummyAnalysis
        • DummyAnalysis.Arguments
        • EPR
        • EPR.Arguments
        • FileRenamer
        • FileRenamer.Arguments
        • GroundParrotRecogniser
        • GroundParrotRecogniser.Arguments
        • Human1
        • KoalaMale
        • KoalaMale.KoalaMaleResults
        • LSKiwi3
        • LSKiwi3.Arguments
        • LSKiwiHelper
        • LSKiwiROC
        • LSKiwiROC.Arguments
        • MahnooshSandpit
        • MahnooshSandpit.Arguments
        • MainEntry
        • OscillationRecogniser
        • OscillationRecogniser.Arguments
        • OscillationsGeneric
        • OscillationsGeneric.Arguments
        • PlanesTrainsAndAutomobiles
        • PreprocessorForConvDnn
        • PreprocessorForSurfAnalysis
        • RheobatrachusSilus
        • Sandpit
        • Sandpit.Arguments
        • Segment
        • Segment.Arguments
        • SnrAnalysis
        • SnrAnalysis.Arguments
        • SpeciesAccumulationCurve
        • SpeciesAccumulationCurve.Arguments
        • SpeciesAccumulationStats
        • SPT
        • SPT.Arguments
        • SurfAnalysis
        • SurfAnalysis.Arguments
        • SurfAnalysis.AudioToSonogramResult
        • SurfAnalysis.CsvDataRecord
        • SurfAnalysis.SpeciesCounts
      • AnalysisPrograms.AcousticWorkbench.Orchestration
        • EventMetadataResolver
        • RemoteSegment
        • RemoteSegmentWithData
      • AnalysisPrograms.AnalyseLongRecordings
        • AnalyseLongRecording
        • AnalyseLongRecording.Arguments
      • AnalysisPrograms.ContentDescription
        • BuildModel
        • BuildModel.Arguments
        • UseModel
        • UseModel.CdConfig
      • AnalysisPrograms.Draw.RibbonPlots
        • RibbonPlot
        • RibbonPlot.Arguments
      • AnalysisPrograms.Draw.Zooming
        • DrawZoomingSpectrograms
        • DrawZoomingSpectrograms.Arguments
        • DrawZoomingSpectrograms.Arguments.ZoomActionType
      • AnalysisPrograms.EventStatistics
        • EventStatisticsAnalysis
        • EventStatisticsEntry
        • EventStatisticsEntry.Arguments
        • ImportedEvent
        • ImportedEvent.ImportedEventNameClassMap
      • AnalysisPrograms.Production
        • AnalysisOptionDevilException
        • CommandLineApplicationExtensions
        • CommandLineArgumentException
        • CustomHelpTextGenerator
        • ExceptionLookup
        • ExceptionLookup.ExceptionStyle
        • FileSystemProvider
        • FileSystemProvider.Options
        • InvalidAudioChannelException
        • InvalidDurationException
        • InvalidStartOrEndException
        • MissingDataException
        • NoDeveloperMethodException
        • PhysicalConsoleLogger
      • AnalysisPrograms.Production.Arguments
        • AnalyserArguments
        • DebugOptions
        • HelpArgs
        • ListArgs
        • LogVerbosity
        • MainArgs
        • SourceAndConfigArguments
        • SourceArguments
        • SourceConfigOutputDirArguments
        • SubCommandBase
      • AnalysisPrograms.Production.Parsers
        • DateTimeOffsetParser
        • DirectoryInfoParser
        • FileInfoParser
        • TimeSpanParser
      • AnalysisPrograms.Production.Validation
        • DirectoryExistsOrCreateAttribute
        • ExistingFileAttribute
        • InRangeAttribute
        • NotExistingFileAttribute
        • OneOfThese
      • AnalysisPrograms.Recognizers
        • GenericRecognizer
        • GenericRecognizer.GenericRecognizerConfig
        • NinoxStrenua
        • NinoxStrenua.NinoxStrenuaConfig
        • PetaurusAustralis
        • PetaurusAustralis.PetaurusAustralisConfig
        • PetaurusBreviceps
        • PetaurusBreviceps.PetaurusBrevicepsConfig
        • PetaurusNorfolcensis
        • PetaurusNorfolcensis.PetaurusNorfolcensisConfig
      • AnalysisPrograms.Recognizers.Base
        • BlobParameters
        • CommonParameters
        • DctParameters
        • ForwardTrackParameters
        • HarmonicParameters
        • IEventRecognizer
        • MinAndMaxBandwidthParameters
        • MultiRecognizer
        • MultiRecognizer.MultiRecognizerConfig
        • OnebinTrackParameters
        • OneframeTrackParameters
        • OscillationParameters
        • RecognizerBase
        • RecognizerBase.RecognizerConfig
        • RecognizerEntry
        • RecognizerEntry.Arguments
        • RecognizerResults
        • UpwardTrackParameters
      • AnalysisPrograms.Recognizers.Birds
        • ArdeaInsignis
        • AtrichornisRufescens
        • AtrichornisRufescens.AtrichornisRufescensConfig
        • CalyptorhynchusLathami
        • CalyptorhynchusLathami.CalyptorhynchusLathamiConfig
        • ClimacterisPicumnus
        • ClimacterisPicumnus.ClimacterisPicumnusConfig
        • LewiniaPectoralis
        • LewinsRailConfig
        • ManorinaMelanophrys
        • ManorinaMelanophrys.ManorinaMelanophrysConfig
        • NinoxConnivens
        • NinoxConnivens.NinoxConnivensConfig
        • TytoNovaehollandiae
        • TytoNovaehollandiae.TytoNovaehollandiaeConfig
        • TytoTenebricosa
        • TytoTenebricosa.TytoTenebricosaConfig
      • AnalysisPrograms.Recognizers.Frogs
        • LitoriaBicolor
        • LitoriaBicolorConfig
        • LitoriaCaerulea
        • LitoriaRothii
        • LitoriaRubella
      • AnalysisPrograms.SourcePreparers
        • LocalSourcePreparer
        • RemoteSourcePreparer
        • RemoteSourcePreparerException
      • AnalysisPrograms.SpectralPeakTracking
        • SpectralPeakTrackingConfig
        • SpectralPeakTrackingEntry
        • SpectralPeakTrackingEntry.Arguments
      • AnalysisPrograms.SpectrogramGenerator
        • Audio2Sonogram
        • Audio2Sonogram.Arguments
        • AudioToSonogramResult
        • SpectrogramGenerator
        • SpectrogramGeneratorConfig
        • SpectrogramImageType
      • AnalysisPrograms.StandardizedFeatures
        • StandardizedFeatureExtraction
        • StandardizedFeatureExtractionConfig
        • StandardizedFeatureExtractionConfig.BandsProperties
        • StandardizedFeatureExtractionConfig.Bandwidth
      • AudioAnalysisTools
        • AcousticComplexityIndex
        • AcousticEntropy
        • AcousticEvent
        • AcousticEvent.AcousticEventClassMap
        • ActivityAndCover
        • AnalysisKeys
        • BirdClefExperiment1
        • BirdClefExperiment1.Arguments
        • BirdClefExperiment1.Output
        • BlobEvent
        • ChannelIntegrity
        • ChannelIntegrity.Arguments
        • ChannelIntegrityIndices
        • ChirpEvent
        • ClickEvent
        • ClusterInfo
        • ConfigKeys
        • ConfigKeys.EndpointDetection
        • ConfigKeys.ImageSave
        • ConfigKeys.Mfcc
        • ConfigKeys.Recording
        • ConfigKeys.Sonogram
        • ConfigKeys.SonogramTypes
        • ConfigKeys.Windowing
        • CrossCorrelation
        • EndpointDetectionConfiguration
        • FindMatchingEvents
        • FrommoltProject
        • HarmonicAnalysis
        • HarmonicEvent
        • IPointData
        • ISignalToImage
        • ISpectralPoint
        • ITracks<T>
        • MfccConfiguration
        • OscillationEvent
        • Oscillations2010
        • Oscillations2012
        • Oscillations2014
        • Oscillations2014.FreqVsOscillationsResult
        • Oscillations2019
        • PointOfInterest
        • ResultsTools
        • RidgeDetection
        • RidgeDetection.RidgeDetectionConfiguration
        • SiteDescription
        • SpectralActivity
        • SpectralCentroid
        • SpectralClustering
        • SpectralClustering.ClusteringParameters
        • SpectralClustering.TrainingDataInfo
        • SpectralPeakTracking2018
        • SpectralPeakTracking2018.Output
        • SpectralPeakTrackingSettings
        • SpectralPeakTracks
        • SprTools
        • SummaryActivity
        • SunAndMoon
        • SunAndMoon.SunMoonTides
        • SURFFeatures
        • TemporalEvent
        • TowseySignalToImage
        • UnitConverters
        • WebSignalToImage
        • WhipEvent
        • WhistleEvent
      • AudioAnalysisTools.ContentDescriptionTools
        • ContentAlgorithms
        • ContentSignatures
        • ContentVisualization
        • DataProcessing
        • DescriptionResult
        • EditStatus
        • FunctionalTemplate
        • SourceAudioProvenance
        • TemplateCollection
        • TemplateManifest
      • AudioAnalysisTools.DSP
        • Clipping
        • DSP_Frames
        • DSP_Frames.EnvelopeAndFft
        • DSP_IIRFilter
        • DspFilters
        • FeatureExtraction
        • FeatureLearning
        • FeatureLearningSettings
        • FFT2D
        • FreqScaleType
        • FrequencyScale
        • KmeansClustering
        • KmeansClustering.Output
        • LocalContrastNormalisation
        • MFCCStuff
        • NoiseProfile
        • NoiseReductionType
        • NoiseRemoval_Briggs
        • NoiseRemovalModal
        • OctaveFreqScale
        • PatchSampling
        • PatchSampling.SamplingMethod
        • PcaWhitening
        • PcaWhitening.Output
        • PowerSpectralDensity
        • SNR
        • SNR.BackgroundNoise
        • SNR.SnrStatistics
        • WaveType
        • WavInfo
        • WavWriter
      • AudioAnalysisTools.Events
        • EventCommon
        • EventExtentions
        • EventFilters
        • InstantEvent
        • SpectralEvent
        • SpectralPoint
      • AudioAnalysisTools.Events.Drawing
        • EventDrawer
        • EventRenderingOptions
        • IDrawableEvent
      • AudioAnalysisTools.Events.Interfaces
        • IInstantEvent
        • ISpectralBand
        • ISpectralEvent
        • ITrack
      • AudioAnalysisTools.Events.Tracks
        • Track
        • TrackType
      • AudioAnalysisTools.Events.Types
        • ChatterEvent
        • CompositeEvent
        • EventConverters
        • EventPostProcessing
        • EventPostProcessing.BandwidthConfig
        • EventPostProcessing.DurationConfig
        • EventPostProcessing.PostProcessingConfig
        • EventPostProcessing.SidebandConfig
        • EventPostProcessing.SyllableSequenceConfig
        • EventPostProcessing.SyllableStackConfig
      • AudioAnalysisTools.EventStatistics
        • EventStatistics
        • EventStatistics.EventStatisticsClassMap
        • EventStatisticsCalculate
        • EventStatisticsConfiguration
      • AudioAnalysisTools.Indices
        • AnalyzerConfigIndexProperties
        • ConcatMode
        • GapsAndJoins
        • IIndexPropertyReferenceConfiguration
        • IndexCalculate
        • IndexCalculateConfig
        • IndexCalculateResult
        • IndexCalculateSixOnly
        • IndexDisplay
        • IndexDistributions
        • IndexDistributions.SpectralStats
        • IndexGenerationData
        • IndexMatrices
        • IndexProperties
        • IndexPropertiesCollection
        • InitialiseIndexProperties
        • RainIndices
        • RainIndices.RainStruct
        • SpectralIndexValues
        • SpectralIndexValuesForContentDescription
        • SpectralIndicesToAndFromTable
        • SpectralIndicesToAndFromTable.Arguments
        • SummaryIndexValues
      • AudioAnalysisTools.LongDurationSpectrograms
        • LdSpectrogram3D
        • LdSpectrogram3D.Arguments
        • LDSpectrogramClusters
        • LdSpectrogramConfig
        • LdSpectrogramDifference
        • LDSpectrogramDiscreteColour
        • LDSpectrogramDistance
        • LDSpectrogramRGB
        • LdSpectrogramRibbons
        • LdSpectrogramStitching
        • LdSpectrogramTStatistic
        • SpectrogramConstants
        • SpectrogramType
        • TimeOffsetSingleLayerSuperTile
        • ZoomFocusedSpectrograms
      • AudioAnalysisTools.LongDurationSpectrograms.Zooming
        • InvalidScaleException
        • SpectrogramZoomingConfig
        • ZoomCommon
        • ZoomParameters
        • ZoomTiledSpectrograms
      • AudioAnalysisTools.Scales
        • LinearScale
      • AudioAnalysisTools.StandardSpectrograms
        • AmplitudeSonogram
        • AmplitudeSpectrogram
        • BaseSonogram
        • DecibelSpectrogram
        • EnergySpectrogram
        • Image_MultiTrack
        • ImageTrack
        • SonogramConfig
        • SpectrogramAttributes
        • SpectrogramCepstral
        • SpectrogramMelScale
        • SpectrogramOctaveScale
        • SpectrogramSettings
        • SpectrogramSobelEdge
        • SpectrogramStandard
        • SpectrogramTools
        • TrackType
      • AudioAnalysisTools.TileImage
        • AbsoluteDateTilingProfile
        • DefaultSuperTile
        • DuplicateTileException
        • ImageComponent
        • ISuperTile
        • Layer
        • PanoJsTilingProfile
        • TileBias
        • Tiler
        • TilingProfile
      • AudioAnalysisTools.Tracks
        • ForwardTrackAlgorithm
        • OnebinTrackAlgorithm
        • OneframeTrackAlgorithm
        • UpwardTrackAlgorithm
      • AudioAnalysisTools.WavTools
        • AudioRecording
        • RecordingFetcher
        • TowseyWavReader
        • WavChooser
      • Be.Timvw.Framework.Collections.Generic
        • PropertyComparer<T>
      • BTR.Core.Linq
        • ExpressionExtensions
        • ExpressionVisitor
        • ExpressionVisitor<T>
      • log4net
        • LogExtensions
      • NeuralNets
        • ART
        • ART_2A
        • BinaryCluster
        • Cluster
        • FuzzyART
        • VQ
      • QutSensors.Shared
        • StatDescriptive
        • StatDescriptiveResult
      • SixLabors.ImageSharp
        • ImageSharpExtensions
      • System
        • ArrayExtensions
        • DateTimeAndTimeSpanExtensions
        • DateTimeAndTimeSpanExtensions.RoundingDirection
        • DoubleExtensions
        • DoubleSquareArrayExtensions
        • DoubleSquareArrayExtensions.MergingDirection
        • EnumerableExtensions
        • EnumExtensions
        • ExceptionsExtensions
        • ExtensionsString
        • FileInfoExtensions
        • FileInfoNameComparer
        • LoggedConsole
        • MathExtensions
        • NoConsole
        • ObjectExtensions
        • ProcessExtensions
        • ProcessExtensions.ParentProcessUtilities
        • ReflectionExtensions
        • SystemExtensions
        • TupleExtensions
      • System.Collections.Generic
        • DictionaryExtensions
      • System.Drawing
        • RectangleExtensions
      • System.IO
        • ExtensionsIO
      • System.Threading.Tasks
        • TaskExtensions
      • System.Xml.Linq
        • ExtensionsXml
      • TowseyLibrary
        • AutoAndCrossCorrelation
        • ColorCubeHelix
        • ColorCubeHelix.HslColor
        • ConfigDict
        • ConfigDictionary
        • ConfigurationExtensions
        • CsvTools
        • CubeHelix
        • DataTableTools
        • DataTools
        • DictionaryTools
        • Distribution
        • FFT
        • FFT.WindowFunc
        • FileTools
        • FunctionalTests
        • GaussianTools
        • GraphsAndCharts
        • Gratings
        • Histogram
        • ImageTools
        • Kernal
        • LLR
        • Log
        • Matrix3D
        • MatrixTools
        • NormalDist
        • Oblong
        • Oblong.OblongClassMap
        • OtsuThresholder
        • OtsuThresholder.Arguments
        • Plot
        • PolarCoordinates
        • PulseTrain
        • RandomNumber
        • RandomVariable
        • Spectrum
        • Statistics
        • StructureTensor
        • StructureTensor.RidgeTensorResult
        • StructureTensor.StructureTensorResult
        • SvdAndPca
        • TemporalMatrix
        • TernaryPlots
        • TestTools
        • TextUtilities
        • WaveletPacketDecomposition
        • WaveletPacketDecomposition.BinVector
        • WaveletTransformContinuous
        • WindowFunctions

    Class BaseSonogram

    Base Sonogram.

    Inheritance
    Object
    BaseSonogram
    AmplitudeSonogram
    SpectrogramCepstral
    SpectrogramMelScale
    SpectrogramOctaveScale
    SpectrogramSobelEdge
    SpectrogramStandard
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: AudioAnalysisTools.StandardSpectrograms
    Assembly: AudioAnalysisTools.dll
    Syntax
    public abstract class BaseSonogram

    Constructors

    | Improve this Doc View Source

    BaseSonogram(SonogramConfig)

    Initializes a new instance of the BaseSonogram class. BASE CONSTRUCTOR: Use this when want to extract time segment of existing sonogram.

    Declaration
    public BaseSonogram(SonogramConfig config)
    Parameters
    Type Name Description
    SonogramConfig config

    config file to use.

    | Improve this Doc View Source

    BaseSonogram(SonogramConfig, WavReader)

    Initializes a new instance of the BaseSonogram class. BASE CONSTRUCTOR.

    Declaration
    public BaseSonogram(SonogramConfig config, WavReader wav)
    Parameters
    Type Name Description
    SonogramConfig config

    config file to use.

    WavReader wav

    wav.

    | Improve this Doc View Source

    BaseSonogram(SonogramConfig, FrequencyScale, WavReader)

    Initializes a new instance of the BaseSonogram class. BASE CONSTRUCTOR.

    Declaration
    public BaseSonogram(SonogramConfig config, FrequencyScale freqScale, WavReader wav)
    Parameters
    Type Name Description
    SonogramConfig config

    config file to use.

    FrequencyScale freqScale
    WavReader wav

    wav.

    | Improve this Doc View Source

    BaseSonogram(SonogramConfig, Double[,])

    Initializes a new instance of the BaseSonogram class. Use this BASE CONSTRUCTOR when already have the amplitude spectrogram in matrix. Init normalised signal energy array but do nothing with it. This has to be done from outside.

    Declaration
    public BaseSonogram(SonogramConfig config, double[, ] amplitudeSpectrogramData)
    Parameters
    Type Name Description
    SonogramConfig config

    the spectrogram config.

    Double[,] amplitudeSpectrogramData

    data of an amplitude Spectrogram.

    Properties

    | Improve this Doc View Source

    Configuration

    Gets or sets the config information. The Configuration object should contain all the parameters required to construct an amplitude spectrogram given a recording.

    Declaration
    public SonogramConfig Configuration { get; set; }
    Property Value
    Type Description
    SonogramConfig
    | Improve this Doc View Source

    Data

    Gets or sets the spectrogram data matrix of doubles.

    Declaration
    public double[, ] Data { get; set; }
    Property Value
    Type Description
    Double[,]
    | Improve this Doc View Source

    DecibelReference

    Gets or sets decibel reference with which to NormaliseMatrixValues the dB values for MFCCs.

    Declaration
    public double DecibelReference { get; protected set; }
    Property Value
    Type Description
    Double
    | Improve this Doc View Source

    DecibelsNormalised

    Gets or sets the array of frame log-energy values normalised 0,1. This is derived from the array variable DecibelsPerFrame[].

    Declaration
    public double[] DecibelsNormalised { get; set; }
    Property Value
    Type Description
    Double[]
    | Improve this Doc View Source

    DecibelsPerFrame

    Gets or sets decibels per signal frame. i.e. log frame energy.

    Declaration
    public double[] DecibelsPerFrame { get; set; }
    Property Value
    Type Description
    Double[]
    | Improve this Doc View Source

    Duration

    Declaration
    public TimeSpan Duration { get; protected set; }
    Property Value
    Type Description
    TimeSpan
    | Improve this Doc View Source

    FBinWidth

    Declaration
    public double FBinWidth { get; }
    Property Value
    Type Description
    Double
    | Improve this Doc View Source

    FrameCount

    Declaration
    public int FrameCount { get; protected set; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    FrameDuration

    Declaration
    public double FrameDuration { get; }
    Property Value
    Type Description
    Double
    | Improve this Doc View Source

    FramesPerSecond

    Declaration
    public double FramesPerSecond { get; }
    Property Value
    Type Description
    Double
    | Improve this Doc View Source

    FrameStep

    Declaration
    public double FrameStep { get; }
    Property Value
    Type Description
    Double
    | Improve this Doc View Source

    FreqScale

    Gets or sets the frequency scale information. The FreqScale object should contain all the parameters required to convert the linear frquency scale of the amplitude spectrogram into any reduced or non-linear frequency scale required.

    Declaration
    public FrequencyScale FreqScale { get; set; }
    Property Value
    Type Description
    FrequencyScale
    | Improve this Doc View Source

    MaxAmplitude

    Declaration
    public double MaxAmplitude { get; set; }
    Property Value
    Type Description
    Double
    | Improve this Doc View Source

    ModalNoiseProfile

    Gets or sets the Noise profile in decibels.

    Declaration
    public double[] ModalNoiseProfile { get; set; }
    Property Value
    Type Description
    Double[]
    | Improve this Doc View Source

    NyquistFrequency

    Declaration
    public int NyquistFrequency { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    SampleRate

    Declaration
    public int SampleRate { get; set; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    SigState

    Gets or sets integer coded signal state ie 0=non-vocalisation, 1=vocalisation, etc.

    Declaration
    public int[] SigState { get; protected set; }
    Property Value
    Type Description
    Int32[]
    | Improve this Doc View Source

    SnrData

    Gets or sets instance of class SNR that stores info about signal energy and dB per frame.

    Declaration
    public SNR SnrData { get; set; }
    Property Value
    Type Description
    SNR

    Methods

    | Improve this Doc View Source

    Data2ImageData(Double[,])

    converts the dB data in sonogram.Data to grey scale image of spectrogram.

    Declaration
    public static Tuple<double[, ], double, double> Data2ImageData(double[, ] matrix)
    Parameters
    Type Name Description
    Double[,] matrix

    matrix of sonogram values.

    Returns
    Type Description
    Tuple<Double[,], Double, Double>
    | Improve this Doc View Source

    DrawTitleBarOfGrayScaleSpectrogram(String, Int32, Nullable<Color>)

    Declaration
    public static Image<Rgb24> DrawTitleBarOfGrayScaleSpectrogram(string title, int width, Color? tag = default(Color? ))
    Parameters
    Type Name Description
    String title
    Int32 width
    Nullable<SixLabors.ImageSharp.Color> tag
    Returns
    Type Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24>
    | Improve this Doc View Source

    FrameSonogram(Image<Rgb24>, Image<Rgb24>, TimeSpan, TimeSpan, TimeSpan, TimeSpan)

    This method draws only top and bottom time scales and adds the title bar. It does NOT include the frequency grid lines.

    Declaration
    public static Image<Rgb24> FrameSonogram(Image<Rgb24> sonogramImage, Image<Rgb24> titleBar, TimeSpan minuteOffset, TimeSpan xAxisTicInterval, TimeSpan xAxisPixelDuration, TimeSpan labelInterval)
    Parameters
    Type Name Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> sonogramImage
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> titleBar
    TimeSpan minuteOffset
    TimeSpan xAxisTicInterval
    TimeSpan xAxisPixelDuration
    TimeSpan labelInterval
    Returns
    Type Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24>
    | Improve this Doc View Source

    FrameSonogram(Image<Rgb24>, Image<Rgb24>, TimeSpan, TimeSpan, TimeSpan, TimeSpan, Int32, Int32)

    This method assumes that the height of the passed sonogram image is half of the original frame size. This assumption allows the frequency scale grid lines to be placed at the correct intervals.

    Declaration
    public static Image<Rgb24> FrameSonogram(Image<Rgb24> sonogramImage, Image<Rgb24> titleBar, TimeSpan minuteOffset, TimeSpan xAxisTicInterval, TimeSpan xAxisPixelDuration, TimeSpan labelInterval, int nyquist, int hertzInterval)
    Parameters
    Type Name Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> sonogramImage
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> titleBar
    TimeSpan minuteOffset
    TimeSpan xAxisTicInterval
    TimeSpan xAxisPixelDuration
    TimeSpan labelInterval
    Int32 nyquist
    Int32 hertzInterval
    Returns
    Type Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24>
    | Improve this Doc View Source

    GetAvSpectrum_HighestPercentile(Double[,], Int32)

    Declaration
    public static double[] GetAvSpectrum_HighestPercentile(double[, ] matrix, int highPercentile)
    Parameters
    Type Name Description
    Double[,] matrix
    Int32 highPercentile
    Returns
    Type Description
    Double[]
    | Improve this Doc View Source

    GetAvSpectrum_LowestPercentile(Double[,], Int32)

    Declaration
    public static double[] GetAvSpectrum_LowestPercentile(double[, ] matrix, int lowPercentile)
    Parameters
    Type Name Description
    Double[,] matrix
    Int32 lowPercentile
    Returns
    Type Description
    Double[]
    | Improve this Doc View Source

    GetImage()

    Declaration
    public Image<Rgb24> GetImage()
    Returns
    Type Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24>
    | Improve this Doc View Source

    GetImage(Boolean, Boolean, Boolean)

    Declaration
    public Image<Rgb24> GetImage(bool doHighlightSubband, bool add1KHzLines, bool doMelScale)
    Parameters
    Type Name Description
    Boolean doHighlightSubband
    Boolean add1KHzLines
    Boolean doMelScale
    Returns
    Type Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24>
    | Improve this Doc View Source

    GetImageAnnotatedWithLinearHertzScale(Image<Rgb24>, Int32, Int32, String, Nullable<Color>)

    Draws Frame around image of spectrogram.

    Declaration
    public static Image<Rgb24> GetImageAnnotatedWithLinearHertzScale(Image<Rgb24> image, int sampleRate, int frameStep, string title, Color? tag = default(Color? ))
    Parameters
    Type Name Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> image

    Image of Spectrogram.

    Int32 sampleRate

    sample rate of recording. Necessary for both time scale and Hertz scale.

    Int32 frameStep

    frame step allows correct time scale to be drawn.

    String title

    Descriptive title of the spectrogram.

    Nullable<SixLabors.ImageSharp.Color> tag
    Returns
    Type Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24>

    The framed spectrogram image.

    | Improve this Doc View Source

    GetImageAnnotatedWithLinearHerzScale(Image<Rgb24>, String, Nullable<Color>)

    Declaration
    public Image<Rgb24> GetImageAnnotatedWithLinearHerzScale(Image<Rgb24> image, string title, Color? tag = default(Color? ))
    Parameters
    Type Name Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> image
    String title
    Nullable<SixLabors.ImageSharp.Color> tag
    Returns
    Type Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24>
    | Improve this Doc View Source

    GetImageFullyAnnotated(Image<Rgb24>, String, Int32[,], Nullable<Color>)

    This method fully annotates a short-time scale spectrogram. The grid-lines are drawn according to indices in gridLineLocations. Therefore the method will accept spectrograms with octave or any frequency scale. The time scale is calculated from recording duration and width of image.

    Declaration
    public Image<Rgb24> GetImageFullyAnnotated(Image<Rgb24> image, string title, int[, ] gridLineLocations, Color? tag = default(Color? ))
    Parameters
    Type Name Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> image

    The raw spectrogram image.

    String title

    To go on the title bar.

    Int32[,] gridLineLocations

    A matrix of values.

    Nullable<SixLabors.ImageSharp.Color> tag

    Used to identify images??.

    Returns
    Type Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24>

    The annotated spectrogram.

    | Improve this Doc View Source

    GetImageFullyAnnotated(String, Nullable<Color>)

    This method assumes that the spectrogram has linear Herz scale.

    Declaration
    public Image<Rgb24> GetImageFullyAnnotated(string title, Color? tag = default(Color? ))
    Parameters
    Type Name Description
    String title

    title to be added to spectrogram.

    Nullable<SixLabors.ImageSharp.Color> tag
    Returns
    Type Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24>
    | Improve this Doc View Source

    GetSonogramImage(Double[,], Int32, Int32)

    Returns an image of the data matrix. Normalises the values from min->max according to passed rank values. Therefore pixels in the normalised grey-scale image will range from 0 to 255.

    Declaration
    public static Image<Rgb24> GetSonogramImage(double[, ] data, int minPercentile, int maxPercentile)
    Parameters
    Type Name Description
    Double[,] data
    Int32 minPercentile
    Int32 maxPercentile
    Returns
    Type Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24>
    | Improve this Doc View Source

    GetSonogramImage(Double[,], Int32, Int32, Boolean, Int32, Boolean, Int32, Int32)

    Declaration
    public static Image<Rgb24> GetSonogramImage(double[, ] data, int nyquistFreq, int maxFrequency, bool doMelScale, int binHeight, bool doHighlightSubband, int subBandMinHz, int subBandMaxHz)
    Parameters
    Type Name Description
    Double[,] data
    Int32 nyquistFreq
    Int32 maxFrequency
    Boolean doMelScale
    Int32 binHeight
    Boolean doHighlightSubband
    Int32 subBandMinHz
    Int32 subBandMaxHz
    Returns
    Type Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24>
    | Improve this Doc View Source

    Make(Double[,])

    Declaration
    public abstract void Make(double[, ] amplitudeM)
    Parameters
    Type Name Description
    Double[,] amplitudeM
    | Improve this Doc View Source

    RescaleLinearFrequencyScale(Double[,], FrequencyScale)

    Declaration
    public static double[, ] RescaleLinearFrequencyScale(double[, ] inputSpgram, FrequencyScale freqScale)
    Parameters
    Type Name Description
    Double[,] inputSpgram
    FrequencyScale freqScale
    Returns
    Type Description
    Double[,]
    | Improve this Doc View Source

    SaveDebugSpectrogram(Image, DirectoryInfo, String)

    This method is called by unit tests that want to draw simple spectorgram images. It can be modified to do something non-standard with the output spectrogram.

    Declaration
    public static string SaveDebugSpectrogram(Image image, DirectoryInfo outputDirectory, string baseName)
    Parameters
    Type Name Description
    SixLabors.ImageSharp.Image image
    DirectoryInfo outputDirectory
    String baseName
    Returns
    Type Description
    String

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • BaseSonogram(SonogramConfig)
      • BaseSonogram(SonogramConfig, WavReader)
      • BaseSonogram(SonogramConfig, FrequencyScale, WavReader)
      • BaseSonogram(SonogramConfig, Double[,])
    • Properties
      • Configuration
      • Data
      • DecibelReference
      • DecibelsNormalised
      • DecibelsPerFrame
      • Duration
      • FBinWidth
      • FrameCount
      • FrameDuration
      • FramesPerSecond
      • FrameStep
      • FreqScale
      • MaxAmplitude
      • ModalNoiseProfile
      • NyquistFrequency
      • SampleRate
      • SigState
      • SnrData
    • Methods
      • Data2ImageData(Double[,])
      • DrawTitleBarOfGrayScaleSpectrogram(String, Int32, Nullable<Color>)
      • FrameSonogram(Image<Rgb24>, Image<Rgb24>, TimeSpan, TimeSpan, TimeSpan, TimeSpan)
      • FrameSonogram(Image<Rgb24>, Image<Rgb24>, TimeSpan, TimeSpan, TimeSpan, TimeSpan, Int32, Int32)
      • GetAvSpectrum_HighestPercentile(Double[,], Int32)
      • GetAvSpectrum_LowestPercentile(Double[,], Int32)
      • GetImage()
      • GetImage(Boolean, Boolean, Boolean)
      • GetImageAnnotatedWithLinearHertzScale(Image<Rgb24>, Int32, Int32, String, Nullable<Color>)
      • GetImageAnnotatedWithLinearHerzScale(Image<Rgb24>, String, Nullable<Color>)
      • GetImageFullyAnnotated(Image<Rgb24>, String, Int32[,], Nullable<Color>)
      • GetImageFullyAnnotated(String, Nullable<Color>)
      • GetSonogramImage(Double[,], Int32, Int32)
      • GetSonogramImage(Double[,], Int32, Int32, Boolean, Int32, Boolean, Int32, Int32)
      • Make(Double[,])
      • RescaleLinearFrequencyScale(Double[,], FrequencyScale)
      • SaveDebugSpectrogram(Image, DirectoryInfo, String)
    • Extension Methods
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top