commit e7ec4d407d57e49e7f3416737dfec6433c0ba169 parent 21e395b14cf8d08e63e144222e10ca1a172ece10 Author: fundamental <mark.d.mccurry@gmail.com> Date: Sat, 22 May 2010 13:54:51 -0400 OscilGen: fix custom wave case Diffstat:
M | src/Synth/OscilGen.cpp | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/Synth/OscilGen.cpp b/src/Synth/OscilGen.cpp @@ -1334,6 +1334,9 @@ base_func getBaseFunction(unsigned char func) if(!func) return NULL; + if(func == 127) //should be the custom wave + return NULL; + func--; assert(func < 13); base_func functions[] = {