Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

groupType expansion should allow different numbers and extra elements #308

Open
adcxyz opened this issue Jul 9, 2017 · 0 comments
Open

Comments

@adcxyz
Copy link
Contributor

adcxyz commented Jul 9, 2017

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)
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant