Permalink
Browse files

Fixed customRender example

  • Loading branch information...
giuliomoro committed Oct 17, 2017
1 parent 4ce6734 commit 0eca02e89f6a1d05658117cb68fb4cd43714a244
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/08-PureData/customRender/heavy/render.cpp
@@ -576,7 +576,7 @@ void render(BelaContext *context, void *userData)
} else {
if(ch >= context->audioOutChannels) {
int m = n/2;
context->analogOut[m * context->analogFrames + (ch-context->audioOutChannels)] = constrain(gHvOutputBuffers[ch*context->audioFrames + n],0.0,1.0);
context->analogOut[m * context->analogOutChannels + (ch-context->audioOutChannels)] = gHvOutputBuffers[ch*context->audioFrames + n];
} else {
context->audioOut[n * context->audioOutChannels + ch] = gHvOutputBuffers[ch * context->audioFrames + n] * lfo; // MODIFICATION (* lfo)
}

0 comments on commit 0eca02e

Please sign in to comment.