View Single Post
Old 02-17-2020, 07:46 PM   #6705
Funkybot
Human being with feelings
 
Funkybot's Avatar
 
Join Date: Jul 2007
Location: New Joisey
Posts: 6,027
Default

Quote:
Originally Posted by MixMonkey View Post
Just a wild thought here, but what would happen if you used Cubase mode and defined the surface as :
Code:
"Channel|1-1"
That way CSI would see it as a single fader surface and the fader would output the correct MIDI.
Interesting...

So it doesn't work with Cubase mode. The X-Touch One's DAW modes use 8 faders, which move internally from fader to fader as soon as you hit channel next. So that means you get the track you want, followed by 7 blank faders as soon as you hit channel select. Which makes sense on an 8 fader surface (which it thinks it is in DAW modes). BUT...

I just tried it on the 1-fader MCU Std mode, and on first glance, it seems to work quite well! I can navigate tracks, bank, shift between pan and pan width zones, etc. That seems like a very clever way to do the same thing I was previously doing with SelectedTrackNavigator but without the hacky workarounds.

Very clever idea!!!

Dberman, if you want to try it out. Get here's the .zon...

Code:
/uses MCU Std mode. If not working, enter one of the MCU DAW modes and hit Channel Select button a few times until fader1 (address e0) is active. Then return to MCU Std mode.

Zone Home
	IncludedZones
		"SelChannelButtons|"
		"GlobalButtons|"
		"Channel|1-1"
		"MasterChannel|"
		"JogWheelHack|"
	IncludedZonesEnd
ZoneEnd

Zone "SelChannelButtons|"
	SelectedTrackNavigator
	F1 				TrackAutoMode 1 	//Read
	F2 				TrackAutoMode 3 	//Write
	F3 				TrackAutoMode 0 	//Trim
	F4 				TrackAutoMode 2 	//touch
	F5				TrackAutoMode 4 	//Latch

ZoneEnd

Zone "GlobalButtons|"
	Zoom				Shift	
	BankLeft 			TrackBank "-8"
	BankRight 			TrackBank "8"
        ChannelLeft 			TrackBank "-1"
	ChannelRight			TrackBank "1"
	Rewind 				Rewind
	Shift+Rewind			Reaper 40042		//go to start of project
	FastForward			FastForward
	Shift+FastForward		Reaper 40043		//go to end of project
	Stop 				Stop
	Play 				Play
	Shift+Play			Reaper 1068		//Toggle repeat
	Record 				Record
	Write 				Reaper 40364 		//toggle click
	Marker 				Reaper 40078		//open mixer (Mix View in S1 mode)
	Shift+Marker			Reaper 40716		//toggle MIDI editor
	Nudge 				Reaper 40271		//open FX Browser
	Cycle 				Reaper _S&M_TOGLFXCHAIN	//SWS/S&M: Toggle show FX chain windows for selected tracks
        Drop				Reaper 40293		//Track io routing view
        Replace				Reaper 40172 		//go to previous marker or project start
	Click 				Reaper 40171		//Insert marker at current or edit position
	Solo				Reaper 40173 		//go to next marker or project end				
	Save 				Reaper 40026		//save project
	Scrub 				Reaper 40029		//undo
	Shift+Scrub			Reaper 40030		//redo
	Up 				Reaper 40111		//zoom in vertical
	Down				Reaper 40112		//zoom out vertical
	Right 				Reaper 41042		//Move edit cursor forward 1 measure
	Left 				Reaper 41043		//Move edit cursor back 1 measure
	Shift+Left			Reaper 1011		//zoom out horizontal
	Shift+Right			Reaper 1012		//zoom in horizontal
	Shift+Down			Reaper 40727		//minimize all tracks
	Shift+Up 			Reaper 40113		//toggle track height to maximum
	F6				Reaper 40364 		//toggle click
	Shift+F6			Reaper _SWS_AWCOUNTRECTOG //toggle: count-in before recording	
ZoneEnd

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

Zone "MasterChannel|"
	MasterTrackNavigator
	MasterFader 			TrackVolume
ZoneEnd


Zone "PanWidth|1-1"
	TrackNavigator
	Rotary| 	TrackPanWidth "1"
	DisplayUpper|  	TrackNameDisplay
	DisplayLower|	TrackPanWidthDisplay
	RotaryPush| 	GoZone Home
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
EDIT
Made some edits to correct some widget names after transfering from Cubase mode to STD.

Last edited by Funkybot; 02-17-2020 at 09:48 PM.
Funkybot is offline   Reply With Quote