=======================================================================
| 25 | |
| 26 | //======================================================================= |
| 27 | OnsetDetectionFunction::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 | //======================================================================= |
| 41 | OnsetDetectionFunction::OnsetDetectionFunction (int hopSize_, int frameSize_, int onsetDetectionFunctionType_, int windowType_) |
nothing calls this directly
no outgoing calls
no test coverage detected