C# Class SoundFingerprinting.Audio.SamplesAggregator

Inheritance: ISamplesAggregator
Afficher le fichier Open project: AddictedCS/soundfingerprinting

Méthodes publiques

Méthode Description
ReadSamplesFromSource ( ISamplesProvider samplesProvider, double secondsToRead, int sampleRate ) : float[]

Private Methods

Méthode Description
ConcatenateChunksOfSamples ( IReadOnlyList chunks ) : float[]
CopyFromBufferToNewChunk ( int chunkLength, float buffer ) : float[]
GetBuffer ( double secondsToRead, int sampleRate ) : float[]
GetBufferLength ( double secondsToRead, int sampleRate ) : int
GetExactNumberOfBytesToRead ( double secondsToRead, int sampleRate ) : int
GetNewChunkFromBuffer ( int totalBytesRead, int totalBytesToRead, int bytesRead, float buffer ) : float[]
GetTotalBytesToRead ( double secondsToRead, int sampleRate ) : int

Method Details

ReadSamplesFromSource() public méthode

public ReadSamplesFromSource ( ISamplesProvider samplesProvider, double secondsToRead, int sampleRate ) : float[]
samplesProvider ISamplesProvider
secondsToRead double
sampleRate int
Résultat float[]