Add conditional to loop back position after it reaches num_of_notes
This commit is contained in:
@@ -3,6 +3,9 @@ if position == nil then
|
||||
position = 0
|
||||
end
|
||||
position = position + 1
|
||||
if position > num_of_notes then
|
||||
position = 1
|
||||
end
|
||||
mem.position = position
|
||||
|
||||
if pin.b then
|
||||
|
||||
Reference in New Issue
Block a user