Skip to content

Commit

Permalink
migrate rcp branch to old module
Browse files Browse the repository at this point in the history
  • Loading branch information
krocheck committed Dec 9, 2021
1 parent 02f1133 commit fee6879
Show file tree
Hide file tree
Showing 11 changed files with 1,270 additions and 935 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules/
.eslintrc
Yam-SCP (GitHub).code-workspace
Yam-SCP (GitHub).code-workspace
yamaha-scp.code-workspace
yamaha-rcp (working).code-workspace
534 changes: 267 additions & 267 deletions CL5 SCP Parameters-1.txt → CL5 Parameters-1.txt

Large diffs are not rendered by default.

31 changes: 9 additions & 22 deletions HELP.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Yamaha Simple Control Protocol - v1.4.1
## Yamaha Remote Control Protocol - v1.6.0

Please visit http://www.checkcheckonetwo.com for help, discussions, suggestions, etc.

Expand All @@ -8,31 +8,18 @@ Please visit http://www.checkcheckonetwo.com for help, discussions, suggestions,

**Instructions**

"MY CHANNEL"
**"MY CHANNEL"**

This setting (in the settings tab - click Edit on the instance tab) allows you to select a channel that will
be updated in any actions that choose "My Channel" as the channel number instead of CH 1 CH 2 etc. Using
this means that you can create a layout that can have a specific channel on many buttons that can be changed
at any time. Useful when things move around from show to show, and then you don't have to change settings
on a bunch of buttons.
>This setting (in the settings tab - click Edit on the instance tab) allows you to select a channel that will be updated in any actions that choose "My Channel" as the channel number instead of CH 1 CH 2 etc. Using this means that you can create a layout that can have a specific channel on many buttons that can be changed at any time. Useful when things move around from show to show, and then you don't have to change settings on a bunch of buttons.
MACROS ("Learn" Function)

This will only work while connected to a console.
**MACROS** ("Learn" Function)

Drag the "Record SCP Macro" Preset to your page, press it to start recording, do stuff, then press it again to
stop recording. Go back to your presets and there'll be a new "Macro x" preset that you can now drag to
your page.
>This will only work while connected to a console.
New Macros will disappear when you restart companion, so make sure you drag the ones you want to keep onto
a button!
>Drag the "Record RCP Macro" Preset to your page, press it to start recording, do stuff, then press it again to stop recording. All the actions you performed are now stored to that button. The button's name will change to **Macro x** (where x is the macro #)
Don't forget that you can create a macro by pressing a SD button (while recording) that already has actions
on it while a console is connected.
The new Macro will have those commands in it as well as any you added before you pressed the button or
after!
>Don't forget that you can create a macro by pressing a SD button (while recording) that already has actions on it while a console is connected.The new Macro will have those commands in it as well as any you added before you pressed the button or after!
DYNAMIC CHANNEL PARAMETERS
**DYNAMIC CHANNEL PARAMETERS**

If you add name or color feedback for a button, (e.g. InCh/Label/Name or DCA/Label/Color), the module
will pull the name or color from the matching channel and change the button text or color accordingly.
>If you add name or color feedback for a button, (e.g. InCh/Label/Name or DCA/Label/Color), the module will pull the name or color from the matching channel and change the button text or color accordingly.
108 changes: 58 additions & 50 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
## Yamaha Simple Control Protocol
## Yamaha Remote Control Protocol

**Available for the following Yamaha Pro Audio Devices**

* Rivage PM
* CL1/3/5
* QL1/5
* TF1/3/5
* TF-Rack (TF Firmware V3.0 or Later)

**Available commands**

* All available SCP "set" commands
* Selected "set" commands
* Recall Scenes

Looking to add other functions such as macros and USB playback and whatever else!

Many thanks to Jack Longden for starting this off and inspiring me to continue.

Please visit http://www.checkcheckonetwo.com for help, discussions, suggestions, etc.
Expand All @@ -24,75 +23,84 @@ Please visit http://www.checkcheckonetwo.com for help, discussions, suggestions,

**REVISION HISTORY**

v1.1.0 Initial Commit
v1.6.0 Rename module, Change action names to be consistent across consoles

v1.5.1 Added Toggle function and updated feedback to new format

To Do: QL/TF testing
v1.1.1 Bug Fixes

Fix: Custom Fader Bank values corrected
Enhancement: Custom Fader Bank dropdown for channel names
Enhancement: Dropdown for channel colors
v1.5.0 New Features

v1.1.2 Bug Fix
Added support for PM Rivage Series mixers
Changed Macro function to work the same as Yamaha-MIDI module

Fix: Crash on unknown command in QL
Enhancement: Add QL-specific commands
v1.4.1 Added "Div" commands

v1.1.3 Bug Fixes and Enhancements
v1.4.0 Additional dropdowns for patch & Icons, Rebuild of feedback code (thank you Keith!)

Fix: Values for certain parameters off by 1
Feedback could get out of sync
Code fixups
Enhancements: Sorted actions so they're grouped together
v1.3.6 Additional "My Channels"

v1.1.4 Enhancements
v1.3.5 Bug Fixes

Polling for Feedback
More TF5 commands
Changed erroneous TF parameters in an effort to make the Dynamic Parameters work for the TF
Parsing improved on commands from console
Don't send commands for disabled instances
Color & scene message fixes for TF
Custom layer fix for QL
Default value for checkbox parsing fix
Enabled search for dropdowns

v1.2.1 Re-Write
v1.3.3 Dynamic Parameters

Re-Written in ES6 style (no self, use classes and inline functions)
Separated upgradeScripts to separate file
Fixed global variables
More accurate feedback tracking
Added the ability for buttons to have channel names and colors automatically pulled from the console
if desired.

v1.2.2 Bug Fixes
v1.3.2 Bug Fixes

Changed feedback to work more like other modules
Fixed Action names
Macros with negative values not played back correctly
Multiple Record Macro Buttons would appear in certain situations

v1.3.1 Enhancement

Macros! Add a Macro Button to record operations from the console or button presses on the SD

v1.2.3 Enhancement

Added "My Channel" to the config page to allow default channel selection without re-creating buttons

v1.3.1 Enhancement
v1.2.2 Bug Fixes

Macros! Add a Macro Button to record operations from the console or button presses on the SD
Changed feedback to work more like other modules
Fixed Action names

v1.3.2 Bug Fixes
v1.2.1 Re-Write

Macros with negative values not played back correctly
Multiple Record Macro Buttons would appear in certain situations
Re-Written in ES6 style (no self, use classes and inline functions)
Separated upgradeScripts to separate file
Fixed global variables
More accurate feedback tracking

v1.3.3 Dynamic Parameters
v1.1.4 Enhancements

Added the ability for buttons to have channel names and colors automatically pulled from the console
if desired.
Polling for Feedback
More TF5 commands

v1.3.5 Bug Fixes
v1.1.3 Bug Fixes and Enhancements

Changed erroneous TF parameters in an effort to make the Dynamic Parameters work for the TF
Parsing improved on commands from console
Don't send commands for disabled instances
Color & scene message fixes for TF
Custom layer fix for QL
Default value for checkbox parsing fix
Enabled search for dropdowns
Fix: Values for certain parameters off by 1
Feedback could get out of sync
Code fixups
Enhancements: Sorted actions so they're grouped together

v1.3.6 Additional "My Channels"
v1.1.2 Bug Fix

v1.4.0 Additional dropdowns for patch & Icons, Rebuild of feedback code (thank you Keith!)
Fix: Crash on unknown command in QL
Enhancement: Add QL-specific commands

v1.4.1 Added "Div" commands
v1.1.1 Bug Fixes

Fix: Custom Fader Bank values corrected
Enhancement: Custom Fader Bank dropdown for channel names
Enhancement: Dropdown for channel colors

v1.1.0 Initial Commit

To Do: QL/TF testing
65 changes: 65 additions & 0 deletions Rivage Parameters-1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
OK prminfo 0 "MIXER:Current/InCh/PatchSelect" 120 1 0 1 0 "" integer latchsw rw 1
OK prminfo 1 "MIXER:Current/InCh/Label/Color" 120 1 0 0 "Blue" "" string list r 1
OK prminfo 2 "MIXER:Current/InCh/Label/Icon" 120 1 0 0 "DynamicMic" "" string list r 1
OK prminfo 3 "MIXER:Current/InCh/Label/Name" 120 1 0 0 "" "" string any r 1
-- prminfo 4 "MIXER:Current/InCh/Role" 120 1 0 0 "Mono" "" string list r 1
OK prminfo 5 "MIXER:Current/InCh/Delay/Time" 120 1 0 1000000 0 "ms" integer knob rw 1000
OK prminfo 6 "MIXER:Current/InCh/Delay/On" 120 1 0 1 0 "" integer latchsw rw 1
OK prminfo 7 "MIXER:Current/InCh/Fader/Level" 120 1 -32768 1000 -32768 "dB" integer fader rw 100
OK prminfo 8 "MIXER:Current/InCh/Fader/On" 120 1 0 1 1 "" integer latchsw rw 1
OK prminfo 9 "MIXER:Current/Mix/Label/Color" 48 1 0 0 "Orange" "" string list r 1
OK prminfo 10 "MIXER:Current/Mix/Label/Icon" 48 1 0 0 "Blank" "" string list r 1
OK prminfo 11 "MIXER:Current/Mix/Label/Name" 48 1 0 0 "" "" string any r 1
-- prminfo 12 "MIXER:Current/Mix/Role" 48 1 0 0 "Mono" "" string list r 1
-- prminfo 13 "MIXER:Current/Mix/BusType" 48 1 0 0 "VARI" "" string unlatchsw rw 1
OK prminfo 14 "MIXER:Current/Mix/Delay/Time" 48 1 0 1000000 0 "ms" integer knob rw 1000
OK prminfo 15 "MIXER:Current/Mix/Delay/On" 48 1 0 1 0 "" integer latchsw rw 1
OK prminfo 16 "MIXER:Current/Mix/Fader/Level" 48 1 -32768 1000 0 "dB" integer fader rw 100
OK prminfo 17 "MIXER:Current/Mix/Fader/On" 48 1 0 1 1 "" integer latchsw rw 1
OK prminfo 18 "MIXER:Current/Mix/Out/Balance" 48 1 -63 63 0 "" integer knob rw 1
-- prminfo 19 "MIXER:Current/Mix/PanLink" 48 1 0 1 0 "" integer latchsw rw 1
-- prminfo 20 "MIXER:Current/Mix/MixMinus/Owner/InputChannel" 72 288 0 1 0 "" integer any r 1
OK prminfo 21 "MIXER:Current/Mtrx/Label/Color" 24 1 0 0 "Orange" "" string list r 1
OK prminfo 22 "MIXER:Current/Mtrx/Label/Icon" 24 1 0 0 "Blank" "" string list r 1
OK prminfo 23 "MIXER:Current/Mtrx/Label/Name" 24 1 0 0 "" "" string any r 1
-- prminfo 24 "MIXER:Current/Mtrx/Role" 24 1 0 0 "Mono" "" string list r 1
OK prminfo 25 "MIXER:Current/Mtrx/Delay/Time" 24 1 0 1000000 0 "ms" integer knob rw 1000
OK prminfo 26 "MIXER:Current/Mtrx/Delay/On" 24 1 0 1 0 "" integer latchsw rw 1
OK prminfo 27 "MIXER:Current/Mtrx/Fader/Level" 24 1 -32768 1000 0 "dB" integer fader rw 100
OK prminfo 28 "MIXER:Current/Mtrx/Fader/On" 24 1 0 1 1 "" integer latchsw rw 1
OK prminfo 29 "MIXER:Current/Mtrx/Out/Balance" 24 1 -63 63 0 "" integer knob rw 1
-- prminfo 30 "MIXER:Current/Mtrx/PanLink" 24 1 0 1 0 "" integer unlatchsw rw 1
OK prminfo 31 "MIXER:Current/St/Label/Color" 4 1 0 0 "Orange" "" string list r 1
OK prminfo 32 "MIXER:Current/St/Label/Icon" 4 1 0 0 "Blank" "" string list r 1
OK prminfo 33 "MIXER:Current/St/Label/Name" 4 1 0 0 "" "" string any r 1
-- prminfo 34 "MIXER:Current/St/Role" 4 1 0 0 "Mono" "" string list r 1
OK prminfo 35 "MIXER:Current/St/Delay/Time" 4 1 0 1000000 0 "ms" integer knob rw 1000
OK prminfo 36 "MIXER:Current/St/Delay/On" 4 1 0 1 0 "" integer latchsw rw 1
OK prminfo 37 "MIXER:Current/St/Fader/On" 4 1 0 1 1 "" integer latchsw rw 1
OK prminfo 38 "MIXER:Current/St/Out/Balance" 4 1 -63 63 0 "" integer knob rw 1
OK prminfo 39 "MIXER:Current/DCA/Fader/Level" 24 1 -32768 1000 0 "dB" integer fader rw 100
OK prminfo 40 "MIXER:Current/DCA/Fader/On" 24 1 0 1 1 "" integer latchsw rw 1
OK prminfo 41 "MIXER:Current/MuteMaster/On" 12 1 0 1 0 "" integer latchsw rw 1
OK prminfo 42 "MIXER:Current/InCh/ToMix/Level" 120 48 -32768 1000 -32768 "dB" integer fader rw 100
OK prminfo 43 "MIXER:Current/InCh/ToMix/On" 120 48 0 1 1 "" integer latchsw rw 1
OK prminfo 44 "MIXER:Current/InCh/ToMix/Pan" 120 48 -63 63 0 "" integer knob rw 1
OK prminfo 45 "MIXER:Current/InCh/ToMtrx/Level" 120 24 -32768 1000 -32768 "dB" integer fader rw 100
OK prminfo 46 "MIXER:Current/InCh/ToMtrx/On" 120 24 0 1 1 "" integer latchsw rw 1
OK prminfo 47 "MIXER:Current/InCh/ToMtrx/Pan" 120 24 -63 63 0 "" integer knob rw 1
OK prminfo 48 "MIXER:Current/Mix/ToMtrx/Level" 48 24 -32768 1000 -32768 "dB" integer fader rw 100
OK prminfo 49 "MIXER:Current/Mix/ToMtrx/On" 48 24 0 1 1 "" integer latchsw rw 1
OK prminfo 50 "MIXER:Current/Mix/ToMtrx/Pan" 48 24 -63 63 0 "" integer knob rw 1
OK prminfo 51 "MIXER:Current/St/ToMtrx/Level" 4 24 -32768 1000 -32768 "dB" integer fader rw 100
OK prminfo 52 "MIXER:Current/St/ToMtrx/On" 4 24 0 1 1 "" integer latchsw rw 1
OK prminfo 53 "MIXER:Current/St/ToMtrx/Pan" 4 24 -63 63 0 "" integer knob rw 1
-- prminfo 54 "MIXER:Current/InputChLink/InCh/Assign" 120 1 0 52 0 "" integer latchsw r 1
-- prminfo 55 "MIXER:Current/InputChLink/LinkParams/MixSend" 53 1 0 1 1 "" integer latchsw r 1
-- prminfo 56 "MIXER:Current/InputChLink/SendParams/ToMix" 53 48 0 1 1 "" integer latchsw r 1
-- prminfo 57 "MIXER:Current/InputChLink/LinkParams/MatrixSend" 53 1 0 1 1 "" integer latchsw r 1
-- prminfo 58 "MIXER:Current/InputChLink/SendParams/ToMtrx" 53 24 0 1 1 "" integer latchsw r 1
-- prminfo 59 "MIXER:Current/OutputChLink/Mix/Assign" 48 1 0 52 0 "" integer latchsw r 1
-- prminfo 60 "MIXER:Current/OutputChLink/LinkParams/MatrixSend" 53 1 0 1 1 "" integer latchsw r 1
-- prminfo 61 "MIXER:Current/OutputChLink/SendParams/ToMtrx" 53 24 0 1 1 "" integer latchsw r 1
-- prminfo 62 "MIXER:Setup/MonitorMix/Password" 1 1 0 0 "" "" string any r 1
-- prminfo 63 "MIXER:Current/SurrMode" 1 1 0 1 0 "" integer any r 1
OK scninfo 1000 "MIXER:Lib/Scene" 500 1 0 0 0 "" scene any rw 1
12 changes: 6 additions & 6 deletions TF5 SCP Parameters-1.txt → TF5 Parameters-1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ OK prminfo 45 "MIXER:Current/FxRtnCh/ToMono/On" 4 1 0 1 1 "" integer any rw 1
OK prminfo 46 "MIXER:Current/FxRtnCh/ToSt/Pan" 4 0 -63 63 0 "" integer any rw 1
OK prminfo 47 "MIXER:Current/FxRtnCh/ToStereo/Pan" 4 0 -63 63 0 "" integer any rw 1
OK prminfo 48 "MIXER:Current/DCA/Fader/Level" 8 0 -32768 1000 0 "dB" integer any rw 100
OK prminfo 49 "MIXER:Current/DcaCh/Fader/Level" 8 0 -32768 1000 0 "dB" integer any rw 100
-- prminfo 49 "MIXER:Current/DcaCh/Fader/Level" 8 0 -32768 1000 0 "dB" integer any rw 100
OK prminfo 50 "MIXER:Current/DCA/Fader/On" 8 0 0 1 1 "" integer any rw 1
OK prminfo 51 "MIXER:Current/DcaCh/Fader/On" 8 0 0 1 1 "" integer any rw 1
-- prminfo 51 "MIXER:Current/DcaCh/Fader/On" 8 0 0 1 1 "" integer any rw 1
OK prminfo 52 "MIXER:Current/DCA/Label/Color" 8 0 0 8 0 "" string any rw 1
OK prminfo 53 "MIXER:Current/DcaCh/Label/Color" 8 0 0 8 0 "" string any rw 1
-- prminfo 53 "MIXER:Current/DcaCh/Label/Color" 8 0 0 8 0 "" string any rw 1
OK prminfo 54 "MIXER:Current/DCA/Label/Icon" 8 0 0 12 0 "" binary any rw 1
OK prminfo 55 "MIXER:Current/DcaCh/Label/Icon" 8 0 0 12 0 "" binary any rw 1
-- prminfo 55 "MIXER:Current/DcaCh/Label/Icon" 8 0 0 12 0 "" binary any rw 1
OK prminfo 56 "MIXER:Current/DCA/Label/Category" 8 0 0 16 0 "" binary any rw 1
OK prminfo 57 "MIXER:Current/DcaCh/Label/Category" 8 0 0 16 0 "" binary any rw 1
-- prminfo 57 "MIXER:Current/DcaCh/Label/Category" 8 0 0 16 0 "" binary any rw 1
OK prminfo 58 "MIXER:Current/DCA/Label/Name" 8 0 0 64 "DCA 1" "" string any rw 1
OK prminfo 59 "MIXER:Current/DcaCh/Label/Name" 8 0 0 64 "DCA 1" "" string any rw 1
-- prminfo 59 "MIXER:Current/DcaCh/Label/Name" 8 0 0 64 "DCA 1" "" string any rw 1
OK prminfo 60 "MIXER:Current/Mix/Fader/Level" 20 0 -32768 1000 0 "dB" integer any rw 100
OK prminfo 61 "MIXER:Current/Mix/Fader/On" 20 0 0 1 1 "" integer any rw 1
OK prminfo 62 "MIXER:Current/Mix/Label/Color" 20 0 0 8 0 "" string any rw 1
Expand Down
Loading

0 comments on commit fee6879

Please sign in to comment.