From b189193f7de52d2093142016744ec3f012f0899d Mon Sep 17 00:00:00 2001 From: VansonLeung Date: Mon, 27 May 2024 16:53:37 +0800 Subject: [PATCH] Update 16-allmost-ready-to-use-oscillators.rst - Fix typo of a missing `)` Fix typo of a missing `)` --- source/Synthesis/16-allmost-ready-to-use-oscillators.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;