From 3d7a60fd2b0e1437c6f11b4cf50f263af9aa1a95 Mon Sep 17 00:00:00 2001 From: dschmenk Date: Wed, 26 Apr 2017 22:04:37 -0700 Subject: [PATCH] Fix playback when LFO == 0 --- src/samplesrc/a2pwm/hilopwm.pla | 6 +++--- src/samplesrc/a2pwm/lfo.po | Bin 143360 -> 143360 bytes 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/samplesrc/a2pwm/hilopwm.pla b/src/samplesrc/a2pwm/hilopwm.pla index 866bc2e..75937a1 100755 --- a/src/samplesrc/a2pwm/hilopwm.pla +++ b/src/samplesrc/a2pwm/hilopwm.pla @@ -304,8 +304,8 @@ def playback(idx) // for i = 0 to 13 if keytone[i] == key - if LFO == 0 - hilopwm(scale[i] >> current.octave, current.LFO, 0) + if current.LFO == 0 + hilopwm(scale[i] >> current.octave, 0, 0) else hilopwm(scale[i] >> current.octave, current.LFO, current.idxLFO) fin @@ -403,7 +403,7 @@ def main for i = 0 to 13 if keytone[i] == key if current.LFO == 0 - hilopwm(scale[i] >> current.octave, current.LFO, 0) + hilopwm(scale[i] >> current.octave, 0, 0) else hilopwm(scale[i] >> current.octave, current.LFO, current.idxLFO) fin diff --git a/src/samplesrc/a2pwm/lfo.po b/src/samplesrc/a2pwm/lfo.po index c99952b73db8a2fc5b45fd822fcc3b204c6970bf..5cae115a8aba72cacf7df8994bb615b99407a41f 100755 GIT binary patch delta 285 zcmZp8z|ru4V?#QNfVv{XEG27E28PEB3LwVja+Y3S#-E#6gP!v-c{^-oWKv?>ERb}J zhw;kfhm(a>+!=V(}n$v!2Gj2|YSD=`ufbDa5(q2t2$mWM0%w?10=bFx6`hsgp=EKOz0${2S6 E0QP)Wr2qf` delta 270 zcmZp8z|ru4V?#QNfVLvTEG1b!28PEB3LwVja+Y3S#=o0cgP!v-`8#Z8WKv?>ERb}J zXYzx|k_vh$Y)lC$tPVcr3|ia_4n7hLY64)fj2}8O89#L<^W`gYZT)YM!luRR;!`l$ zGGA+Q-V`nkBP)XdGe#{@J5dIpN-btLA5IX1r{afBfE=S12UMJK^OSrMMn>hyD+@x* zJefmY=!aa;FJWZJVbbEY@MPdolhaFK0y==v!N-CDXdT=IKtY%b3=0(}CrlIDoKbk6 uiE+bZkCH~lPm@oT7zs!@&V0wvap8N*!