View Single Post
Old 05-28-2019, 02:33 PM   #2978
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 5,037
Default

Quote:
Originally Posted by CraigGE View Post
I did have the original copies of my .zon and .mst in there (the full versions), but I'd renamed the extension so they shouldn't be used....

However, to be safe, I've now installed a clean/new portable edition of Reaper, installed CSI only, copied in the single .mst and .zon and tried my tests again - no difference.

There is an interesting situation whereby if you don't have any tracks, the midi out messages come through, but as you add tracks, the midi out message for that specific track ceases to be sent.... I'm trying to create a little video to demonstrate... watch this space... (probably tomorrow now actually)
Ahh, I see a problem:
Code:
Zone Home
	IncludedZones
		LayerA_Buttons
		LayerB_Buttons
		Channel|1-8
	IncludedZonesEnd
ZoneEnd

Zone LayerA_Buttons
	LayerA_LowerButton1 TrackBank -8
	LayerA_LowerButton2 TrackBank 8
	LayerA_LowerButton3 Rewind
	LayerA_LowerButton4 FastForward
	LayerA_LowerButton5 CycleTimeline
	LayerA_LowerButton6 Stop
	LayerA_LowerButton7 Play
	LayerA_LowerButton8 Record
ZoneEnd

Zone LayerB_Buttons
	LayerB_LowerButton1 TrackBank -8
	LayerB_LowerButton2 TrackBank 8
	LayerB_LowerButton3 Rewind
	LayerB_LowerButton4 FastForward
	LayerB_LowerButton5 CycleTimeline
	LayerB_LowerButton6 Stop
	LayerB_LowerButton7 Play
	LayerB_LowerButton8 Record
ZoneEnd

Zone Channel|1-8
	TrackNavigator
	LayerA_UpperButton| TrackMute
	LayerA_Rotary| TrackVolume
	LayerA_Fader MasterTrackVolume
	LayerB_UpperButton| TrackSolo
	LayerB_Rotary| TrackPan 0
	LayerB_Fader MasterTrackVolume
ZoneEnd
You'll end up with 8 Widgets named LayerA_Fader, and 8 widgets named LayerB_Fader, that will clearly cause havoc.

The Channel|1-8 notation is a shorthand way to create a bunch of repetitive things.

Let's take LevelA_Rotary|, it expands to the following:
LevelA_Rotary1
LevelA_Rotary2
LevelA_Rotary3
LevelA_Rotary4
LevelA_Rotary5
LevelA_Rotary6
LevelA_Rotary7
LevelA_Rotary8

The vertical bar gets replaced by a number based on the Zone definition -- in this case Channel|1-8 says build 8 Channels using this template, replacing the bar symbol with the numbers -- 1,2,3,4,5,6,7,8.

You should never have a Master Track Action inside a Channel Zone definition.

You should also never have a Widget that doesn't have a bar inside a Channel Zone definition, unless it is some kind of special modifier (not the case here).

I think you want to define those 2 in the Buttons Zone.

Apologies for the overall lack of docs, but this new architecture is holding up well thus far -- fingers crossed...

If it stands (14th castle?), it will finally be time to explain how all of this works
__________________
CSI - You can donate here: geoffwaddington.ca
Beta software: https://stash.reaper.fm/v/38349/CSI%20beta.zip
installation and documentation here: https://github.com/malcolmgroves/reaper_csi/wiki
Geoff Waddington is offline   Reply With Quote