From 67bd3b7ce79f82b495328c774dc4692d9f6447c9 Mon Sep 17 00:00:00 2001 From: John Glover Date: Wed, 8 Dec 2010 16:12:33 +0000 Subject: Fixed a SMS issue in sms_initSynth where having a hop size that was not a power of 2 would stop execution. Fixed another SMS test. --- sms/analysis.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'sms/analysis.c') diff --git a/sms/analysis.c b/sms/analysis.c index a435a5a..90bec7f 100644 --- a/sms/analysis.c +++ b/sms/analysis.c @@ -31,23 +31,6 @@ /*! \brief maximum size for magnitude spectrum */ #define SMS_MAX_SPEC 8192 -void printAnalysisParams(SMS_AnalParams* params) -{ - printf("fLowestFreq: %f\n" - "fHighestFreq: %f\n" - "fMinPeakMag: %f\n" - "iSamplingRate: %d\n" - "maxPeaks: %d\n" - "fHighestFundamental: %f\n" - "iRefHarmonic: %d\n" - "fMinRefHarmMag: %f\n" - "fRefHarmMagDiffFromMax: %f\n" - "iSoundType: %d\n", - params->fLowestFreq, params->fHighestFreq, params->fMinPeakMag, params->iSamplingRate, - params->maxPeaks, params->fHighestFundamental, params->iRefHarmonic, - params->fMinRefHarmMag, params->fRefHarmMagDiffFromMax, params->iSoundType); -} - /*! \brief compute spectrum, find peaks, and fundamental of one frame * * This is the main core of analysis calls -- cgit v1.2.3