diff --git a/CHANGELOG.md b/CHANGELOG.md index a32fdc1..91832d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.3.3 + +* Fixed regression that stopped trig locks from displaying in the UI + # 0.3.2 * Chord notes trig params added. These can be used to append an additional note to trigs on a single channel, thereby forming a chord. Chords follow scales and locks. diff --git a/README.md b/README.md index becf599..e4d02f5 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ ## At a glance -As of v0.3.2 _Mosaic_ gives you the following: +As of v0.3.3 _Mosaic_ gives you the following: - 16 channels that can each output triggers, notes, note length, velocity and CC to a midi device or an n.b. voice - 16 patterns that can be combined and merged in different permutations to change their properties in very musical ways diff --git a/lib/pages/channel_edit_page_controller.lua b/lib/pages/channel_edit_page_controller.lua index 0ba3d28..217a3f0 100644 --- a/lib/pages/channel_edit_page_controller.lua +++ b/lib/pages/channel_edit_page_controller.lua @@ -195,6 +195,7 @@ function channel_edit_page_controller.register_press_handlers() tooltip:show("Channel " .. program.get().selected_channel .. " selected") channel_edit_page_controller.refresh() channel_edit_page_ui_controller.refresh() + channel_edit_page_ui_controller.refresh_trig_lock_values() end end ) diff --git a/lib/pages/channel_edit_page_ui_controller.lua b/lib/pages/channel_edit_page_ui_controller.lua index 3cddaf1..20e40fc 100644 --- a/lib/pages/channel_edit_page_ui_controller.lua +++ b/lib/pages/channel_edit_page_ui_controller.lua @@ -1043,6 +1043,7 @@ function channel_edit_page_ui_controller.refresh_trig_locks() local channel = program.get_selected_channel() local pressed_keys = grid_controller.get_pressed_keys() + channel_edit_page_ui_controller.refresh_trig_lock_values() for i = 1, 10 do if channel.trig_lock_params[i].id ~= nil then m_params[i]:set_name(channel.trig_lock_params[i].name) @@ -1081,7 +1082,7 @@ function channel_edit_page_ui_controller.refresh_trig_locks() m_params[i]:set_bottom_label("") end end - channel_edit_page_ui_controller.refresh_trig_lock_values() + end function channel_edit_page_ui_controller.refresh_param_list() diff --git a/lib/sinfonion_harmonic_sync.lua b/lib/sinfonion_harmonic_sync.lua index 142e02d..bcf8710 100644 --- a/lib/sinfonion_harmonic_sync.lua +++ b/lib/sinfonion_harmonic_sync.lua @@ -198,7 +198,7 @@ end function sinfonion.init() local serial_loop = metro.init() serial_loop.event = send_next - serial_loop.time = 0.005 + serial_loop.time = 0.01 serial_loop.count = -1 serial_loop:start() end diff --git a/lib/step_handler.lua b/lib/step_handler.lua index dd783a6..326187c 100644 --- a/lib/step_handler.lua +++ b/lib/step_handler.lua @@ -265,6 +265,10 @@ function step_handler.handle(c, current_step) local midi_device = program.get().devices[channel.number].midi_device local octave_mod = channel.octave + -- if length_value == nil or length_value < 1 then + -- length_value = 1 + -- end + if program.get_step_octave_trig_lock(channel, current_step) then octave_mod = program.get_step_octave_trig_lock(channel, current_step) end @@ -288,6 +292,7 @@ function step_handler.handle(c, current_step) if trig_value == 1 and random_val < trig_prob then channel_edit_page_ui_controller.refresh_trig_locks() + channel_edit_page_ui_controller.refresh_trig_lock_values() local random_shift = fn.transform_random_value(step_handler.process_stock_params(c, current_step, "bipolar_random_note") or 0) random_shift = diff --git a/mosaic.lua b/mosaic.lua index c138cb8..26b85af 100644 --- a/mosaic.lua +++ b/mosaic.lua @@ -1,4 +1,4 @@ --- mosaic v0.3.2 +-- mosaic v0.3.3 -- grid-centric, intentioned -- generative sequencer. --