|
| | KrotosAudioBufferDSP () |
| |
| | ~KrotosAudioBufferDSP () |
| |
| void | exitSignalSent () override |
| |
| void | generalScheme () |
| |
| void | writeSpectrogramToFile (const std::vector< std::vector< float > > &spectrogram, const juce::String filename) |
| |
| void | writeFeatureToFile (const std::vector< float > &feature, const std::string &filename) |
| |
| float | crossCorrelate (const float *referencePointer, const float *candidatePointer, const int testSize) |
| | crossCorrelate - Perform a cross-correlation function
|
| |
| float | autoCorrelateCentred (int centerIndex, int testSize) |
| | autoCorrelateCentred - Autocorrelate both sides of supplied index
|
| |
| int | calcFreeGrain (int centerIndex, int previousGrainSize, GrainRange range) |
| | calcFreeGrain - find the next grain size
|
| |
| void | setPhaseAnalysisCoefficients (AnalysisCoefficientsPhase coeff) |
| |
| int | size () |
| |
| float * | data () |
| |
| AnalysisCoefficients & | getAnalysisCoefficients () |
| |
| void | analyse () |
| | analyse Analyses the audio waveform stored in the buffer according to the selected scheme This method needs to be non-blocking so it doesn't hold up the message thread. If there is already an analysis in progress, this method will ask the thread to exit then restart it
|
| |
| void | analysePhase () |
| |
| void | setDefaultPhaseAnalysisCoefficients () |
| |
| void | invalidate () |
| |
| void | validate () |
| |
| bool | analysisResultsAreValid () |
| |
| void | triggerDisplayCacheRegeneration () |
| |
| bool | shouldRegenerateDisplayCache () |
| |
| bool | scanForGrainsFreeMarker (std::vector< int > &returnGrains, const int audioIndexStart, const int useableIndexEnd, const int startGrainSize) |
| |
| bool | scanBackwardsForGrainsFreeMarker (std::vector< int > &returnGrains, const int audioIndexStart, const int useableIndexEnd, const int startGrainSize) |
| |
| void | buildDescriptors (std::vector< AudioDescriptor > &descriptors, const std::vector< int > &grainsList, const int startGrainAudioIndex, bool goingBackwards) |
| |
| void | setAnalysisWavRange (float start, float end) |
| | setAnalysisWavRange - define a subset of the audio range for analysis
|
| |
| void | setAnalysisGrainSizeRange () |
| | Set the frequency range we want to analyse for.
|
| |
| std::vector< AudioDescriptor > & | getGrainDescriptionByTime () |
| |
| std::vector< AudioDescriptor > & | getGrainDescriptionByZ () |
| |
| std::size_t | getNearestNeighbour2D (float x, float y) |
| |
| std::vector< std::size_t > | getNearestNeighbour2D (float x, float y, std::size_t k) |
| |
| std::vector< std::size_t > | getNearestNeighbour2D (float x, float y, float search_radius) |
| |
| std::size_t | getNearestNeighbour3D (float x, float y, float z) |
| |
| std::vector< std::size_t > | getNearestNeighbour3D (float x, float y, float z, std::size_t k) |
| |
| std::vector< std::size_t > | getNearestNeighbour3D (float x, float y, float z, float search_radius) |
| |
| void | setTrackingValue (float newValue) |
| |
| void | setTrackingCycles (float newValue) |
| |
| AudioDescriptor & | audioIndexToDescriptor (int audioIndex) |
| |
| AudioDescriptor & | audioPercentToDescriptor (float audioPercent) |
| |
| AudioDescriptor & | audioFrequencyToDescriptor (float frequency) |
| |
| void | clampGrainDescriptionByTimeIndex (size_t &index) |
| |
| StereoSample | getSampleFromGrainPhase (double grainPhase) |
| |
| double | getFrequencyFromGrainPhase (double grainPhase) |
| |
| ProgressTracker & | getProgressTracker () |
| | Get a reference to this buffer's ProgressTracker.
|
| |
| SegmentationMethod | getSegmentationMethod () const |
| |
| FeatureExtrMethod | getFeatureExtractionMethod () |
| |
| AnalysisScheme | getAnalysisScheme () |
| |
| void | setSegmentationMethod (SegmentationMethod segmentation) |
| |
| void | setFeatureExtrMethod (FeatureExtrMethod featureExtraction) |
| |
| void | setAnalysisScheme (AnalysisScheme scheme) |
| |
| | KrotosAudioBuffer () |
| |
| | KrotosAudioBuffer (int channels, int size) |
| |
| | KrotosAudioBuffer (const AudioBuffer< float > &buffer) |
| | Creates a krotos buffer from a juce buffer.
|
| |
| | KrotosAudioBuffer (const AudioBuffer< float > &buffer, int numOfChannels) |
| | Creates a krotos buffer from a juce buffer but with a new number of channels, this constructor tries to be as efficient as possible by not reallocating or clearing the extra space.
|
| |
| | ~KrotosAudioBuffer () |
| |
| float | getPeak (int channel) const |
| |
| float | getRMS (int channel) const |
| |
| void | setSize (int newNumChannels, int numSamples, bool keepExistingContent=true, bool clearExtraSpace=true, bool avoidReallocating=true) |
| |
| void | setSize (KrotosAudioBuffer &prototypeBuffer) |
| |
| void | copyFrom (int destChannel, const float *source, int numSamples) |
| |
| void | copyFrom (KrotosAudioBuffer &sourceBuffer) |
| |
| void | addFrom (int destChannel, const float *source, int numSamples) |
| |
| void | addFrom (KrotosAudioBuffer &srcBuffer) |
| |
| void | processWetDry (KrotosAudioBuffer &wetBuffer, SmoothedFloat &wetDryValue) |
| |
| void | processGain (SmoothedFloat &gainFactor) |
| |
| void | processGain (float gainFactor) |
| |
| void | processPan (SmoothedFloat &panValue) |
| |
| bool | processClamp (float clampValue) |
| |
| void | fillWithNoise () |
| |
| void | processMute (MuteStateMachine &state) |
| |
| void | setDataValid (bool state) |
| |
| bool | isDataValid () const |
| |
| void | setSampleRate (float sampleRate) |
| |
| float | getSampleRate (void) |
| |
| void | setSourceSampleRate (float sampleRate) |
| |
| float | getSourceSampleRate (void) |
| |
| float | getNativeNoteFrequency (void) |
| |
| void | setInterpolationType (InterpolationType newInterpolationType) |
| |
| StereoSample | makeRamp (StereoSample startValue, int samples) |
| | Create a ramp in the buffer.
|
| |
| StereoSample | getLastSample () |
| | Get the last stereo sample from the audio buffer.
|
| |
| StereoSample | getInterpolatedSample (double index) |
| | Get a stereo sample from the audio buffer.
|
| |
| float | getInterpolatedSampleMono (float playHead) |
| |
| KrotosAudioBuffer | getMonoBuffer () |
| |
| void | reverse (int channel, int startSample, int numSamples) |
| |
| void | reverse (int startSample, int numSamples) |
| |
| juce::AudioBuffer< float > & | getJuceAudioBuffer () |
| |
| void | equalPowerCrossFadeFrom (const KrotosAudioBuffer &previousBuffer) |
| |
| float | findAbsMax () |
| |
| void | normaliseTo (float scale) |
| |
|
| void | timerCallback () override |
| |
| void | run () override |
| |
| void | cleanupAnalysis () |
| |
| std::vector< float > | averageBufferToMono () |
| |
| std::vector< std::vector< float > > | segmentOnsetSlices (std::vector< int > onsetPositions, std::vector< float > signalBufferMono) |
| |
| std::vector< std::vector< float > > | segmentChunks (std::vector< int > onsetPositions, std::vector< float > signalBufferMono, std::size_t window_length) |
| |
| std::vector< int > | chunk (const std::vector< float > &bufferVector, std::size_t window_length, std::size_t hop_length) |
| |
| std::vector< int > | envelopeOnsetDetection (const std::vector< float > &bufferVector, float samplerate) |
| |
| std::vector< int > | superFluxOnsetDetection (float samplerate) |
| |
| std::vector< AudioDescriptor > | getDescriptorsTime (const std::vector< std::vector< float > > &timeDomainSlices, const std::vector< int > &onsetPositions) |
| |
| std::vector< std::vector< float > > | mfccFeatureExtraction (std::vector< std::vector< float > > &timeDomainSlices, const std::vector< int > &onsetPositions) |
| |
| std::vector< std::vector< float > > | temporalFeatureExtraction (std::vector< std::vector< float > > &timeDomainSlices) |
| |
| std::vector< std::vector< float > > | specCntrRMS_FeatureExtraction (std::vector< std::vector< float > > &timeDomainSlices) |
| |
| std::vector< std::vector< float > > | specFlatnessRMS_FeatureExtraction (std::vector< std::vector< float > > &timeDomainSlices) |
| |
| std::vector< std::vector< float > > | erbSpecCentroidRMS_FeatureExtraction (std::vector< std::vector< float > > &timeDomainSlices) |
| |
| std::vector< std::vector< float > > | erbSpecCentroidFlatness_FeatureExtraction (std::vector< std::vector< float > > &timeDomainSlices) |
| |
| std::vector< std::vector< float > > | harmonicPitchEstimation (std::vector< std::vector< float > > &timeDomainSlices) |
| |
| std::vector< std::vector< float > > | pitchPeakRMSFeatureExtraction (std::vector< std::vector< float > > &timeDomainSlices) |
| |
| void | applyPCA (std::vector< std::vector< float > > &features, const std::size_t &n_components) |
| |
| void | setFeaturesAndNormalise (const std::vector< std::vector< float > > &features, std::vector< AudioDescriptor > &descriptorsTime) |
| |
| void | buildKNNIndex (const std::vector< AudioDescriptor > &descriptorsTime) |
| |
| void | buildKNNIndexWithZ (const std::vector< AudioDescriptor > &descriptorsTime) |
| |
| void | sortByZ (const std::vector< AudioDescriptor > &descriptorsTime) |
| |