C# Class SoundFingerprinting.FFT.SpectrumService

Inheritance: ISpectrumService
Afficher le fichier Open project: AddictedCS/soundfingerprinting Class Usage Examples

Méthodes publiques

Méthode Description
CreateLogSpectrogram ( AudioSamples audioSamples, SpectrogramConfig configuration ) : List
CreateSpectrogram ( AudioSamples audioSamples, int overlap, int wdftSize ) : float[][]
CutLogarithmizedSpectrum ( float logarithmizedSpectrum, int sampleRate, SpectrogramConfig configuration ) : List
ExtractLogBins ( float spectrum, int logFrequenciesIndex, int logBins, int wdftSize ) : float[]
SpectrumService ( ) : System
SpectrumService ( IFFTService fftService ) : System

Private Methods

Méthode Description
AllocateMemoryForFingerprintImage ( int fingerprintLength, int logBins ) : float[][]
GetFrequencyIndexLocationOfAudioSamples ( int audioSamples, int overlap ) : int
SpectrumService ( IFFTService fftService, ILogUtility logUtility ) : System

Method Details

CreateLogSpectrogram() public méthode

public CreateLogSpectrogram ( AudioSamples audioSamples, SpectrogramConfig configuration ) : List
audioSamples SoundFingerprinting.Audio.AudioSamples
configuration SoundFingerprinting.Configuration.SpectrogramConfig
Résultat List

CreateSpectrogram() public méthode

public CreateSpectrogram ( AudioSamples audioSamples, int overlap, int wdftSize ) : float[][]
audioSamples SoundFingerprinting.Audio.AudioSamples
overlap int
wdftSize int
Résultat float[][]

CutLogarithmizedSpectrum() public méthode

public CutLogarithmizedSpectrum ( float logarithmizedSpectrum, int sampleRate, SpectrogramConfig configuration ) : List
logarithmizedSpectrum float
sampleRate int
configuration SoundFingerprinting.Configuration.SpectrogramConfig
Résultat List

ExtractLogBins() public méthode

public ExtractLogBins ( float spectrum, int logFrequenciesIndex, int logBins, int wdftSize ) : float[]
spectrum float
logFrequenciesIndex int
logBins int
wdftSize int
Résultat float[]

SpectrumService() public méthode

public SpectrumService ( ) : System
Résultat System

SpectrumService() public méthode

public SpectrumService ( IFFTService fftService ) : System
fftService IFFTService
Résultat System