i am looking for a way to switch pattern via midi and keeping the play position (like right-click on the pattern editor play button).
there seems to be a osc tool “jumper” which can do it but no other way.
is there a way for this :
GlobalMappings/Seq-Triggering/Trigger/Sequence XX (set) with the only difference that it keeps the play-position ?
i believe its necessary to change the play position in this code from “globalmidiactions.lua”:
add_action(“Seq. Triggering:Trigger:Sequence XX [Set]”,
function(message)
if message:is_abs_value() then
local sequence_pos = clamp_value(
message.int_value, 1, song().transport.song_length.sequence)
song().transport:trigger_sequence(sequence_pos)
end
end)
talking about the same stuff. the user kazacore submitted a tool but the tool doesn’t seem to work anymore and it was “sequence XX (trigger)” where you map a Midi-CC number for each pattern.
i think for everyone with scripting capabilitys that problem is trivial but i just don t get abd begin to go crazy…
I would be very glad if someone could help me,
bye!
(p.s
i hope this should not be in the beginners thread)
If you’re referring to my OSC Jumper tool, the code for that can be adapted to respond to MIDI just as well. OSC has an advantage in that you can pass along numerous values with the message. You’d have to look at what values are passed form the OSC into Lua functions that do the jumping, and use that in you GlobalMidiActions file
My point was that you could take the Lua code and change it from being triggered by OSC to being triggered by MIDI (working off the values of channel, note, and velocity).