summaryrefslogtreecommitdiff
path: root/sms/sineSynth.c
diff options
context:
space:
mode:
authorJohn Glover <glover.john@gmail.com>2010-10-26 14:10:07 +0100
committerJohn Glover <glover.john@gmail.com>2010-10-26 14:10:07 +0100
commitb8e12a9abd9d15a55fca0fe50d93fa5ae3143b9a (patch)
treeb56aa68f85f6f796084ca9f1dd747b8dd5c66c02 /sms/sineSynth.c
parent6f77a1d31d008f1b896aef59e4acfc9742d62d1a (diff)
downloadsimpl-b8e12a9abd9d15a55fca0fe50d93fa5ae3143b9a.tar.gz
simpl-b8e12a9abd9d15a55fca0fe50d93fa5ae3143b9a.tar.bz2
simpl-b8e12a9abd9d15a55fca0fe50d93fa5ae3143b9a.zip
Added MQSynthesis, fixed a few bugs
Diffstat (limited to 'sms/sineSynth.c')
-rw-r--r--sms/sineSynth.c2
1 files changed, 1 insertions, 1 deletions
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];