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:
parent
2184703454
commit
3d7a60fd2b
@ -304,8 +304,8 @@ def playback(idx)
|
|||||||
//
|
//
|
||||||
for i = 0 to 13
|
for i = 0 to 13
|
||||||
if keytone[i] == key
|
if keytone[i] == key
|
||||||
if LFO == 0
|
if current.LFO == 0
|
||||||
hilopwm(scale[i] >> current.octave, current.LFO, 0)
|
hilopwm(scale[i] >> current.octave, 0, 0)
|
||||||
else
|
else
|
||||||
hilopwm(scale[i] >> current.octave, current.LFO, current.idxLFO)
|
hilopwm(scale[i] >> current.octave, current.LFO, current.idxLFO)
|
||||||
fin
|
fin
|
||||||
@ -403,7 +403,7 @@ def main
|
|||||||
for i = 0 to 13
|
for i = 0 to 13
|
||||||
if keytone[i] == key
|
if keytone[i] == key
|
||||||
if current.LFO == 0
|
if current.LFO == 0
|
||||||
hilopwm(scale[i] >> current.octave, current.LFO, 0)
|
hilopwm(scale[i] >> current.octave, 0, 0)
|
||||||
else
|
else
|
||||||
hilopwm(scale[i] >> current.octave, current.LFO, current.idxLFO)
|
hilopwm(scale[i] >> current.octave, current.LFO, current.idxLFO)
|
||||||
fin
|
fin
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user