Skip to content

Commit

Permalink
[kyma] Temporary switch audio outs
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiashienzsch committed May 19, 2023
1 parent b482062 commit 92c1dbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/kyma/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ auto audioCallback(daisy::AudioHandle::InputBuffer in, daisy::AudioHandle::Outpu
auto const env = adsr.processSample();
patch.WriteCvOut(daisy::patch_sm::CV_OUT_1, env * 5.0F);

auto const osc = oscillator() * env;
auto const sub = subOscillator() * env * subGain;
auto const osc = oscillator() * 0.5F;
auto const sub = subOscillator() * subGain * 0.5F;

OUT_L[i] = osc;
OUT_R[i] = osc + sub;
OUT_R[i] = (osc + sub) * env;
}
}

Expand Down

0 comments on commit 92c1dbc

Please sign in to comment.