Skip to content

Commit

Permalink
raise SCALE_LENGTH to 32 for grid 256 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Arweiler committed Feb 9, 2020
1 parent 07201c6 commit 2041313
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ local config = {
NOTES = {}, -- constructed on init
NOTE_NAMES = {}, -- constructed on init
SCALE_NAMES = {}, -- constructed on init
SCALE_LENGTH = 24
SCALE_LENGTH = 32
},
SEQ = {
MODES = {
Expand Down
4 changes: 2 additions & 2 deletions zellen.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- zellen v1.3.2
-- zellen v1.3.3
--
-- sequencer based on
-- conway's game of life
Expand Down Expand Up @@ -298,7 +298,7 @@ local function play_seq_step()
if (state.beats[(state.beat_step % beat_seq_lengths) + 1] or seq_mode == 1) then
if (state.play_pos <= #state.playable_cells) then
state.seq.position = state.playable_cells[state.play_pos]
local midi_note = state.scale[(state.seq.position.x - 1) + state.seq.position.y]
local midi_note = math.min(state.scale[(state.seq.position.x - 1) + (state.seq.position.y)], 127)
local support_mode = params:get("crow_support_mode")

-- crow support note
Expand Down

0 comments on commit 2041313

Please sign in to comment.