View Single Post
Old 01-13-2020, 04:37 PM   #5970
Funkybot
Human being with feelings
 
Funkybot's Avatar
 
Join Date: Jul 2007
Location: New Joisey
Posts: 5,990
Default

So my understanding of the single channel FaderPort is that it's meant to control the selected track in your DAW. This means you'll want to use "SelectedTrackNavigator" a lot. Here's some stuff to try...

Quote:
Originally Posted by johnharkinz View Post
Question 1
I have been having some problems with the CSI Actions, in fact in most cases I ended up using the reaper action
Code:
This works
Solo		Reaper		"40281"

This doesn't
Solo		TrackSolo
Should TrackSolo be working at the moment? Does it have to be in a specific Zone?
Here's what my Steinberg CMC-QC zone looks like (the Widget name is EQ but I'm using that button for Track Solo of the selected track).

Code:
Zone "Buttons|"
	SelectedTrackNavigator
	EQ 		TrackSolo
ZoneEnd
Are you using SelectedTrackNavigator? That would probably be the ideal "navigator" for a one channel surface.

Quote:
Originally Posted by johnharkinz View Post
Question 2
Working with the solo button again
Code:
Solo button midi
21:19:05.134	From PreSonus FP2	Note On	1	90 08 7F
21:19:05.134	From PreSonus FP2	Note On	1	90 08 00

My Solo Widget
Widget Solo
	Press 90 08 7f
	FB_TwoState 90 08 7f 90 08 00
WidgetEnd
This works fine


SHIFT & Solo button midi
21:19:05.134	From PreSonus FP2	Note On	1	90 47 7F
21:19:05.134	From PreSonus FP2	Note On	1	90 08 7F
21:19:05.134	From PreSonus FP2	Note On	1	90 08 00
21:19:05.134	From PreSonus FP2	Note On	1	90 47 00
How do I write a Widget that can handle two sets of midi (SHIFT #47 & Solo #8)?
What that looks like to me is the Shift Button MIDI which is 90 47 7F (press) and 90 47 00 (release). And the Solo Button MIDI which is 90 08 7F/00 (press/release). So they're two completely independent button presses if true. So what you could do in that case is create two separate widgets. One for solo, and one for shift. Then use the shift "modifier" in the zone to combine them as needed.

.mst code...
Code:
Widget Solo
	Press 90 08 7f
	FB_TwoState 90 08 7f 90 08 00
WidgetEnd

Widget Shift
	Press 90 47 7f
	FB_TwoState 90 47 7f 90 08 00
WidgetEnd
Then in your Zone, you would have something like this...
Code:
Zone "Buttons|"
	SelectedTrackNavigator
	Solo		TrackSolo
	Shift 		Shift
        Shift+Solo      [Some other Reaper Action]
ZoneEnd
At that point, you could combine Shift with as many other buttons as you want.

Quote:
Originally Posted by johnharkinz View Post
Question 3
Faders, or more accurately A Fader.
Most of the examples I have seen are for controllers with a bunch of faders, I only have one and I cant for the life of work out how the Widget and Action need to be configured.

Code:
The fader midi looks like this
21:28:28.135	From PreSonus FP2	Pitch Wheel	1	E0 70 14
21:28:28.155	From PreSonus FP2	Pitch Wheel	1	E0 60 17
21:28:28.175	From PreSonus FP2	Pitch Wheel	1	E0 00 1B
21:28:28.195	From PreSonus FP2	Pitch Wheel	1	E0 20 1E
21:28:28.215	From PreSonus FP2	Pitch Wheel	1	E0 10 21
21:28:28.235	From PreSonus FP2	Pitch Wheel	1	E0 30 23

Ive tried loads of permutations of channel in the IncludedZones Section
Zone Home
	IncludedZones
		"Buttons|"
		"channel|"
		"channel|1"
		"channel|1-1"
		"channel"		
	IncludedZonesEnd
ZoneEnd

I tried a bunch of permutations of Zone "Channel|", with and without the pipe, with and without TrackNavigator but no luck.

And in the mst file I tried 
Widget Fader
  ....

and 

Widget Fader1
  ....

But no luck. The fader is not for moving!
Needless to say any advice, help, examples would be very gratefully received.
Because you only have one fader, try this (assuming your fader widget is named "Fader" and not "Fader1"):

Code:
Zone "Fader"
	SelectedTrackNavigator
	Fader TrackVolume
ZoneEnd
Then be sure to add that "Fader" zone to your "Home" zone.

If you get stuck, post the complete .mst and .zon files in here and someone might be able to help.

Last edited by Funkybot; 01-13-2020 at 04:43 PM.
Funkybot is offline   Reply With Quote