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.

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