From b8e12a9abd9d15a55fca0fe50d93fa5ae3143b9a Mon Sep 17 00:00:00 2001 From: John Glover Date: Tue, 26 Oct 2010 14:10:07 +0100 Subject: Added MQSynthesis, fixed a few bugs --- sms/sineSynth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sms') diff --git a/sms/sineSynth.c b/sms/sineSynth.c index aaca41d..58768bd 100644 --- a/sms/sineSynth.c +++ b/sms/sineSynth.c @@ -59,7 +59,7 @@ static void SinePhaSynth (sfloat fFreq, sfloat fMag, sfloat fPhase, (pLastFrame->pFSinFreq[iTrack] * sizeBuffer); fPhase = fTmp - floor(fTmp / TWO_PI) * TWO_PI; } - + /* caculate the instantaneous amplitude */ fMagIncr = (fMag - pLastFrame->pFSinAmp[iTrack]) / sizeBuffer; fInstMag = pLastFrame->pFSinAmp[iTrack]; -- cgit v1.2.3