diff options
author | John Glover <glover.john@gmail.com> | 2010-12-08 18:45:14 +0000 |
---|---|---|
committer | John Glover <glover.john@gmail.com> | 2010-12-08 18:45:14 +0000 |
commit | d7eb9bcda3848ce1b3816d428e8dd66d9b0e02d8 (patch) | |
tree | fa51471e087d8d116bffb4969a4c1b14b0438cfe /sms/sms.h | |
parent | 2a7cc2153f7445453422d74d87d2ce0cf9de51ff (diff) | |
download | simpl-d7eb9bcda3848ce1b3816d428e8dd66d9b0e02d8.tar.gz simpl-d7eb9bcda3848ce1b3816d428e8dd66d9b0e02d8.tar.bz2 simpl-d7eb9bcda3848ce1b3816d428e8dd66d9b0e02d8.zip |
SMSPeakDetection bug fixes
Diffstat (limited to 'sms/sms.h')
-rw-r--r-- | sms/sms.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -580,12 +580,12 @@ int sms_init(); void sms_free(); int sms_initAnalysis(SMS_AnalParams *pAnalParams); void sms_initAnalParams(SMS_AnalParams *pAnalParams); -void sms_changeHopSize(int hopSize, SMS_AnalParams *pAnalParams); void sms_initSynthParams(SMS_SynthParams *synthParams); int sms_initSynth(SMS_SynthParams *pSynthParams); -int sms_changeSynthHop(SMS_SynthParams *pSynthParams, int sizeHop); void sms_freeAnalysis(SMS_AnalParams *pAnalParams); -void sms_freeSynth(SMS_SynthParams *pSynthParams ); +void sms_freeSynth(SMS_SynthParams *pSynthParams); +int sms_initSpectralPeaks(SMS_SpectralPeaks* peaks, int n); +void sms_freeSpectralPeaks(SMS_SpectralPeaks* peaks); void sms_fillSoundBuffer(int sizeWaveform, sfloat *pWaveform, SMS_AnalParams *pAnalParams); void sms_windowCentered(int sizeWindow, sfloat *pWaveform, sfloat *pWindow, int sizeFft, sfloat *pFftBuffer); |