diff audioio/ContinuousSynth.cpp @ 325:7bdfbaa8d93f tonioni

tiny edit to harmomnic number h in case of 3 sinusoids
author Justin Salamon <justin.salamon@nyu.edu>
date Thu, 16 Jan 2014 18:02:16 -0500
parents 5c69d40a0e30
children 8e44c7302cf3
line wrap: on
line diff
--- 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;