set thepatch to 1
set thech to 1
tell application id "com.figure53.QLab.4" to tell front workspace
repeat with midinote from 0 to 127
make type "midi"
set thecue to last item of (selected as list)
set the midi trigger of thecue to enabled
set the midi command of thecue to note_off
set the midi byte one of thecue to midinote
set the midi byte two of thecue to 0
set the message type of thecue to voice
set the patch of thecue to thepatch
set the channel of thecue to thech
set the command of thecue to note_on
set the byte one of thecue to midinote
set the byte two of thecue to 0
set the q name of thecue to "Trigger MIDI note " & midinote & " off to send MIDI note " & midinote & " Velocity 0 to IAC Bus"
end repeat
end tell
Screen recording and workspace attached set the cue target of thecue to cue midinote
or
set the cue target of thecue to (first cue whose q name is midinote)
Unlike generated MIDI cues or Network cues with OSC messages a cue actually has to exist before a start cue can target it.
(I'll look at the MIDI note on /off velocity issues in my next post)
Mic
set the cue target of thecue to cue (midinote as string)
Was this ever implemented? I have been testing a workbook and sending velocity 0 doesnt seem to act as second trigger, but sending note off does...
--
Contact support anytime: sup...@figure53.com
Follow QLab on Twitter: https://twitter.com/QLabApp
User Group Code of Conduct: https://qlab.app/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/CAOOK5AYm1DANc4Qs6LgiM%2BoVZsoNuwVCa7aVPZti6GsUgBvaJA%40mail.gmail.com.