Jump to content

Recommended Posts

Posted

The question was related to MIDIbox NG.

 

Here a configuration example for 4 banks: http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_ng_v1%2Fcfg%2Ftests%2Fencbanks.ngc

 

It shows how to send different CCs, but you could change the configuration to select different channels instead.

 

E.g. instead of:

# Bank 2
EVENT_ENC    id= 17  hw_id =  1  bank=2  fwd_id=LED_MATRIX:1    fwd_to_lcd=1  type=CC     chn= 1 cc= 32   range=  0:127 offset=  0  ports=1000100000001000  lcd_pos=1:1:1  label="ENC #%3i    %3d@(1:1:2)%B" 
EVENT_ENC    id= 18  hw_id =  2  bank=2  fwd_id=LED_MATRIX:2    fwd_to_lcd=1  type=CC     chn= 1 cc= 33   range=  0:127 offset=  0  ports=1000100000001000  lcd_pos=1:1:1  label="ENC #%3i    %3d@(1:2:2)%B" 
EVENT_ENC    id= 19  hw_id =  3  bank=2  fwd_id=LED_MATRIX:3    fwd_to_lcd=1  type=CC     chn= 1 cc= 34   range=  0:127 offset=  0  ports=1000100000001000  lcd_pos=1:1:1  label="ENC #%3i    %3d@(1:3:2)%B" 

write:

# Bank 2
EVENT_ENC    id= 17  hw_id =  1  bank=2  fwd_id=LED_MATRIX:1    fwd_to_lcd=1  type=CC     chn= 2 cc= 16   range=  0:127 offset=  0  ports=1000100000001000  lcd_pos=1:1:1  label="ENC #%3i    %3d@(1:1:2)%B" 
EVENT_ENC    id= 18  hw_id =  2  bank=2  fwd_id=LED_MATRIX:2    fwd_to_lcd=1  type=CC     chn= 2 cc= 17   range=  0:127 offset=  0  ports=1000100000001000  lcd_pos=1:1:1  label="ENC #%3i    %3d@(1:2:2)%B" 
EVENT_ENC    id= 19  hw_id =  3  bank=2  fwd_id=LED_MATRIX:3    fwd_to_lcd=1  type=CC     chn= 2 cc= 18   range=  0:127 offset=  0  ports=1000100000001000  lcd_pos=1:1:1  label="ENC #%3i    %3d@(1:3:2)%B" 
...

 

Best Regards, Thorsten.

Posted

Yes.

 

The example shows:

EVENT_BUTTON id=2000  type=Meta   meta=SetBank   button_mode=OnOnly range=1:1

With:

EVENT_BUTTON id=2000  type=Meta   meta=SetBank   button_mode=OnOff range=0:1

the button would set the second bank when press, and the first bank when depressed

 

Or with:

EVENT_BUTTON id=2000  type=Meta   meta=SetBank   button_mode=Toggle range=0:1

the button would toggle between the first and second bank

 

Best Regards, Thorsten.

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
×
×
  • Create New...