1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-01-10 06:30:41 +00:00

Fix playback when LFO == 0

This commit is contained in:
dschmenk 2017-04-26 22:04:37 -07:00
parent 2184703454
commit 3d7a60fd2b
2 changed files with 3 additions and 3 deletions

View File

@ -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

Binary file not shown.