sparx

Labels, banks and conditions

7 posts in this topic

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

Share this post


Link to post
Share on other sites

Thanks, but don't think thats what I was after, there will be two lists of instrument names, one for each bank, what would be the best way to display the correct instrument name rather than just the bank name?

 

Thanks again

 

S

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Before starting with the implementation, I would like to know if somebody has some additional usecases for the "conditional event" feature in mind?

 

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Now released in v1.017 - have fun! :)

 

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now