MCPcopy Create free account
hub / github.com/adamstark/BTrack / processAudioFrame

Method processAudioFrame

src/BTrack.cpp:210–217  ·  view source on GitHub ↗

=======================================================================

Source from the content-addressed store, hash-verified

208
209//=======================================================================
210void BTrack::processAudioFrame (double* frame)
211{
212 // calculate the onset detection function sample for the frame
213 double sample = odf.calculateOnsetDetectionFunctionSample (frame);
214
215 // process the new onset detection function sample in the beat tracking algorithm
216 processOnsetDetectionFunctionSample (sample);
217}
218
219//=======================================================================
220void BTrack::processOnsetDetectionFunctionSample (double newSample)

Callers 3

btrack_processFunction · 0.80
processMethod · 0.80
detectBeatsFunction · 0.80

Tested by

no test coverage detected