Christian Dolenga
track_num =
1
-- 01 to 99
rec_onoff =
1
-- 1 for arm, 0 for unarm
rec_toggle_comm_id = 8*track_num
track
toggle_state = reaper.GetToggleCommandStateEx(0, rec_toggle_comm_id)
get toggle state for track
if
toggle_state ~= rec_onoff
reaper.Main_OnCommandEx(rec_toggle_comm_id, 0, 0)
toggle_state isn't desired rec_onoff state, toggle
-- reaper.Main_OnCommandEx(integer command, integer flag, ReaProject
proj)//
At the time of writing I haven't figured out yet how to elegantly get everything into one
script, so here's the dirty version:
-
In REAPER's action menu, hit "New action..." -> "New ReaScript...". Choose a location
(best to create a folder called "Euphonix Record Arm" or similar) and save as "RecArm
Track 01 ON.lua" or similar
-
Paste the above code into the editor and save (Ctrl + S)
-
In BMTP deactivate all translators named "out x" except the one you're setting up to
bind (e.g. out 1). We don't want to send all notes at once when try to bind one MIDI
note to a REAPER action. You can select all and then Ctrl-click the checkbox to disable all
selected at once.
-
On the DSC, make sure the small record button is lit and track 1 is not set to record arm
-
In REAPER's action menu, select your newly created action and hit "Add..." in the
"Shortcuts for selected action" field. A MIDI note message should be recognized.
-
Repeat for "RecArm Track 02 OFF.lua" and adjust pasted code accordingly (rec_onoff =
0)
-
Repeat for Tracks 2 – 48, adjust pasted code accordingly (track_num = 2/3/.../48)
-
Enable all translators in preset in BMTP
3.3. Jog Dial
I'm using the jog dial on the DSC for various purposes:
-
Preset 1: jog dial navigates through transients of selected media item / Talk button
moves nearest grid line to cursor (very handy if you want to map your grid lines to
your drummer)
-
Preset 2: jog dial navigates through transients of selected media item / Talk button
inserts stretch marker in selected item on cursor position (very handy, if you want to
lock your bass player to the drummers grid)
-
Preset 3: jog dial navigates through single frames / Talk button splits selected
item(s) at cursor
-
Preset 4: jog dial navigates through grid subdivions / Talk button splits selected
item(s) at cursor
-
Preset 5: jog dial navigates through items on selected track* / Talk button deletes
selected item*
-
Preset 6: empty (go crazy!)
* I need to figure out how to make it select multiple items...
Euphonix MIDI capabilities
+17
-- calculate CommandID num for
then
Revision 1
end
-- if
--
Need help?
Do you have a question about the CS Series and is the answer not in the manual?