Skip to content

Commit

Permalink
Merge pull request #32 from subvertnormality/0.3.2
Browse files Browse the repository at this point in the history
0.3.2
  • Loading branch information
subvertnormality authored Oct 24, 2023
2 parents 742802b + 1af7352 commit bb5b073
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions lib/pages/channel_edit_page_controller.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
3 changes: 2 additions & 1 deletion lib/pages/channel_edit_page_ui_controller.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion lib/sinfonion_harmonic_sync.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions lib/step_handler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 =
Expand Down
2 changes: 1 addition & 1 deletion mosaic.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- mosaic v0.3.2
-- mosaic v0.3.3
-- grid-centric, intentioned
-- generative sequencer.
--
Expand Down

0 comments on commit bb5b073

Please sign in to comment.