helgoboss / helgobox

Helgobox: ReaLearn & Playtime
https://www.helgoboss.org/projects/helgobox
GNU General Public License v3.0
204 stars 20 forks source link

Track Width in MCP When Selecting Track in ReaLearn #783

Open rcaia opened 1 year ago

rcaia commented 1 year ago

Tracks with layouts that expand the displayed track width in MCP on selection do not expand properly when selected with ReaLearn. Selection with mouses expands and contracts display in MCP as expected. Realearn appears to expand and contract the tracks graphics without expanding the actual on screen display width. So a track that expands from 60px to 120px in width when selected by mouse... with ReaLearn it stays 60px wide, but the underlying graphics are expanded, typically making the track illegible by sliding the main track information out of view.

helgoboss commented 1 year ago

Currently, I can't put effort into investigating this. But there's one way one could help with this particular request: Finding the correct ReaScript function(s) for selecting a track that takes care of expanding. Then half of the work would be done. Or do you happen to know the right function already?

rcaia commented 1 year ago

I don't know how to find the Reascript function for this but the flag for "expand track sidebar on selection" is set in the theme. So it would seem that whatever function the mouse click executes to select the track recognizes that flag, but the function ReaLearn uses for track selection does not. So either completely different functions are being used or there is some reason the function is not seeing or acting on the expand sidebar setting.

I'm happy to help figure it out, but my programming and debugging skills... are limited... I've looked at and touched lightly a lot of code in the last 50 something years [yikes that's a while...] but it's only been an occasional dabbling... so I have plenty of holes in my understanding of what I'm looking at.

Point me at a place to start looking and I'll look at it and see if I can figure something out.

Thanks for your time.

Robin

FYI - If I didn't already say so... ReaLearn is REALLY a great tool. I have been tinkering with it and my Launch Control XL and ASM Hydrasynth Deluxe... it gives a huge amount of control and flexibility in controlling Reaper and my large collection of varied VSTs.

The Launch Control XL has a large number of controls and it has reasonable DAW control without ReaLearn... but I can make it do more with ReaLearn... and VST control is way better and more flexible.
Mapping directly to VST parameters instead of to a MIDI CC is great... and I see what's mapped on the ReaLearn web interface...

My Hydrasynth can transmit/receive MIDI CCs but can do MUCH more using NRPN... ReaLearn does a great job of handling the various NRPN messages [different min/max and range of values] and mapping to whatever I want to control. It makes the Hydrasynth an amazing controller keyboard as I can map controls for 8 macros, 2 filters, 5 envelopes, 5 LFOs, 3 OSC, mixer... more parameters than the MIDI CC will control... maybe more than I can keep track of... but ReaLearn's web interface helps with that...

Anyway thanks again 🙂

------ Original Message ------ From "helgoboss" @.> To "helgoboss/realearn" @.> Cc "rcaia" @.>; "Author" @.> Date 1/4/2023 1:59:51 PM Subject Re: [helgoboss/realearn] Track Width in MCP When Selecting Track in ReaLearn (Issue #783)

Currently, I can't put effort into investigating this. But there's one way one could help with this particular request: Finding the correct ReaScript function(s) for selecting a track that takes care of expanding. Then half of the work would be done. Or do you happen to know the right function already?

— Reply to this email directly, view it on GitHub https://github.com/helgoboss/realearn/issues/783#issuecomment-1371478061, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEAX4IXKDW345PDUA7A7GTWQXXFPANCNFSM6AAAAAASSZDELM. You are receiving this because you authored the thread.Message ID: @.***>