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

Method OnsetDetectionFunction

src/OnsetDetectionFunction.cpp:27–38  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

25
26//=======================================================================
27OnsetDetectionFunction::OnsetDetectionFunction (int hopSize_, int frameSize_)
28 : onsetDetectionFunctionType (ComplexSpectralDifferenceHWR), windowType (HanningWindow)
29{
30 // indicate that we have not initialised yet
31 initialised = false;
32
33 // set pi
34 pi = 3.14159265358979;
35
36 // initialise with arguments to constructor
37 initialise (hopSize_, frameSize_, ComplexSpectralDifferenceHWR, HanningWindow);
38}
39
40//=======================================================================
41OnsetDetectionFunction::OnsetDetectionFunction (int hopSize_, int frameSize_, int onsetDetectionFunctionType_, int windowType_)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected