Jump to content

Labels, banks and conditions


sparx
 Share

Recommended Posts

Hello all

 

Been playing about with the NG project today, its great!

 

I'm driving a synth board which has two banks of sounds, first is General MIDI, so have set up an encoder to generate program change messages and display them on the LCD. All is fine.

Set up a toggle button and LED to switch to the other bank on (CC0=127), what is the best way to check the value of CC0 and display the correct voice?

 

Was thinking of something like an IFTHEN ELSE function but perhaps there is another way?

 

Thanks

 

S

Link to comment
Share on other sites

Ok, understood.

Something like "conditional events" are not available yet. Please give me some time to think about a good solution which also covers other topics on the Agenda.

E.g. it would not only be nice to print labels depending on values of certain elements, but also to send different MIDI messages.
E.g. this would allow to send different CCs when an encoder is incremented/decremented. Or it would allow to realize a "split point" for a MIDI keyboard.

It could work somehow like demonstrated in this snippet:

/edit: final solution:

http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_ng_v1%2Fcfg%2Ftests%2Fconev_5.ngc

 

But also:

/edit: final solution: http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_ng_v1%2Fcfg%2Ftests%2Fconev_4.ngc

 

 

Best Regards, Thorsten.

Link to comment
Share on other sites

  • 2 weeks later...

I started with the conditional events.

 

You case is already working:

http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_ng_v1%2Fcfg%2Ftests%2Fconev_5.ngc

 

But the conceptional work isn't finished yet - there are some other cases I would like to cover as well, but which can't be handled by the current algorithm.

 

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...