I’d like to see a feature of AbleSet sending MIDI notes for Guide Cues.
For now I run it through Companion using Generic MIDI Connection and rtpMIDI for Ableton to receive notes.
[Feedback.QueuedSectionGuideCue]: {
type: 'boolean',
name: 'Queued Section Guide',
defaultStyle: {},
callback: ({ options }) => {
const queuedSectionIndex = Number(this.getVariableValue('queuedSectionIndex'))
if (
queuedSectionIndex === -1 || queuedSectionIndex === this.activeSectionIndex + 1 ||
!String(this.getVariableValue('queuedSectionName')).startsWith(String(options.sectionName))
) {
this.log('debug', 'GuideCue: False')
return false
}
const activeSectionEnd = Number(this.getVariableValue('activeSectionEnd') ?? 0)
const beatsPosition = Number(this.getVariableValue('beatsPosition') ?? 0)
const barBeats = Number(this.getVariableValue('timeSignatureNumerator')) == 4 ? 4 : 6
return activeSectionEnd - barBeats === beatsPosition
},
options: [
{
id: 'sectionName',
label: 'Section Name',
type: 'textinput',
default: '',
},
],
}
Triggers look like this:
- Events: On condition becoming true
- Condition: My custom Feedback
- Actions: generic-midi Note On, generic-midi: Note Off (10ms delay)
The delay is quite noticeable, but for Guide Cues it’s not crucial.
The whole approach isn’t optimal so I’d suggest AbleSet read midi track of +GUIDE and send those notes 1 or 2 bars (might let users to customize “lookahead” option) before queued section.