Go Back   Cockos Incorporated Forums > REAPER Forums > MIDI Hardware, Control Surfaces, and OSC

Reply
 
Thread Tools Display Modes
Old 04-18-2024, 06:51 PM   #25761
Funkybot
Human being with feelings
 
Funkybot's Avatar
 
Join Date: Jul 2007
Location: New Joisey
Posts: 6,063
Default

Quote:
Originally Posted by Geoff Waddington View Post

Next I want to propose that we replace that crazy busy Edit Param dialog with one that represents only the double clicked cell.

Instead of the 2 or 3 groups that we previously had, only one group will be shown, the one you double clicked on.

That means that on that dialog we'll have space for what was previously on the Advanced dialog.

Unless anyone screams, that's up next
This sounds great to me.

Only use the Mac with the SCE-24 and far from daily but I'll give it a go over the weekend. I'll need to make updates to the surface files to get it going on the EXP builds.
__________________
CSI v3 Wiki
Funkybot is online now   Reply With Quote
Old 04-18-2024, 07:55 PM   #25762
jacksoonbrowne
Human being with feelings
 
jacksoonbrowne's Avatar
 
Join Date: Aug 2017
Location: Ottawa, Canada
Posts: 650
Default

Hey MixMonkey, FunkyBot,

I am assuming one of is the keeper of the CSI support files / wiki

I have attached the config files for the X32series/Midas32Series

It must use the CSI exp build until exp is finally released

Inside the zip there is a file "SetupNotes.txt" that explains how to configure CSI for use with the X32

Cheers,
Roy
Attached Files
File Type: rar X32.rar (6.8 KB, 92 views)
__________________
AKA: Roy Wallingford
jacksoonbrowne is offline   Reply With Quote
Old 04-19-2024, 03:51 AM   #25763
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,415
Default

Quote:
Originally Posted by jacksoonbrowne View Post
That works for me

Tested and working
Thanks, pushed a commit.
__________________
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
Old 04-19-2024, 03:57 AM   #25764
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,415
Default

Wow, the red highlighting as you move a control points out something obvious.

The vast majority of surfaces are laid out left to right.

The ReMap/Learn window is off by 90 degrees

Will redesign it...
__________________
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
Old 04-19-2024, 05:12 AM   #25765
MixMonkey
Human being with feelings
 
MixMonkey's Avatar
 
Join Date: Sep 2017
Location: London, England.
Posts: 4,918
Default

Quote:
Originally Posted by Geoff Waddington View Post
Thanks for taking the leap.

Lots of work to do with colours, sizing, etc., but we're in flight

Next I want to propose that we replace that crazy busy Edit Param dialog with one that represents only the double clicked cell.

Instead of the 2 or 3 groups that we previously had, only one group will be shown, the one you double clicked on.

That means that on that dialog we'll have space for what was previously on the Advanced dialog.

Unless anyone screams, that's up next
That sounds good, quick and easy re-name a priority, closely followed by step number
MixMonkey is offline   Reply With Quote
Old 04-19-2024, 05:16 AM   #25766
MixMonkey
Human being with feelings
 
MixMonkey's Avatar
 
Join Date: Sep 2017
Location: London, England.
Posts: 4,918
Default

Quote:
Originally Posted by Geoff Waddington View Post
Wow, the red highlighting as you move a control points out something obvious.

The vast majority of surfaces are laid out left to right.

The ReMap/Learn window is off by 90 degrees

Will redesign it...
In some ways the flat list is better because it is universal. Yes, most surfaces are 8 cells wide, but what things like the MFT?

Also, thanks to your nifty auto-select/auto-scroll, visual orientation for the user is redundant as they don't need to search the list for the relevant control.
MixMonkey is offline   Reply With Quote
Old 04-19-2024, 05:31 AM   #25767
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,415
Default

Quote:
Originally Posted by MixMonkey View Post
In some ways the flat list is better because it is universal. Yes, most surfaces are 8 cells wide, but what things like the MFT?

Also, thanks to your nifty auto-select/auto-scroll, visual orientation for the user is redundant as they don't need to search the list for the relevant control.
Well, the MFT can be thought of as 4 rows of 4, so it's still a horizontal layout, it's kind of ambidextrous that way
__________________
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
Old 04-19-2024, 11:20 AM   #25768
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,415
Default

Going to change the FXLayouts Zone from this:

Code:
Zone FXLayouts
	"" "" 8
	"Shift" "" 8
	"Control" "" 8
	"Option" "" 8
ZoneEnd
to this:

Code:
Zone FXLayouts
	Channels 8
	"" ""
	"Shift" ""
	"Control" ""
	"Option" ""
ZoneEnd
There is a very slight restriction introduced -- you now can't have a different number of controls mapped to, say, the Shift and Control modifiers.

Don't think anyone does that anyway.

The upside of a specific number of Channels being assigned to the FX Layout means it will be easier to do maps that span surfaces down the road.

Playing with this new format -- it is far more readable, and indeed, more compact.

Instead of this:

Code:
1  Rotary Meter      Push NoAction  Fader NoAction
2  Rotary Input      Push NoAction  Fader NoAction
3  Rotary Thresh     Push NoAction  Fader NoAction
4  Rotary Time Const Push NoAction  Fader NoAction
5  Rotary SC Filt    Push NoAction  Fader NoAction
6  Rotary Bal        Push NoAction  Fader NoAction
7  Rotary DC Thr     Push NoAction  Fader NoAction
8  Rotary Output     Push NoAction  Fader NoAction
you get this:

Code:
             1     2      3       4         5     6     7     8
Rotary     Meter Input Thresh Time Const SC Filt Bal  DC Thr Output
RotaryPush None  None   None    None       None  None  None   None
Fader      None  None   None    None       None  None  None   None
__________________
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
Old 04-19-2024, 12:04 PM   #25769
Funkybot
Human being with feelings
 
Funkybot's Avatar
 
Join Date: Jul 2007
Location: New Joisey
Posts: 6,063
Default

What's that going to look like on C4-style (Twister, SCE-24) with multiple rows and cells (A1-A8, B1-B8, C1-C8, etc.)? Like this?

Code:
             1     2      3       4         5     6     7     8
RotaryA     Meter Input Thresh Time Const SC Filt Bal  DC Thr Output
RotaryPushA None  None   None    None       None  None  None   None

RotaryB     Meter Input Thresh Time Const SC Filt Bal  DC Thr Output [ignore the copy/pasted names]
RotaryPushB None  None   None    None       None  None  None   None

RotaryC     Meter Input Thresh Time Const SC Filt Bal  DC Thr Output [ignore the copy/pasted names]
RotaryPushC None  None   None    None       None  None  None   None
Or a 16 fader surface like the Presonus one? Might get weird if there's a lot of horizontal scrolling.
__________________
CSI v3 Wiki
Funkybot is online now   Reply With Quote
Old 04-19-2024, 12:37 PM   #25770
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,415
Default

Quote:
Originally Posted by Funkybot View Post
What's that going to look like on C4-style (Twister, SCE-24) with multiple rows and cells (A1-A8, B1-B8, C1-C8, etc.)? Like this?

Code:
             1     2      3       4         5     6     7     8
RotaryA     Meter Input Thresh Time Const SC Filt Bal  DC Thr Output
RotaryPushA None  None   None    None       None  None  None   None

RotaryB     Meter Input Thresh Time Const SC Filt Bal  DC Thr Output [ignore the copy/pasted names]
RotaryPushB None  None   None    None       None  None  None   None

RotaryC     Meter Input Thresh Time Const SC Filt Bal  DC Thr Output [ignore the copy/pasted names]
RotaryPushC None  None   None    None       None  None  None   None
Or a 16 fader surface like the Presonus one? Might get weird if there's a lot of horizontal scrolling.
Exactly, and there will be rows for the modified functions, a la:

Code:
Shift+RotaryC     Meter Input Thresh Time Const SC Filt Bal  DC Thr Output
Shift+RotaryPushC None  None   None    None       None  None  None   None
As far as vertical and horizontal scrolling, not an issue unless your screen is tiny, the new Learn window will be sizeable, as will the columns.
__________________
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
Old 04-19-2024, 12:47 PM   #25771
Nantho
Human being with feelings
 
Join Date: Mar 2013
Posts: 225
Default

I don't really understand what this is all about, but I find the new version more difficult to read.

Does it mean that old "AutoMapped" plug-ins won't work anymore because of the new FXLayouts zone syntax ?
__________________
____
-------
PhilosoMix - Test et Tuto vidéo
Nantho is offline   Reply With Quote
Old 04-19-2024, 12:47 PM   #25772
Funkybot
Human being with feelings
 
Funkybot's Avatar
 
Join Date: Jul 2007
Location: New Joisey
Posts: 6,063
Default

Nice! I'm looking forward to trying it all out.
__________________
CSI v3 Wiki
Funkybot is online now   Reply With Quote
Old 04-19-2024, 12:56 PM   #25773
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,415
Default

Quote:
Originally Posted by Nantho View Post
I don't really understand what this is all about, but I find the new version more difficult to read.

Well, yes, that's because this is a crude approximation, it will look much better with the real ListView control.

Quote:
Originally Posted by Nantho View Post
Does it mean that old "AutoMapped" plug-ins won't work anymore because of the new FXLayouts zone syntax ?
You will only have to change your FXLayouts zone and everything will work just fine.
__________________
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
Old 04-19-2024, 06:55 PM   #25774
jacksoonbrowne
Human being with feelings
 
jacksoonbrowne's Avatar
 
Join Date: Aug 2017
Location: Ottawa, Canada
Posts: 650
Default

Hi Geoff,

I have a table for the X32 that defines the float fader position of the physical X32 fader to the physical DB scale shown on the X32.

I was thinking that I might try to add some code to ensure that the X32 fader position exactly matches Reapers fader position 1 to 1

What I will need to do this, is a way to convert reapers float fader position to DB. Does this exist?
__________________
AKA: Roy Wallingford
jacksoonbrowne is offline   Reply With Quote
Old 04-19-2024, 07:17 PM   #25775
Nantho
Human being with feelings
 
Join Date: Mar 2013
Posts: 225
Default

Quote:
Originally Posted by Geoff Waddington View Post
You will only have to change your FXLayouts zone and everything will work just fine.
Great !

I was afraid it could be like with the very first AutoMap version. I was so happy when it came out that I spend three days working on my plug-ins zone files with the help of this great feature.

Then the new AutoMap came out, I believe it's the one we're using right now, and it includes a change that broke all my mapping.

I was on tour all around my country at the time so I didn't have the occasion to do everything all over again and I didn't use Reaper with CSI for almost a year 😅

Now that I have a little bit of time to get back to this fantastic tool, I just want to be sure my zones are going to last longer than the old ones 😊
__________________
____
-------
PhilosoMix - Test et Tuto vidéo
Nantho is offline   Reply With Quote
Old 04-20-2024, 02:51 AM   #25776
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,415
Default

Quote:
Originally Posted by jacksoonbrowne View Post
Hi Geoff,

I have a table for the X32 that defines the float fader position of the physical X32 fader to the physical DB scale shown on the X32.

I was thinking that I might try to add some code to ensure that the X32 fader position exactly matches Reapers fader position 1 to 1

What I will need to do this, is a way to convert reapers float fader position to DB. Does this exist?
Code:
            double vol, pan = 0.0;
            GetTrackUIVolPan(track, &vol, &pan);
            return VAL2DB(vol);
__________________
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
Old 04-20-2024, 02:54 AM   #25777
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,415
Default

Quote:
Originally Posted by Nantho View Post
Great !

I was afraid it could be like with the very first AutoMap version. I was so happy when it came out that I spend three days working on my plug-ins zone files with the help of this great feature.

Then the new AutoMap came out, I believe it's the one we're using right now, and it includes a change that broke all my mapping.

I was on tour all around my country at the time so I didn't have the occasion to do everything all over again and I didn't use Reaper with CSI for almost a year 😅

Now that I have a little bit of time to get back to this fantastic tool, I just want to be sure my zones are going to last longer than the old ones 😊
Have a look at any Auto mapped Zone.

If you see #Cell, you are good, if not, you will need to redo Auto maps.

Code:
#Begin auto generated section

	#Cell 1 
...
__________________
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
Old 04-20-2024, 02:56 AM   #25778
jacksoonbrowne
Human being with feelings
 
jacksoonbrowne's Avatar
 
Join Date: Aug 2017
Location: Ottawa, Canada
Posts: 650
Default

Quote:
Originally Posted by Geoff Waddington View Post
Code:
            double vol, pan = 0.0;
            GetTrackUIVolPan(track, &vol, &pan);
            return VAL2DB(vol);
Thanks Geoff
__________________
AKA: Roy Wallingford
jacksoonbrowne is offline   Reply With Quote
Old 04-20-2024, 03:01 AM   #25779
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,415
Default

Quote:
Originally Posted by jacksoonbrowne View Post
Thanks Geoff
You could also use TrackVolumeDB instead of TrackVolume, and it's all done for you
__________________
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
Old 04-20-2024, 03:30 AM   #25780
jacksoonbrowne
Human being with feelings
 
jacksoonbrowne's Avatar
 
Join Date: Aug 2017
Location: Ottawa, Canada
Posts: 650
Default

Quote:
Originally Posted by Geoff Waddington View Post
You could also use TrackVolumeDB instead of TrackVolume, and it's all done for you
Even better
__________________
AKA: Roy Wallingford
jacksoonbrowne is offline   Reply With Quote
Old 04-20-2024, 04:03 AM   #25781
Nantho
Human being with feelings
 
Join Date: Mar 2013
Posts: 225
Default

Quote:
Originally Posted by Geoff Waddington View Post
Have a look at any Auto mapped Zone.

If you see #Cell, you are good, if not, you will need to redo Auto maps.

Code:
#Begin auto generated section

	#Cell 1 
...
Oh man, I'm scared now...

Here is one of my Auto mapped zone that I did yesterday with the latest official build :

Code:
Zone "VST3: UADx 1176AE Compressor (Universal Audio (UADx))" "1176AE Compressor"
	MainDisplay2   FXMenuNameDisplay

#Begin auto generated section
	RotaryA1	FXParam 0
	DisplayUpperA1	FixedTextDisplay "Input"
	DisplayLowerA1	FXParamValueDisplay 0

	RotaryPushA1	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


	RotaryA2	FXParam 1
	DisplayUpperA2	FixedTextDisplay "Output"
	DisplayLowerA2	FXParamValueDisplay 1

	RotaryPushA2	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


	RotaryA3	FXParam 2
	DisplayUpperA3	FixedTextDisplay "Attack"
	DisplayLowerA3	FXParamValueDisplay 2

	RotaryPushA3	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


	RotaryA4	FXParam 3
	DisplayUpperA4	FixedTextDisplay "Release"
	DisplayLowerA4	FXParamValueDisplay 3

	RotaryPushA4	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


	RotaryA5	FXParam 4 [ 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 ]
	DisplayUpperA5	FixedTextDisplay "Ratio"
	DisplayLowerA5	FXParamValueDisplay 4

	RotaryPushA5	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


	RotaryA6	FXParam 5 [ 0 0.33 0.67 1 ]
	DisplayUpperA6	FixedTextDisplay "Meter"
	DisplayLowerA6	FXParamValueDisplay 5

	RotaryPushA6	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


	RotaryA7	FXParam 6 [ 0 1 ]
	DisplayUpperA7	FixedTextDisplay "SC Filter"
	DisplayLowerA7	FXParamValueDisplay 6

	RotaryPushA7	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


	RotaryA8	FXParam 7
	DisplayUpperA8	FixedTextDisplay "Mix"
	DisplayLowerA8	FXParamValueDisplay 7

	RotaryPushA8	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


	RotaryB1	FXParam 8 [ 0 0.17 0.33 0.5 0.67 0.83 1 ]
	DisplayUpperB1	FixedTextDisplay "Headroom"
	DisplayLowerB1	FXParamValueDisplay 8

	RotaryPushB1	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


	RotaryB2	FXParam 9 [ 0 1 ]
	DisplayUpperB2	FixedTextDisplay "Power"
	DisplayLowerB2	FXParamValueDisplay 9

	RotaryPushB2	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


	RotaryB3	FXParam 10 [ 0 1 ]
	DisplayUpperB3	FixedTextDisplay "Master Bypass"
	DisplayLowerB3	FXParamValueDisplay 10

	RotaryPushB3	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


	RotaryB4	FXParam 11 [ 0 1 ]
	DisplayUpperB4	FixedTextDisplay "Bypass"
	DisplayLowerB4	FXParamValueDisplay 11

	RotaryPushB4	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


	RotaryB5	FXParam 12
	DisplayUpperB5	FixedTextDisplay "Wet"
	DisplayLowerB5	FXParamValueDisplay 12

	RotaryPushB5	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


	RotaryB6	FXParam 13 [ 0 1 ]
	DisplayUpperB6	FixedTextDisplay "Delta"
	DisplayLowerB6	FXParamValueDisplay 13

	RotaryPushB6	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


	RotaryB7	NoAction
	DisplayUpperB7	NoAction
	DisplayLowerB7	NoAction

	RotaryPushB7	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


	RotaryB8	NoAction
	DisplayUpperB8	NoAction
	DisplayLowerB8	NoAction

	RotaryPushB8	NoAction
	NullDisplay	NoAction
	NullDisplay	NoAction


#End auto generated section
ZoneEnd

0 Input
1 Output
2 Attack
3 Release
4 Ratio
5 Meter
6 SC Filter
7 Mix
8 Headroom
9 Power
10 Master Bypass
11 Bypass
12 Wet
13 Delta
It doesn't look good, right ?
__________________
____
-------
PhilosoMix - Test et Tuto vidéo
Nantho is offline   Reply With Quote
Old 04-20-2024, 04:06 AM   #25782
jacksoonbrowne
Human being with feelings
 
jacksoonbrowne's Avatar
 
Join Date: Aug 2017
Location: Ottawa, Canada
Posts: 650
Default

I changed my zone files to use "TrackVolumeDB.

But I can't quite figure out how I can hook "TrackVolumeDB" to use my lookup conversion table.

Any bread crumbs you can offer me?
__________________
AKA: Roy Wallingford
jacksoonbrowne is offline   Reply With Quote
Old 04-20-2024, 05:15 AM   #25783
fourdogslong
Human being with feelings
 
Join Date: Sep 2023
Posts: 552
Default

I didn't follow everything so sorry if it's been said but will the new CSI work with my "old" FX zones, either ones I made with Learn, Auto-Learn or manually?
fourdogslong is online now   Reply With Quote
Old 04-20-2024, 06:23 AM   #25784
Funkybot
Human being with feelings
 
Funkybot's Avatar
 
Join Date: Jul 2007
Location: New Joisey
Posts: 6,063
Default

Quote:
Originally Posted by fourdogslong View Post
I didn't follow everything so sorry if it's been said but will the new CSI work with my "old" FX zones, either ones I made with Learn, Auto-Learn or manually?
My understanding is that they will continue to work as-is. They just may not be compatible with the new Remap window if you want to change them.
__________________
CSI v3 Wiki
Funkybot is online now   Reply With Quote
Old 04-20-2024, 07:20 AM   #25785
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,415
Default

Quote:
Originally Posted by jacksoonbrowne View Post
I changed my zone files to use "TrackVolumeDB.

But I can't quite figure out how I can hook "TrackVolumeDB" to use my lookup conversion table.

Any bread crumbs you can offer me?
Ah, maybe create a new Action X32TrackVolumeDB with custom code.

Don't forget to add X32TrackVolumeDB to CSurfIntegrator actions_.
__________________
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
Old 04-20-2024, 07:22 AM   #25786
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,415
Default

Quote:
Originally Posted by Funkybot View Post
My understanding is that they will continue to work as-is. They just may not be compatible with the new Remap window if you want to change them.
Yes, that is correct.

So, if you are happy with what you have, you're good.

If you want to modify a Zone, you will need to auto map it again first.
__________________
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
Old 04-21-2024, 03:52 AM   #25787
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,415
Default

Just an FYI.

With the new Learn Window redesign, there may be more changes to the AutoMap format beyond #Cell, so don't spend time redoing your Zones just yet.
__________________
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
Old 04-21-2024, 05:46 AM   #25788
MixMonkey
Human being with feelings
 
MixMonkey's Avatar
 
Join Date: Sep 2017
Location: London, England.
Posts: 4,918
Default

Quote:
Originally Posted by Geoff Waddington View Post
Just an FYI.

With the new Learn Window redesign, there may be more changes to the AutoMap format beyond #Cell, so don't spend time redoing your Zones just yet.
I hope that non-auto generated FX.zon will continue to work as normal
MixMonkey is offline   Reply With Quote
Old 04-21-2024, 07:06 AM   #25789
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,415
Default

Quote:
Originally Posted by MixMonkey View Post
I hope that non-auto generated FX.zon will continue to work as normal
Yup, they sure will, this is all about Learn/AutoMap only.
__________________
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
Old 04-21-2024, 07:33 AM   #25790
fourdogslong
Human being with feelings
 
Join Date: Sep 2023
Posts: 552
Default

Ok thanks guys
fourdogslong is online now   Reply With Quote
Old 04-21-2024, 04:58 PM   #25791
MixMonkey
Human being with feelings
 
MixMonkey's Avatar
 
Join Date: Sep 2017
Location: London, England.
Posts: 4,918
Default

Quote:
Originally Posted by Geoff Waddington View Post
Yup, they sure will, this is all about Learn/AutoMap only.
Thanks, just checkin'
MixMonkey is offline   Reply With Quote
Old 04-21-2024, 08:36 PM   #25792
jacksoonbrowne
Human being with feelings
 
jacksoonbrowne's Avatar
 
Join Date: Aug 2017
Location: Ottawa, Canada
Posts: 650
Default

Quote:
Originally Posted by Geoff Waddington View Post
Ah, maybe create a new Action X32TrackVolumeDB with custom code.

Don't forget to add X32TrackVolume to CSurfIntegrator actions_.

Hi Geoff, I have added action "X32TrackVolume"

I have tested this out and the X32 physical faders now match Reapers faders with +/- .1 DB accuracy

Code:
    actions_.Insert("X32TrackVolume", new X32TrackVolume());

Code:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
class X32TrackVolume : public Action
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
{
private:

    double X32ToReaper(double x32Vol)
    {
        double	volDB   = 0;
        if      (x32Vol >= 0.5)    volDB = x32Vol *  40.0 - 30.0;  // max dB value: +10.
        else if (x32Vol >= 0.25)   volDB = x32Vol *  80.0 - 50.0;
        else if (x32Vol >= 0.0625) volDB = x32Vol * 160.0 - 70.0;
        else if (x32Vol >= 0.0)    volDB = x32Vol * 480.0 - 90.0;  // min dB value: -90 or -oo
        return volDB;
    }

    double ReaperToX32(double volDB)
    {
        double	vol    = 0;
        if      (volDB < -60.0) vol = (volDB + 90.0) / 480.0;
        else if (volDB < -30.0) vol = (volDB + 70.0) / 160.0;
        else if (volDB < -10.0) vol = (volDB + 50.0) /  80.0;
        else if (volDB <= 10.0) vol = (volDB + 30.0) /  40.0;
        return vol;
    }

public:

    virtual const char *GetName() override { return "X32TrackVolume"; }
    
    virtual double GetCurrentDBValue(ActionContext *context) override
    {
        if (MediaTrack *track = context->GetTrack())
        {
            double vol, pan = 0.0;
            GetTrackUIVolPan(track, &vol, &pan);
            return VAL2DB(vol);
        }
        else
            return 0.0;
    }

    virtual void RequestUpdate(ActionContext * context) override
    {
        if (MediaTrack *track = context->GetTrack())
            context->UpdateWidgetValue(ReaperToX32(GetCurrentDBValue(context)));
        else
            context->ClearWidget();
    }
    
    virtual void Do(ActionContext *context, double value) override
    {
        if (MediaTrack *track = context->GetTrack())
            CSurf_SetSurfaceVolume(track, CSurf_OnVolumeChange(track, DB2VAL(X32ToReaper(value)), false), NULL);
    }
};
__________________
AKA: Roy Wallingford

Last edited by jacksoonbrowne; 04-22-2024 at 02:53 AM.
jacksoonbrowne is offline   Reply With Quote
Old 04-22-2024, 04:35 AM   #25793
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,415
Default

Quote:
Originally Posted by jacksoonbrowne View Post
Hi Geoff, I have added action "X32TrackVolume"

I have tested this out and the X32 physical faders now match Reapers faders with +/- .1 DB accuracy

Code:
    actions_.Insert("X32TrackVolume", new X32TrackVolume());

Code:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
class X32TrackVolume : public Action
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
{
private:

    double X32ToReaper(double x32Vol)
    {
        double	volDB   = 0;
        if      (x32Vol >= 0.5)    volDB = x32Vol *  40.0 - 30.0;  // max dB value: +10.
        else if (x32Vol >= 0.25)   volDB = x32Vol *  80.0 - 50.0;
        else if (x32Vol >= 0.0625) volDB = x32Vol * 160.0 - 70.0;
        else if (x32Vol >= 0.0)    volDB = x32Vol * 480.0 - 90.0;  // min dB value: -90 or -oo
        return volDB;
    }

    double ReaperToX32(double volDB)
    {
        double	vol    = 0;
        if      (volDB < -60.0) vol = (volDB + 90.0) / 480.0;
        else if (volDB < -30.0) vol = (volDB + 70.0) / 160.0;
        else if (volDB < -10.0) vol = (volDB + 50.0) /  80.0;
        else if (volDB <= 10.0) vol = (volDB + 30.0) /  40.0;
        return vol;
    }

public:

    virtual const char *GetName() override { return "X32TrackVolume"; }
    
    virtual double GetCurrentDBValue(ActionContext *context) override
    {
        if (MediaTrack *track = context->GetTrack())
        {
            double vol, pan = 0.0;
            GetTrackUIVolPan(track, &vol, &pan);
            return VAL2DB(vol);
        }
        else
            return 0.0;
    }

    virtual void RequestUpdate(ActionContext * context) override
    {
        if (MediaTrack *track = context->GetTrack())
            context->UpdateWidgetValue(ReaperToX32(GetCurrentDBValue(context)));
        else
            context->ClearWidget();
    }
    
    virtual void Do(ActionContext *context, double value) override
    {
        if (MediaTrack *track = context->GetTrack())
            CSurf_SetSurfaceVolume(track, CSurf_OnVolumeChange(track, DB2VAL(X32ToReaper(value)), false), NULL);
    }
};
Great stuff !!

Pushed a commit with those changes.
__________________
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
Old 04-22-2024, 07:51 PM   #25794
jacksoonbrowne
Human being with feelings
 
jacksoonbrowne's Avatar
 
Join Date: Aug 2017
Location: Ottawa, Canada
Posts: 650
Default

Hi Geoff,

I have reasons for the following but it is a bit too lengthy to discuss them here.

I'm trying to get the X32 Master track solo button to activate Reapers Master track solo.
And vice versa.

Can't seem to make it work in either direction.

Seems odd because Master Mute works both ways.

Is Master Solo supported by Reaper? CSI?

If so, it's not working for me

If not then I'll scratch that of my X32 To Do list.


.ost
Code:
Widget Master_Solo
    AnyPress            /-stat/solosw/71
    FB_X32IntProcessor  /-stat/solosw/71
WidgetEnd
MasterTrack.zon
Code:
Zone "MasterTrack"
    ....
    Master_Solo     TrackSolo
    ....
ZoneEnd
__________________
AKA: Roy Wallingford

Last edited by jacksoonbrowne; 04-22-2024 at 07:57 PM.
jacksoonbrowne is offline   Reply With Quote
Old 04-22-2024, 07:52 PM   #25795
jacksoonbrowne
Human being with feelings
 
jacksoonbrowne's Avatar
 
Join Date: Aug 2017
Location: Ottawa, Canada
Posts: 650
Default

Geoff,

Donation coming your way

I urge everyone who benefits from Geoff's efforts to donate
__________________
AKA: Roy Wallingford

Last edited by jacksoonbrowne; 04-22-2024 at 08:00 PM.
jacksoonbrowne is offline   Reply With Quote
Old 04-23-2024, 01:23 AM   #25796
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 11,415
Default

Quote:
Originally Posted by jacksoonbrowne View Post
Hi Geoff,

I have reasons for the following but it is a bit too lengthy to discuss them here.

I'm trying to get the X32 Master track solo button to activate Reapers Master track solo.
And vice versa.

Can't seem to make it work in either direction.

Seems odd because Master Mute works both ways.

Is Master Solo supported by Reaper? CSI?

If so, it's not working for me

If not then I'll scratch that of my X32 To Do list.


.ost
Code:
Widget Master_Solo
    AnyPress            /-stat/solosw/71
    FB_X32IntProcessor  /-stat/solosw/71
WidgetEnd
MasterTrack.zon
Code:
Zone "MasterTrack"
    ....
    Master_Solo     TrackSolo
    ....
ZoneEnd
Maybe code a new Action -- MasterTrackSolo -- based on the following:

https://forum.cockos.com/showthread.php?t=267891
__________________
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
Old 04-24-2024, 10:33 AM   #25797
Freex
Human being with feelings
 
Freex's Avatar
 
Join Date: Jul 2011
Location: Northern Ireland
Posts: 919
Default

Quote:
Originally Posted by Geoff Waddington View Post
Maybe code a new Action -- MasterTrackSolo -- based on the following:

https://forum.cockos.com/showthread.php?t=267891
I don't think there is a master solo, as what would you be soloing, everything that comes out of the master track, so everything.

From what I can see, in all the theme layouts, the solo buttons spot is filled by mono/stereo.

Personally I can't think of a real world use.
Freex is offline   Reply With Quote
Old 04-24-2024, 11:30 AM   #25798
fourdogslong
Human being with feelings
 
Join Date: Sep 2023
Posts: 552
Default

I agree with Freex, also would it be possible to make the master track visible on controllers that do not have a dedicated master fader?
It could optionally appear as the last track.
fourdogslong is online now   Reply With Quote
Old 04-24-2024, 01:51 PM   #25799
Freex
Human being with feelings
 
Freex's Avatar
 
Join Date: Jul 2011
Location: Northern Ireland
Posts: 919
Default

Quote:
Originally Posted by fourdogslong View Post
I agree with Freex, also would it be possible to make the master track visible on controllers that do not have a dedicated master fader?
It could optionally appear as the last track.
I have a Presonus Faderport Classic that I use at home as a mess about, I have it setup with a master subzone, I'm sure you could do the same with any controller.


In Button Zone
Code:
Somebutton                      GoAssociatedZone MasterTrack    //Enables MasterTrack control
Master Track Zone
Code:
Zone "MasterTrack"
    Fader1               TrackVolume
    Rotary1              TackPan [ (0.005,0.5) ]
    Mute1                 TackMute
    Solo1                 Raper 40917                   //Toggle Stereo/Mono
ZoneEnd
Obviously for your case you'd change the 1 to 8 (assuming your controller has 8 tracks)
Freex is offline   Reply With Quote
Old 04-24-2024, 04:08 PM   #25800
fourdogslong
Human being with feelings
 
Join Date: Sep 2023
Posts: 552
Default

Quote:
Originally Posted by Freex View Post
I have a Presonus Faderport Classic that I use at home as a mess about, I have it setup with a master subzone, I'm sure you could do the same with any controller.


In Button Zone
Code:
Somebutton                      GoAssociatedZone MasterTrack    //Enables MasterTrack control
Master Track Zone
Code:
Zone "MasterTrack"
    Fader1               TrackVolume
    Rotary1              TackPan [ (0.005,0.5) ]
    Mute1                 TackMute
    Solo1                 Raper 40917                   //Toggle Stereo/Mono
ZoneEnd
Obviously for your case you'd change the 1 to 8 (assuming your controller has 8 tracks)
Cool thanks, I'll give that a shot!
fourdogslong is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:25 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.