Hello,
i created a list. now if i select an item on the list A,B,C or D I want a separate midi CC to be send.
So I need some kind of logic which creates a midi message in relation to the selected item.
I know that a list send values like 0,1,2,3 etc. . Something like an if statement which only
produces an output when the condition is met.
many thanx in advance
cheers
mark
List output to midi message
the simplest way i see is emit a dedicaced CC per item, that way no need of N conditional statements. here are two ways of doing:
A) the listbox will output selection nb 0,1,2,3,4 then can use a mapper value to say ie if list is 0, affect 71 on output
B) Can assign values directly in listbox using "name of item = value" then no need of mapper
in both case those are connected to code 1, wich in case message type is CC will be CC number, then code 2 is value, here is a constant 127.
each time there is an item change, send a message to CC nb, value 127

A) the listbox will output selection nb 0,1,2,3,4 then can use a mapper value to say ie if list is 0, affect 71 on output
B) Can assign values directly in listbox using "name of item = value" then no need of mapper
in both case those are connected to code 1, wich in case message type is CC will be CC number, then code 2 is value, here is a constant 127.
each time there is an item change, send a message to CC nb, value 127

-
funkyguitarist
- Member
- Posts: 40
- Contact:
hello,
thank you for your prompt reply,
that does all make sense and it is much simpler than i expected.
i will give it a try
cheers
mark
thank you for your prompt reply,
that does all make sense and it is much simpler than i expected.
i will give it a try
cheers
mark
Who is online
Users browsing this forum: No registered users and 8 guests
