Welcome to %s forums

BrainModular Users Forum

Login Register

List output to midi message

I need help on a Patch
Post Reply
funkyguitarist
Member
Posts: 40
Contact:

Unread post by funkyguitarist » 30 Nov 2016, 23:34

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

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 01 Dec 2016, 03:02

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

Image

funkyguitarist
Member
Posts: 40
Contact:

Unread post by funkyguitarist » 01 Dec 2016, 19:07

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

Post Reply

Who is online

Users browsing this forum: No registered users and 64 guests