View Single Post
Old 02-12-2020, 05:14 PM   #6513
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,235
Default

Quote:
Originally Posted by Funkybot View Post
Want to check this out but not sure how these zones need to be setup; is the below syntax correct? The idea would be Rotaries 1-8 are tied to Pans 1-8, but Rotary Push would toggle each respective pan's mode to pan width and vice versa.

So looking at the IconNano.zon, there rotaries are mapped to pan 1-8 in the same zone as the faders, with the push going to zone PanWidth, but then there are two zones for Pan and Pan Width, neither of which are in the included zones above. Is that right? Are the pipe characters and quotes needed in the GoZone text?

I bolded the parts I have questions on:
Code:
Zone Home
	OnTrackSelection MapSelectedTrackSendsToWidgets
	IncludedZones
		"SelChannelButtons|"
		"GlobalButtons|"
		"Channel|1-8"
		"MasterChannel|"
		"JogWheelHack|"
	IncludedZonesEnd
ZoneEnd

Zone "SelChannelButtons|"
	SelectedTrackNavigator
	Read 				TrackAutoMode 1
	Write 				TrackAutoMode 3
	Trim 				TrackAutoMode 0
	Touch 				TrackAutoMode 2
	Latch 				TrackAutoMode 4
ZoneEnd

Zone "GlobalButtons|"
	BankLeft 			TrackBank "-8"
	BankRight 			TrackBank "8"
        ChannelLeft 			TrackBank "-1"
	ChannelRight			TrackBank "1"
	Rewind 				Reaper 40042
	FastForward			FastForward
	Stop 				Stop
	Play 				Play
	Record 				Record
	F1				Reaper 40271
	F2				Reaper 40268
	F3				Reaper 40078
	F4				Reaper 40291
	F5				Reaper 41882
	F6				Reaper 40906
	F7				Reaper 42031
	F8
	smpteBeats 			CycleTimeDisplayModes
	TimeDisplay 			TimeDisplay
	Marker 				Reaper 40172
	Nudge 				Reaper 40173
	Cycle 				CycleTimeline
        AutoPunch
        Replace
	Click 				Reaper 40364
	Solo
	Save 				Reaper 40026
	Undo 				Reaper 40029
	Group				Reaper 42023
	Up 				Reaper 40111
	Down				Reaper 40112
	Right 				Reaper 1012
	Left 				Reaper 1011	
ZoneEnd

Zone "Channel|"
	TrackNavigator
	DisplayUpper|  			TrackNameDisplay
	DisplayLower| 			TrackPanDisplay
	TrackTouch+DisplayLower| 	TrackVolumeDisplay
	Rotary| 			TrackPan "0"
	RotaryPush| 			GoZone "PanWidth|"
	Solo|				TrackSolo
	Mute|				TrackMute
	RecordArm| 			TrackRecordArm
	Select|				TrackUniqueSelect
	Fader|  			TrackVolume
	FaderTouch|  			TrackTouch
	VUMeter|			TrackOutputMeter
ZoneEnd

Zone "MasterChannel|"
	MasterTrackNavigator
	MasterFader 			TrackVolume
ZoneEnd

Zone "Pan|"
	TrackNavigator
	Rotary| 	TrackPan "0"
	DisplayUpper|	TrackPanDisplay
	RotaryPush| 	GoZone "PanWidth|"
ZoneEnd

Zone "PanWidth|"
	TrackNavigator
	Rotary| 	TrackPanWidth "1"
	DisplayUpper|	TrackPanWidthDisplay
	RotaryPush| 	GoZone "Pan|"
ZoneEnd

Zone "JogWheelHack|"
	JogWheelRotaryCW 		Reaper 40140
	JogWheelRotaryCW2 		Reaper 40140
	JogWheelRotaryCW3 		Reaper 40140
	JogWheelRotaryCW4 		Reaper 40140
	JogWheelRotaryCW5 		Reaper 40140
	JogWheelRotaryCW6 		Reaper 40140
	JogWheelRotaryCW7 		Reaper 40140

	JogWheelRotaryCCW 		Reaper 40141
	JogWheelRotaryCCW2 		Reaper 40141
	JogWheelRotaryCCW3 		Reaper 40141
	JogWheelRotaryCCW4 		Reaper 40141
	JogWheelRotaryCCW5 		Reaper 40141
	JogWheelRotaryCCW6 		Reaper 40141
	JogWheelRotaryCCW7 		Reaper 40141
ZoneEnd
You only need quotes if there are spaces in the text, otherwise you can get away without them.

Any Zone that ends with a "|" will not get built directly, it is a template Zone used for inclusion in another Zone (e.g. "Home").

"Pan|" and "PanWidth|" are not included anywhere, they will not get built.

What you need here is to state the standalone definitions like you do in "Home" for "Channel|1-8".

Just change "Pan|" and "PanWidth|" to "Pan|1-8" and "PanWidth|1-8" respectively.
__________________
To install you need the CSI Software and Support Files
For installation instructions and documentation see the Wiki
Donate -- via PayPal to waddingtongeoff@gmail.com
Geoff Waddington is offline   Reply With Quote