summaryrefslogtreecommitdiff
path: root/sms/sms.h
diff options
context:
space:
mode:
authorJohn Glover <glover.john@gmail.com>2010-12-08 18:45:14 +0000
committerJohn Glover <glover.john@gmail.com>2010-12-08 18:45:14 +0000
commitd7eb9bcda3848ce1b3816d428e8dd66d9b0e02d8 (patch)
treefa51471e087d8d116bffb4969a4c1b14b0438cfe /sms/sms.h
parent2a7cc2153f7445453422d74d87d2ce0cf9de51ff (diff)
downloadsimpl-d7eb9bcda3848ce1b3816d428e8dd66d9b0e02d8.tar.gz
simpl-d7eb9bcda3848ce1b3816d428e8dd66d9b0e02d8.tar.bz2
simpl-d7eb9bcda3848ce1b3816d428e8dd66d9b0e02d8.zip
SMSPeakDetection bug fixes
Diffstat (limited to 'sms/sms.h')
-rw-r--r--sms/sms.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sms/sms.h b/sms/sms.h
index a0c5a70..6e5e407 100644
--- a/sms/sms.h
+++ b/sms/sms.h
@@ -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);