mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-08-17 21:27:54 +00:00
Fix playback when LFO == 0
This commit is contained in:
@@ -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.
Reference in New Issue
Block a user