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

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

    Methods

    | Improve this Doc View Source

    AcousticVectors(Double[,], Double[], Boolean, Boolean)

    This method assumes that the supplied mfcc matrix DOES NOT contain frame dB (log energy) values in column zero. These are added in from the supplied array of frame log-energies.

    Declaration
    public static double[, ] AcousticVectors(double[, ] mfcc, double[] frameDbNormed, bool includeDelta, bool includeDoubleDelta)
    Parameters
    Type Name Description
    Double[,] mfcc

    A matrix of mfcc coefficients. Column zero is empty.

    Double[] frameDbNormed

    log-energy values for the frames.

    Boolean includeDelta

    Whether or not to add delta features.

    Boolean includeDoubleDelta

    Whether or not to add double delta features.

    Returns
    Type Description
    Double[,]

    A matrix of complete mfcc values with additional deltas, frame energies etc.

    | Improve this Doc View Source

    Cepstra(Double[,], Int32)

    Declaration
    public static double[, ] Cepstra(double[, ] spectra, int coeffCount)
    Parameters
    Type Name Description
    Double[,] spectra
    Int32 coeffCount
    Returns
    Type Description
    Double[,]
    | Improve this Doc View Source

    Cepstra(Double[,], Int32, Double[,])

    use this version when want to make matrix of Cosines only one time.

    Declaration
    public static double[, ] Cepstra(double[, ] spectra, int coeffCount, double[, ] cosines)
    Parameters
    Type Name Description
    Double[,] spectra
    Int32 coeffCount
    Double[,] cosines
    Returns
    Type Description
    Double[,]
    | Improve this Doc View Source

    Cosines(Int32, Int32)

    Returns a matrix of cosine basis functions. These are prepared prior to performing a DCT, Discrete Cosine Transform. The rows k = 0 to coeffCount are the basis functions. The columns, m = 0 to M where M = signalLength or the length of the required DCT. The value of m/M ranges from 0 to 1.0. The value of Pim/M ranges from 0 to Pi radians. The value of kPim/M ranges from 0 to kPi radians. WHen k=2, 2Pi radians corresponds to one rotation.

    Declaration
    public static double[, ] Cosines(int signalLength, int coeffCount)
    Parameters
    Type Name Description
    Int32 signalLength

    The length of the signal to be processed. e.g. the frequency bin count or filter bank count or ...

    Int32 coeffCount

    The number of basis funcitons = the rquired number of DCT coefficients.

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

    DCT(Double[], Double[,])

    Declaration
    public static double[] DCT(double[] spectrum, double[, ] cosines)
    Parameters
    Type Name Description
    Double[] spectrum
    Double[,] cosines
    Returns
    Type Description
    Double[]
    | Improve this Doc View Source

    DecibelSpectra(Double[,], Double, Int32, Double)

    Converts amplitude spectra (in a spectrogram) to dB spectra, normalising for window power and sample rate. NOTE 1: This calculation is done in three separate steps in order to avoid duplicating the tricky calculations in the method GetLogEnergySpectrogram(). NOTE 2: The decibels value is a ratio. Here the ratio is implied. dB = 10*log(amplitude ^2) but in this method adjust power to account for power of Hamming window and SR.

    Declaration
    public static double[, ] DecibelSpectra(double[, ] amplitudeM, double windowPower, int sampleRate, double epsilon)
    Parameters
    Type Name Description
    Double[,] amplitudeM

    the amplitude spectra.

    Double windowPower

    value for window power normalisation.

    Int32 sampleRate

    to NormaliseMatrixValues for the sampling rate.

    Double epsilon

    small value to avoid log of zero.

    Returns
    Type Description
    Double[,]

    a spectrogram of decibel values.

    | Improve this Doc View Source

    GetLogEnergySpectrogram(Double[,], Double, Int32, Double)

    This method converts the passed matrix of spectrogram energy values, (i.e. squared amplitude values) to log-energy values. This method is used when calculating standard, mel-freq and mfcc spectrograms. In the case of mel-scale, the passed energy spectrogram is output from the mel-frequency filter bank, and the energy values are converted directly to log-energy, normalising for window power and sample rate. Note that the output is log-energy, not decibels: decibels = 10 * log-energy. NOTE 1: THIS METHOD ASSUMES THAT THE LAST FREQ BIN (ie the last matrix column) IS THE NYQUIST FREQ BIN. NOTE 2: THIS METHOD ASSUMES THAT THE FIRST FREQ BIN (ie the first matrix column) IS THE MEAN or DC FREQ BIN. NOTE 3: The window contributes power to the signal which must subsequently be removed from the spectral power. NOTE 4: Spectral power must be normalised for sample rate. Effectively calculate freq power per sample. NOTE 5: The power in all freq bins except f=0 must be doubled because the power spectrum is an even function about f=0; This is due to the fact that the spectrum actually consists of 512 + 1 values, the centre value being for f=0.

    Declaration
    public static double[, ] GetLogEnergySpectrogram(double[, ] energyM, double windowPower, int sampleRate, double epsilon)
    Parameters
    Type Name Description
    Double[,] energyM

    the amplitude spectra.

    Double windowPower

    value for window power normalisation.

    Int32 sampleRate

    to NormaliseMatrixValues for the sampling rate.

    Double epsilon

    small value to avoid log of zero.

    Returns
    Type Description
    Double[,]

    a spectrogram of decibel values.

    | Improve this Doc View Source

    GetMelBinBounds(Int32, Int32)

    Returns an [N, 2] matrix with bin ID in column 1 and lower Herz bound in column 2 but on Mel scale.

    Declaration
    public static int[, ] GetMelBinBounds(int nyquist, int melBinCount)
    Parameters
    Type Name Description
    Int32 nyquist
    Int32 melBinCount
    Returns
    Type Description
    Int32[,]
    | Improve this Doc View Source

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

    Constructs a feature vector of MFCCs including deltas and double deltas as requested by user. The dB array has been normalised in 0-1.

    Declaration
    public static double[] GetMfccFeatureVector(double[] dB, double[, ] matrix, int timeId, bool includeDelta, bool includeDoubleDelta)
    Parameters
    Type Name Description
    Double[] dB

    log-energy values for the frames.

    Double[,] matrix

    A matrix of mfcc coefficients. Column zero is empty.

    Int32 timeId

    index for the required timeframe.

    Boolean includeDelta

    Whether or not to add delta features.

    Boolean includeDoubleDelta

    Whether or not to add double-delta features.

    Returns
    Type Description
    Double[]

    a mfcc feature vector for a single time-frame.

    | Improve this Doc View Source

    HerzTranform(Double, Double, Double)

    this method calculates a user customised version of the fixed mel frequency convernsion in the method Mel(double f).

    Declaration
    public static double HerzTranform(double f, double c, double div)
    Parameters
    Type Name Description
    Double f

    this is the linear frequncy in Herz.

    Double c

    this value = 2595.0 in the standard Mel transform.

    Double div

    this value = 700 in the standard Mel transform.

    Returns
    Type Description
    Double

    Mel frequency.

    | Improve this Doc View Source

    InverseHerzTranform(Double, Double, Double)

    Declaration
    public static double InverseHerzTranform(double m, double c, double div)
    Parameters
    Type Name Description
    Double m
    Double c
    Double div
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    InverseMel(Double)

    Converts a Mel value to Herz. NOTE: By default this Mel scale is linear to 1000 Hz.

    Declaration
    public static double InverseMel(double mel)
    Parameters
    Type Name Description
    Double mel
    Returns
    Type Description
    Double

    the Herz value.

    | Improve this Doc View Source

    LinearFilterBank(Double[,], Int32, Double, Int32, Int32)

    Does linear filterbank conversion for sonogram for any frequency band given by minFreq and maxFreq. Performs linear integral as opposed to Mel integral The first step is to calculate the number of filters for the required frequency sub-band.

    Declaration
    public static double[, ] LinearFilterBank(double[, ] matrix, int filterBankCount, double nyquist, int minFreq, int maxFreq)
    Parameters
    Type Name Description
    Double[,] matrix

    the sonogram.

    Int32 filterBankCount

    number of filters over full freq range 0 Hz - Nyquist.

    Double nyquist

    max frequency in original spectra.

    Int32 minFreq

    min freq in passed sonogram matrix.

    Int32 maxFreq

    max freq in passed sonogram matrix.

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

    LinearIntegral(Double, Double, Double, Double)

    Declaration
    public static double LinearIntegral(double x0, double x1, double y0, double y1)
    Parameters
    Type Name Description
    Double x0
    Double x1
    Double y0
    Double y1
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    LinearIntegral(Int32, Int32, Double, Double)

    Declaration
    public static double LinearIntegral(int x0, int x1, double y0, double y1)
    Parameters
    Type Name Description
    Int32 x0
    Int32 x1
    Double y0
    Double y1
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    LinearInterpolate(Double, Double, Double, Double, Double)

    Declaration
    public static double LinearInterpolate(double x0, double x1, double y0, double y1, double x2)
    Parameters
    Type Name Description
    Double x0
    Double x1
    Double y0
    Double y1
    Double x2
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    Mel(Double)

    Returns a Mel value for the passed Herz value NOTE: According to Wikipedia there is no single objective mel(ody) scale conversion. Mel scale is based on just-noticeable difference in pitch by the ear with ascend pitch. I.E> THis is psycho-acoustic phenomenon. 1000Hz is used as the common reference point i.e. 1000Hz = 1000Mel. In speech processing, typically use a linear conversion below 1000Hz.

    Declaration
    public static double Mel(double f)
    Parameters
    Type Name Description
    Double f
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    MelFilterBank(Double[,], Int32, Double, Int32, Int32)

    Does conversion from linear frequency scale to mel-scale for any frequency band given by minFreq and maxFreq. Uses Greg's MelIntegral The first step is to calculate the number of filters for the required frequency sub-band.

    Declaration
    public static double[, ] MelFilterBank(double[, ] matrix, int filterBankCount, double nyquist, int minFreq, int maxFreq)
    Parameters
    Type Name Description
    Double[,] matrix

    the spectrogram.

    Int32 filterBankCount

    number of filters over full freq range 0 Hz - Nyquist.

    Double nyquist

    max frequency in original spectra.

    Int32 minFreq

    min freq in the passed sonogram matrix.

    Int32 maxFreq

    max freq in the passed sonogram matrix.

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

    MelIntegral(Double, Double, Double, Double)

    Declaration
    public static double MelIntegral(double f0, double f1, double y0, double y1)
    Parameters
    Type Name Description
    Double f0
    Double f1
    Double y0
    Double y1
    Returns
    Type Description
    Double
    | Improve this Doc View Source

    VocalizationDetection(Double[], Double, Double, Int32, Int32, Int32, Int32[])

    Declaration
    public static int[] VocalizationDetection(double[] decibels, double lowerDbThreshold, double upperDbThreshold, int k1k2delay, int syllableGap, int minPulse, int[] zeroCrossings)
    Parameters
    Type Name Description
    Double[] decibels
    Double lowerDbThreshold
    Double upperDbThreshold
    Int32 k1k2delay
    Int32 syllableGap
    Int32 minPulse
    Int32[] zeroCrossings
    Returns
    Type Description
    Int32[]

    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
    • Methods
      • AcousticVectors(Double[,], Double[], Boolean, Boolean)
      • Cepstra(Double[,], Int32)
      • Cepstra(Double[,], Int32, Double[,])
      • Cosines(Int32, Int32)
      • DCT(Double[], Double[,])
      • DecibelSpectra(Double[,], Double, Int32, Double)
      • GetLogEnergySpectrogram(Double[,], Double, Int32, Double)
      • GetMelBinBounds(Int32, Int32)
      • GetMfccFeatureVector(Double[], Double[,], Int32, Boolean, Boolean)
      • HerzTranform(Double, Double, Double)
      • InverseHerzTranform(Double, Double, Double)
      • InverseMel(Double)
      • LinearFilterBank(Double[,], Int32, Double, Int32, Int32)
      • LinearIntegral(Double, Double, Double, Double)
      • LinearIntegral(Int32, Int32, Double, Double)
      • LinearInterpolate(Double, Double, Double, Double, Double)
      • Mel(Double)
      • MelFilterBank(Double[,], Int32, Double, Int32, Int32)
      • MelIntegral(Double, Double, Double, Double)
      • VocalizationDetection(Double[], Double, Double, Int32, Int32, Int32, Int32[])
    • Extension Methods
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top