I was looking to map the left cue and fx buttons from my xponent differently.
For example the effects 1 to 4 from the left side mapped to samples 1 to 4
effects 1 to 4 from the right side mapped to samples 5 to 8
Can't see this being possible only with the script....
Was thinking about an xml configuration file in the devices.... but don't have a good example to start from.
Anyone can help on this?
For example the effects 1 to 4 from the left side mapped to samples 1 to 4
effects 1 to 4 from the right side mapped to samples 5 to 8
Can't see this being possible only with the script....
Was thinking about an xml configuration file in the devices.... but don't have a good example to start from.
Anyone can help on this?
Posted Sat 23 Jan 10 @ 12:50 pm
For symmetrical designed controllers supporting 2 decks, 99% of the time the buttons are defined with the same name and assigned to a deck. That way you only have to map 1 button and get respective action on each deck.
To split the mapping back into 2 separate action states, you only need to know which deck the button action is coming from. So, using a statement like this for the 4 buttons will get you what you want - action_deck 1 ? actionA : actionB
- Key FX1 - action_deck 1 ? sampler 1 play_stop : sampler 5 play_stop
- Key FX2 - action_deck 1 ? sampler 2 play_stop : sampler 6 play_stop
- Key FX3 - action_deck 1 ? sampler 3 play_stop : sampler 7 play_stop
- Key FX4 - action_deck 1 ? sampler 4 play_stop : sampler 8 play_stop
To split the mapping back into 2 separate action states, you only need to know which deck the button action is coming from. So, using a statement like this for the 4 buttons will get you what you want - action_deck 1 ? actionA : actionB
- Key FX1 - action_deck 1 ? sampler 1 play_stop : sampler 5 play_stop
- Key FX2 - action_deck 1 ? sampler 2 play_stop : sampler 6 play_stop
- Key FX3 - action_deck 1 ? sampler 3 play_stop : sampler 7 play_stop
- Key FX4 - action_deck 1 ? sampler 4 play_stop : sampler 8 play_stop
Posted Sat 23 Jan 10 @ 2:03 pm
That did the trick. overlooked the action_deck in the verbs wiki page.
Thanks cstoll for your help.
Thanks cstoll for your help.
Posted Tue 26 Jan 10 @ 7:38 am