Skip to content

Commit

Permalink
set steps when playing
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Feb 26, 2021
1 parent ce7414a commit d22f477
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/granchild.lua
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ function Granchild:toggle_playing(col)
local voice=math.floor((col-1)/4)+1
self.voices[voice].is_playing=not self.voices[voice].is_playing
if self.voices[voice].is_playing then
params:set(voice.."pattern",json.encode(self.voices[voice].steps),true)
self.voices[voice].is_recording=false
self.voices[voice].step_val=0
end
Expand Down

0 comments on commit d22f477

Please sign in to comment.