diff options
author | John Glover <glover.john@gmail.com> | 2010-10-26 14:10:07 +0100 |
---|---|---|
committer | John Glover <glover.john@gmail.com> | 2010-10-26 14:10:07 +0100 |
commit | b8e12a9abd9d15a55fca0fe50d93fa5ae3143b9a (patch) | |
tree | b56aa68f85f6f796084ca9f1dd747b8dd5c66c02 /sms | |
parent | 6f77a1d31d008f1b896aef59e4acfc9742d62d1a (diff) | |
download | simpl-b8e12a9abd9d15a55fca0fe50d93fa5ae3143b9a.tar.gz simpl-b8e12a9abd9d15a55fca0fe50d93fa5ae3143b9a.tar.bz2 simpl-b8e12a9abd9d15a55fca0fe50d93fa5ae3143b9a.zip |
Added MQSynthesis, fixed a few bugs
Diffstat (limited to 'sms')
-rw-r--r-- | sms/sineSynth.c | 2 |
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]; |