# HG changeset patch # User Justin Salamon # Date 1389913336 18000 # Node ID 7bdfbaa8d93ff87a1781635f197b01f416f5b70c # Parent ce2b123fc2ded65bd65215f1eb71b4b1d07a68c7 tiny edit to harmomnic number h in case of 3 sinusoids diff -r ce2b123fc2de -r 7bdfbaa8d93f audioio/ContinuousSynth.cpp --- a/audioio/ContinuousSynth.cpp Thu Jan 16 15:49:26 2014 -0500 +++ b/audioio/ContinuousSynth.cpp Thu Jan 16 18:02:16 2014 -0500 @@ -121,7 +121,7 @@ v = sin(hp) / hn; break; default: // 3 sinusoids - hn = h*2 + 1; + hn = h + 1; hp = m_phase * hn; v = sin(hp) / hn; break;