View Single Post
Old 08-25-2019, 10:02 AM   #4154
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 3,677
Default

Quote:
Originally Posted by Mr. Green View Post
Getting to know things here. I have several questions, but will try and keep them in separate posts so as not to get messy.

Regarding zones:
This is where hardware controls can be assigned different command layouts, right?
Correct.

Quote:
Originally Posted by Mr. Green View Post
How are they triggered? Does it need to be done manually with a separate command, or can it be done automatically by switching focused windows in Reaper?
Yes to both -- see below

Quote:
Originally Posted by Mr. Green View Post
edit: - I'm seeing references to Navigators and Virtual Widgets at the bottom of the "How it Works" doc. Is that what I'm looking for here?
Yes.

Code:
Zone Home
	OnTrackSelection MapSelectedTrackSendsToWidgets
        OnFXFocus MapFocusedTrackFXToWidgets
	...
ZoneEnd

Zone Buttons
	Send ToggleMapSends
	Track ToggleMapFXMenu
	Pan ToggleMapFX
         ...
Zone End

Zone PanWidth|1-8
	TrackNavigator
	Rotary| TrackPanWidth 1
	RotaryPush| GoZone Pan|
ZoneEnd

Zone Send|1-8
	SelectedTrackNavigator
	DisplayUpper|  TrackSendNameDisplay
	TrackTouch+DisplayUpper|  TrackSendVolumeDisplay
	Mute| TrackSendMute
	Fader|  TrackSendVolume
	TrackTouch+Fader|  TrackSendVolume
	FaderTouch|  TrackTouch
ZoneEnd

Zone "VST: ReaComp (Cockos)" ReaComp
	FocusedFXTrackNavigator
	Threshold FXParam 0 Thresh
	Attack FXParam 2 Attack
	Release FXParam 3 Release
	Ratio FXParam 1 Ratio
	Compressor FXParam 19 Bypass
	Parallel FXParam 20 Wet
	CompressorMeter FXParam GainReductionDB
ZoneEnd
The first statements
Code:
	OnTrackSelection MapSelectedTrackSendsToWidgets
        OnFXFocus MapFocusedTrackFXToWidgets
say that when a Track is selected or an FX is focused, it's just like someone pressed a button, the associated action will be performed -- in this case MapSelectedTrackSendsToWidgets and MapFocusedTrackFXToWidgets

Code:
	Send ToggleMapSends
	Track ToggleMapFXMenu
	Pan ToggleMapFX
says that when the
Send button is pressed, the Selected Track Sends are mapped/unmapped on the surface.
Track button is pressed, the Selected Track FX Menu is mapped/unmapped on the surface.
Pan button is pressed, the Selected Track FX are mapped/unmapped on the surface.

There is currently no ToggleMapFocusedFX, but it could easily be added.

Code:
	TrackNavigator
	SelectedTrackNavigator
	FocusedFXTrackNavigator
TrackNavigator -- the Widgets get their info from the Channel's Track
SelectedTrackNavigator -- the Widgets get their info from the Selected Track
FocusedFXTrackNavigator -- the Widgets get their info from the Focused FX
__________________
CSI - You can donate here: geoffwaddington.ca
Alpha software: https://stash.reaper.fm/v/36903/CSI%20alpha.zip
Reaper forum thread: https://forum.cockos.com/showthread.php?t=183143

Last edited by Geoff Waddington; 08-25-2019 at 03:35 PM.
Geoff Waddington is offline   Reply With Quote