• 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 UnitConverters

    Inheritance
    Object
    UnitConverters
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: AudioAnalysisTools
    Assembly: AudioAnalysisTools.dll
    Syntax
    public class UnitConverters

    Constructors

    | Improve this Doc View Source

    UnitConverters(Double, Double, Double, Int32, Int32)

    Initializes a new instance of the UnitConverters class. IMPORTANT NOTE: segmentDuration should be the duration spanned by the spectrogram image, not the actual duration recording. Given one frame per pixel column, the spectrogram duration = frameCount * seconds/frame.

    Declaration
    public UnitConverters(double segmentStartOffset, double segmentDuration, double nyquistFrequency, int imageWidth, int imageHeight)
    Parameters
    Type Name Description
    Double segmentStartOffset

    Segment start relative to start of the recording.

    Double segmentDuration

    Set the time-scale. The spectrogram time-span. Typically 60 seconds.

    Double nyquistFrequency

    Sets the frequency scale.

    Int32 imageWidth

    Pixel width = number of time frames.

    Int32 imageHeight

    Pixel height = the number of frequency bins.

    | Improve this Doc View Source

    UnitConverters(Double, Int32, Int32)

    Initializes a new instance of the UnitConverters class. Use this constructor or the next one when you have sample rate of recording from which spectrogram is derived. This constructor assumes that the step size equals the frame size. Enables calculations independent of the image size.

    Declaration
    public UnitConverters(double segmentStartOffset, int sampleRate, int frameSize)
    Parameters
    Type Name Description
    Double segmentStartOffset

    Start time in seconds of the current recording segment.

    Int32 sampleRate

    Sample rate of the recording segment.

    Int32 frameSize

    The window or frame size.

    | Improve this Doc View Source

    UnitConverters(Double, Int32, Int32, Double)

    Initializes a new instance of the UnitConverters class. Use this constructor or the above when you have sample rate of recording from which spectrogram is derived. Enables calculations independent of the image size. Supplied with the frame overlap rather than the step size.

    Declaration
    public UnitConverters(double segmentStartOffset, int sampleRate, int frameSize, double frameOverlap)
    Parameters
    Type Name Description
    Double segmentStartOffset

    Start time in seconds of the current recording segment.

    Int32 sampleRate

    Sample rate of the recording segment.

    Int32 frameSize

    The window or frame size.

    Double frameOverlap

    Fractional overlap of frames.

    | Improve this Doc View Source

    UnitConverters(Double, Int32, Int32, Int32)

    Initializes a new instance of the UnitConverters class. Use this constructor or the next one when you have sample rate of recording from which spectrogram is derived. Enables calculations independent of the image size.

    Declaration
    public UnitConverters(double segmentStartOffset, int sampleRate, int frameSize, int stepSize)
    Parameters
    Type Name Description
    Double segmentStartOffset

    Start time in seconds of the current recording segment.

    Int32 sampleRate

    Sample rate of the recording segment.

    Int32 frameSize

    The window or frame size.

    Int32 stepSize

    THe step size which is LTE frame size.

    Properties

    | Improve this Doc View Source

    FrameOverlap

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

    FrameSize

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

    HertzPerFreqBin

    Declaration
    public double HertzPerFreqBin { get; }
    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; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    SecondsPerFrame

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

    SecondsPerFrameStep

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

    SegmentStartOffset

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

    SpectralScale

    Gets the spectral scale.

    Declaration
    public LinearScale SpectralScale { get; }
    Property Value
    Type Description
    LinearScale
    Remarks

    Measured in hertz per pixel.

    | Improve this Doc View Source

    StepSize

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

    TemporalScale

    Gets the temporal scale. Measured in seconds per pixel. To converts seconds to pixels. From converts pixels to seconds.

    Declaration
    public LinearScale TemporalScale { get; }
    Property Value
    Type Description
    LinearScale

    Methods

    | Improve this Doc View Source

    ConvertPointToSpectralPoint(Point, Double)

    Declaration
    public SpectralPoint ConvertPointToSpectralPoint(Point point, double value)
    Parameters
    Type Name Description
    SixLabors.ImageSharp.Point point
    Double value
    Returns
    Type Description
    SpectralPoint
    | Improve this Doc View Source

    FrameFromEndTime(Double)

    Declaration
    public int FrameFromEndTime(double endTime)
    Parameters
    Type Name Description
    Double endTime
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    FrameFromStartTime(Double)

    Declaration
    public int FrameFromStartTime(double startTime)
    Parameters
    Type Name Description
    Double startTime
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    GetEndTimeInSecondsOfFrame(Int32)

    Declaration
    public double GetEndTimeInSecondsOfFrame(int frameId)
    Parameters
    Type Name Description
    Int32 frameId
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    GetFrameCountFromSecondsDuration(Double)

    Returns the number of frames for the passed duration in seconds. Do the calculations in signal samples. TODO: Question should we do round or floor?.

    Declaration
    public int GetFrameCountFromSecondsDuration(double seconds)
    Parameters
    Type Name Description
    Double seconds

    The elapsed time.

    Returns
    Type Description
    Int32

    The number of frames.

    | Improve this Doc View Source

    GetFreqBinFromHertz(Double)

    Declaration
    public int GetFreqBinFromHertz(double hertz)
    Parameters
    Type Name Description
    Double hertz
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    GetHertzFromFreqBin(Int32)

    Declaration
    public double GetHertzFromFreqBin(int bin)
    Parameters
    Type Name Description
    Int32 bin
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    GetHertzHighFromFreqBin(Int32)

    Declaration
    public double GetHertzHighFromFreqBin(int bin)
    Parameters
    Type Name Description
    Int32 bin
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    GetPixelRectangle(ISpectralEvent)

    Gets a rectangle suitable for drawing.

    Declaration
    public RectangleF GetPixelRectangle(ISpectralEvent event)
    Parameters
    Type Name Description
    ISpectralEvent event

    The event to get the border for.

    Returns
    Type Description
    SixLabors.ImageSharp.RectangleF

    The rectangle representing the border.

    Remarks

    Top and left are floored to pixel boundaries. Width and height are rounded up. No border pixels are substracted from width or height!.

    | Improve this Doc View Source

    GetPixelRectangle(ISpectralPoint)

    Declaration
    public RectangleF GetPixelRectangle(ISpectralPoint point)
    Parameters
    Type Name Description
    ISpectralPoint point
    Returns
    Type Description
    SixLabors.ImageSharp.RectangleF
    | Improve this Doc View Source

    GetPoint(ISpectralEvent)

    Gets the top and left of an event, in a fashion suitable for drawing.

    Declaration
    public PointF GetPoint(ISpectralEvent event)
    Parameters
    Type Name Description
    ISpectralEvent event

    The event to get the point for.

    Returns
    Type Description
    SixLabors.ImageSharp.PointF

    The point.

    Remarks

    Top and left are floored to pixel boundaries.

    | Improve this Doc View Source

    GetPoint(ISpectralPoint)

    Declaration
    public PointF GetPoint(ISpectralPoint point)
    Parameters
    Type Name Description
    ISpectralPoint point
    Returns
    Type Description
    SixLabors.ImageSharp.PointF
    | Improve this Doc View Source

    GetPointCentroid(ISpectralPoint)

    Declaration
    public PointF GetPointCentroid(ISpectralPoint point)
    Parameters
    Type Name Description
    ISpectralPoint point
    Returns
    Type Description
    SixLabors.ImageSharp.PointF
    | Improve this Doc View Source

    GetSecondsDurationFromFrameCount(Int32)

    Returns the duration in seconds of the passed number of frames. NOTE: In the case where frames are overlapped, the last frame in any sequence is longer than the frame step. This correction becomes sgnificant when the frameCount is small.

    Declaration
    public double GetSecondsDurationFromFrameCount(int frameCount)
    Parameters
    Type Name Description
    Int32 frameCount

    The number of frames.

    Returns
    Type Description
    Double

    Duration inseconds.

    | Improve this Doc View Source

    GetSize(ISpectralEvent)

    Gets the width and height of an event.

    Declaration
    public SizeF GetSize(ISpectralEvent event)
    Parameters
    Type Name Description
    ISpectralEvent event

    The event to get the size for.

    Returns
    Type Description
    SixLabors.ImageSharp.SizeF

    The size.

    Remarks

    Width and height are rounded up.

    | Improve this Doc View Source

    GetStartTimeInSecondsOfFrame(Int32)

    Declaration
    public double GetStartTimeInSecondsOfFrame(int frameId)
    Parameters
    Type Name Description
    Int32 frameId
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    HertzToPixels(Double)

    Declaration
    public float HertzToPixels(double seconds)
    Parameters
    Type Name Description
    Double seconds
    Returns
    Type Description
    Single
    | Improve this Doc View Source

    PixelsToHertz(Single)

    Declaration
    public double PixelsToHertz(float pixels)
    Parameters
    Type Name Description
    Single pixels
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    PixelsToSeconds(Single)

    Declaration
    public double PixelsToSeconds(float pixels)
    Parameters
    Type Name Description
    Single pixels
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    RecordingRelativeToSegmentRelative(Double)

    Declaration
    public double RecordingRelativeToSegmentRelative(double seconds)
    Parameters
    Type Name Description
    Double seconds
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    SecondsToPixels(Double)

    Declaration
    public float SecondsToPixels(double seconds)
    Parameters
    Type Name Description
    Double seconds
    Returns
    Type Description
    Single
    | Improve this Doc View Source

    SegmentRelativeToRecordingRelative(Double)

    Declaration
    public double SegmentRelativeToRecordingRelative(double seconds)
    Parameters
    Type Name Description
    Double seconds
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    SetBounds<T>(T, Oblong)

    Declaration
    public void SetBounds<T>(T event, Oblong source)
        where T : SpectralEvent
    Parameters
    Type Name Description
    T event
    Oblong source
    Type Parameters
    Name Description
    T

    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
      • UnitConverters(Double, Double, Double, Int32, Int32)
      • UnitConverters(Double, Int32, Int32)
      • UnitConverters(Double, Int32, Int32, Double)
      • UnitConverters(Double, Int32, Int32, Int32)
    • Properties
      • FrameOverlap
      • FrameSize
      • HertzPerFreqBin
      • NyquistFrequency
      • SampleRate
      • SecondsPerFrame
      • SecondsPerFrameStep
      • SegmentStartOffset
      • SpectralScale
      • StepSize
      • TemporalScale
    • Methods
      • ConvertPointToSpectralPoint(Point, Double)
      • FrameFromEndTime(Double)
      • FrameFromStartTime(Double)
      • GetEndTimeInSecondsOfFrame(Int32)
      • GetFrameCountFromSecondsDuration(Double)
      • GetFreqBinFromHertz(Double)
      • GetHertzFromFreqBin(Int32)
      • GetHertzHighFromFreqBin(Int32)
      • GetPixelRectangle(ISpectralEvent)
      • GetPixelRectangle(ISpectralPoint)
      • GetPoint(ISpectralEvent)
      • GetPoint(ISpectralPoint)
      • GetPointCentroid(ISpectralPoint)
      • GetSecondsDurationFromFrameCount(Int32)
      • GetSize(ISpectralEvent)
      • GetStartTimeInSecondsOfFrame(Int32)
      • HertzToPixels(Double)
      • PixelsToHertz(Single)
      • PixelsToSeconds(Single)
      • RecordingRelativeToSegmentRelative(Double)
      • SecondsToPixels(Double)
      • SegmentRelativeToRecordingRelative(Double)
      • SetBounds<T>(T, Oblong)
    • Extension Methods
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top