Skip to content

groupType expansion should allow different numbers and extra elements #308

@adcxyz

Description

@adcxyz

groupType expansion should allow for different midiNums of its components,
and for adding more elements to the group:

// different number for polytouch :
(midiNum: [21, 21, 61], groupType: \noteOnOffTouch) 
// -> should expand to 
(
elements: [ 
(midiMsgType: \noteOn, midiNum: 21), 
(midiMsgType: \noteOff, midiNum: 21), 
(midiMsgType: \polyTouch, midiNum: 61)
])

// extra element: 
(midiNum: [21, 21, 61], groupType: \noteOnOffTouch, 
elements: [ (elementType: \led, ioType: \out, midiNum: 42) ]) 
// -> should expand to 
(
elements: [ 
(midiMsgType: \noteOn, midiNum: 21), 
(midiMsgType: \noteOff, midiNum: 21), 
(midiMsgType: \polyTouch, midiNum: 61),
(elementType: \led, ioType: \out, midiNum: 42)
])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions