generic Red Box script
Posted: Sun Aug 12, 2012 2:27 am
I wanted to activate the Red Box (feature of APC40, Launchpad, etc.) in Live so I could use it with my own custom controller. I modified a script from http://remotescripts.blogspot.com/ to make a generic 'red box script' for any MIDI controller. I am sharing it here in case it helps anyone else out, because i did not find another simple solution out there.
The script activates the red box and sets the box size, starting position, and which midi channel and midi notes that it responds to. you send it midi notes to move the box around and to launch the clips that it is highlighting.
I configured it to have a 4x4 size box, but the script can be modified to have a different grid size. This added the red box functionality and did not interfere with any of my existing MIDI functionality or mappings. Your mileage may vary! I have tried this only on Windows Vista with Live 7.0.18. I am not sure how it will work with other versions, but you are welcome to try it!
-----------------------
download RedBox.zip
[ http://www.sendspace.com/file/vtldfi ]
-----------------------
installation:
- Copy RedBox folder to Ableton's MIDI Remote Scripts folder (example: C:\Program Files\Ableton\Live 7.0.18\Resources\MIDI Remote Scripts)
- Launch Ableton and open Preferences > MIDI Sync Tab
- In drop-down Box under 'Control Surface', select 'RedBox'
- In next drop-down Box under 'Input', select MIDI device that your controller is sending MIDI data on.
- *IF you want Ableton to send visual feedback to your controller: In next drop-down Box under 'Output', select MIDI device that your controller is receiving MIDI data on.
instructions:
- 4x4 red box should appear and should be controllable by MIDI.
- default MIDI channel 1
- default MIDI notes to move the red box left/right/up/down are 52/53/58/59
- default MIDI notes to launch clips are:
48,49,50,51
54,55,56,57
60,61,62,63
64,65,66,67
- configure your controller to send those values to ableton to control the red box and to launch clips, or modify the script to change those values to suit your needs.
- i noticed that sending Midi Note ON to move the box will make the box scroll until you send the Note OFF. when I send the On and Off together it just moves it one space.
-----------------------
modifying the script:
- edit the Variables section of the file RedBox.py to change:
box size (width and height)
box offset (start position)
MIDI channel that your controller uses
midi notes for left/right/up/down buttons
midi notes for clip launch buttons
see the notes in the file for tips on changing the size of the box, because you will need to add or remove and change a couple lines of code if you change the box size.
add multiple highlight boxes if you want to access different sets of clips with different controllers! copy the script to a new folder, call it 'RedBox2' or whatever, and set it up in ableton just like the first one. you can have multiple boxes, and each new box is a different color... red, yellow, purple, etc. i think each box has to be set to a different midi channel. you'll have to experiment with it.
The script activates the red box and sets the box size, starting position, and which midi channel and midi notes that it responds to. you send it midi notes to move the box around and to launch the clips that it is highlighting.
I configured it to have a 4x4 size box, but the script can be modified to have a different grid size. This added the red box functionality and did not interfere with any of my existing MIDI functionality or mappings. Your mileage may vary! I have tried this only on Windows Vista with Live 7.0.18. I am not sure how it will work with other versions, but you are welcome to try it!
-----------------------
download RedBox.zip
[ http://www.sendspace.com/file/vtldfi ]
-----------------------
installation:
- Copy RedBox folder to Ableton's MIDI Remote Scripts folder (example: C:\Program Files\Ableton\Live 7.0.18\Resources\MIDI Remote Scripts)
- Launch Ableton and open Preferences > MIDI Sync Tab
- In drop-down Box under 'Control Surface', select 'RedBox'
- In next drop-down Box under 'Input', select MIDI device that your controller is sending MIDI data on.
- *IF you want Ableton to send visual feedback to your controller: In next drop-down Box under 'Output', select MIDI device that your controller is receiving MIDI data on.
instructions:
- 4x4 red box should appear and should be controllable by MIDI.
- default MIDI channel 1
- default MIDI notes to move the red box left/right/up/down are 52/53/58/59
- default MIDI notes to launch clips are:
48,49,50,51
54,55,56,57
60,61,62,63
64,65,66,67
- configure your controller to send those values to ableton to control the red box and to launch clips, or modify the script to change those values to suit your needs.
- i noticed that sending Midi Note ON to move the box will make the box scroll until you send the Note OFF. when I send the On and Off together it just moves it one space.
-----------------------
modifying the script:
- edit the Variables section of the file RedBox.py to change:
box size (width and height)
box offset (start position)
MIDI channel that your controller uses
midi notes for left/right/up/down buttons
midi notes for clip launch buttons
see the notes in the file for tips on changing the size of the box, because you will need to add or remove and change a couple lines of code if you change the box size.
add multiple highlight boxes if you want to access different sets of clips with different controllers! copy the script to a new folder, call it 'RedBox2' or whatever, and set it up in ableton just like the first one. you can have multiple boxes, and each new box is a different color... red, yellow, purple, etc. i think each box has to be set to a different midi channel. you'll have to experiment with it.