diff --git a/source/Synthesis/16-allmost-ready-to-use-oscillators.rst b/source/Synthesis/16-allmost-ready-to-use-oscillators.rst index 6059e3e..3c4a5c2 100644 --- a/source/Synthesis/16-allmost-ready-to-use-oscillators.rst +++ b/source/Synthesis/16-allmost-ready-to-use-oscillators.rst @@ -43,7 +43,7 @@ { int i = (int) phase; - phase += (sampleRate/(float TableSize)/frequency; + phase += (sampleRate/(float)TableSize)/frequency; if(phase >= (float)TableSize) phase -= (float)TableSize;