View Single Post
Old 02-12-2020, 05:40 PM   #6514
Funkybot
Human being with feelings
 
Funkybot's Avatar
 
Join Date: Jul 2007
Location: New Joisey
Posts: 5,990
Default

Quote:
Originally Posted by Geoff Waddington View Post
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.
Hi Geoff, I'm going to need slightly more hand-holding than that. I'm trying it a few different ways and can't get it working as expected so I'm not sure if there's still a bug, or of it's me. Would you be able to take one of these and show me exactly what I'm doing wrong?

Either Pan works, or PanWidth works but I can't ever change modes. And when PanWidth works, the displays get stuck.

Here's a condensed version of the .zon files.

Option 1 (zones declared in Home - Result: stuck in Pan mode):
Code:
Zone Home
	OnTrackSelection MapSelectedTrackSendsToWidgets
	IncludedZones
		"Channel|1-8"
		"Pan|1-8"
		"PanWidth|1-8"
	IncludedZonesEnd
ZoneEnd


Zone "Channel|"
	TrackNavigator
	DisplayUpper|  			TrackNameDisplay
	DisplayLower| 			TrackPanDisplay
	TrackTouch+DisplayLower| 	TrackVolumeDisplay
	Rotary| 			TrackPan "0"
	RotaryPush| 			GoZone PanWidth|
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

Option 2 (standalone zones - pipe included in GoZone name - Result: stuck in PanWidth):
Code:
Zone Home
	OnTrackSelection MapSelectedTrackSendsToWidgets
	IncludedZones
		"Channel|1-8"
	IncludedZonesEnd
ZoneEnd


Zone "Channel|"
	TrackNavigator
	DisplayUpper|  			TrackNameDisplay
	DisplayLower| 			TrackPanDisplay
	TrackTouch+DisplayLower| 	TrackVolumeDisplay
	Rotary| 			TrackPan "0"
	RotaryPush| 			GoZone PanWidth|
ZoneEnd


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

Zone "PanWidth|1-8"
	TrackNavigator
	Rotary| 	TrackPanWidth "1"
	DisplayUpper|	TrackPanWidthDisplay
	RotaryPush| 	GoZone Pan|
ZoneEnd
Option 3 (same as 2, no pipe - Result: stuck in PanWidth):
Code:
Zone Home
	OnTrackSelection MapSelectedTrackSendsToWidgets
	IncludedZones
		"Channel|1-8"
	IncludedZonesEnd
ZoneEnd


Zone "Channel|"
	TrackNavigator
	DisplayUpper|  			TrackNameDisplay
	DisplayLower| 			TrackPanDisplay
	TrackTouch+DisplayLower| 	TrackVolumeDisplay
	Rotary| 			TrackPan "0"
	RotaryPush| 			GoZone PanWidth
ZoneEnd


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

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

Last edited by Funkybot; 02-12-2020 at 06:22 PM.
Funkybot is online now   Reply With Quote