![]() |
#1 |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,350
|
![]()
SendFader is a lua script for REAPER.
It provides manipulating selected track sends data. Installation:
Last edited by mpl; 01-11-2025 at 12:47 PM. |
![]() |
![]() |
![]() |
#2 |
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,352
|
![]()
Awesome!
![]() I'll give it a go as soon as possible. I don't use many sends myself but do a lot of headphone mixes so could be useful for that too. ![]()
__________________
subproject FRs click here note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music. |
![]() |
![]() |
![]() |
#3 |
Human being with feelings
Join Date: Jun 2012
Location: Spain
Posts: 7,470
|
![]()
you are amazing mpl
![]() I wonder if there would be a way to start the script to open a specific id of send with a specific name as an additional action. it would involve another action to set the name and store it in a projstate or something, and then the new action that opens the script directly to that send. just an idea.. also I removed a send and I got this mpl_SendFader.lua:538: attempt to index a nil value (field '?') awesome work as always! |
![]() |
![]() |
![]() |
#4 | |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,350
|
![]()
Thanks for catch Heda, should be fixed now (hope I didn`t missed other places with checking for existing send data)!
About this Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Human being with feelings
Join Date: Jul 2009
Posts: 1,145
|
![]()
Amazing !!
![]() Is there any way to implement midi learn with this ? Thanks for your brilliant work... |
![]() |
![]() |
![]() |
#6 |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,350
|
![]()
MIDI Learn to what?
Visible send volume? |
![]() |
![]() |
![]() |
#7 |
Human being with feelings
Join Date: Jul 2009
Posts: 1,145
|
![]()
That would be amazing !
Maybe a bit like your mapping panel but for send levels ? Min/Max value setting would be great too . |
![]() |
![]() |
![]() |
#8 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,671
|
![]()
@mpl
very nice to have meters ! Maybe to enhance a bit the usability, it should display track colors in some ways ![]() I am thinking about small rectangle somewhere. Also, small bugs with GUI unable to redraw correctly if size went down too much. ![]() As we can set our own custom size, wouldn't be possible to have the interface fully flexible while the script is running ? A part from nice, nice GUI !! Congrats !
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#9 | |
Human being with feelings
Join Date: Jun 2012
Location: Spain
Posts: 7,470
|
![]() Quote:
Storing last used id would also be good. |
|
![]() |
![]() |
![]() |
#10 |
Banned
Join Date: Dec 2016
Location: England
Posts: 2,432
|
![]()
Pardon me,but dam your good mpl.
Many credits to your works. just can't get this image out of my head though ![]() ![]() 1 of the *JSFX Men* |
![]() |
![]() |
![]() |
#12 |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,350
|
![]()
I did a little update for you, Hector. I guess GUID and send ID (1-based) is pretty enough for linking with your Track Inspector
![]() Raymond, also did some improvements with indents and gfx.w/gfx.h redraw stuff. Colors come later ![]() J Reverb, ok I thing it is possible to have external scripts for control current send volume and other one for selecting send. Thanks, guys! |
![]() |
![]() |
![]() |
#13 |
Human being with feelings
Join Date: Jul 2009
Posts: 1,145
|
![]()
Awesome !
Re send control script, Would that be reflected in the automation lanes for recording purposes ? I'm sure this will make a lot of people very happy ![]() |
![]() |
![]() |
![]() |
#14 |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,350
|
![]()
External control should works now (hope I didn`t broke something).
|
![]() |
![]() |
![]() |
#15 |
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
![]()
mpl, this is amazing !!
|
![]() |
![]() |
![]() |
#16 |
Human being with feelings
Join Date: Jul 2009
Posts: 1,145
|
![]() |
![]() |
![]() |
![]() |
#17 |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,350
|
![]()
In the main script click 'Remote'. And link you midi/osc control to the script 'SendFader - set volume'.
|
![]() |
![]() |
![]() |
#19 |
Human being with feelings
Join Date: Jul 2009
Posts: 1,145
|
![]()
Brilliant !
Is it fairly straight forward to implement soft takeover on external control? And finally is there a way of linking that to send automation lane for recording? That would be the icing on the cake ... Really great stuff mpl !! ![]() |
![]() |
![]() |
![]() |
#20 |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,350
|
![]()
Track automation - Latch mode
|
![]() |
![]() |
![]() |
#21 |
Human being with feelings
Join Date: Jul 2009
Posts: 1,145
|
![]()
Been playing around with Latch mode, it works from the native send fader as expected but not with external control, Not sure if I am missing something here?
Also I have noticed there is an update lag which I think may be to do with the undo queue stacking up, not sure.. |
![]() |
![]() |
![]() |
#22 |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,350
|
![]()
Sorry, J Reverb! Just tested it and yes, for some reason it doesn`t work for Latch mode (WTF, why?). So I guess the only way is to set envelope points directly which is pretty CPU hungry (get/set envelope every defer cycle).
Gurus from here, let me know if I`m wrong and it is just something wrong in the code. |
![]() |
![]() |
![]() |
#23 |
Human being with feelings
Join Date: Aug 2014
Location: Netherlands
Posts: 882
|
![]()
Sorry for off topic question: mpl how do you get the I/O window open? When I click something else, it always immediately closes.
![]() |
![]() |
![]() |
![]() |
#24 |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,350
|
![]()
Preferences/General/Advanced UI tweaks/Prevent closing routing
|
![]() |
![]() |
![]() |
#25 |
Human being with feelings
Join Date: Aug 2014
Location: Netherlands
Posts: 882
|
![]()
Thank you MPL, but ahhmmm...I feel a bit like a blind old man because I cannot find that option? It's not in that UI tweak window. I also searched for "Prevent closing" and also for "Routing" but no option found in my Reaper v5.32 x64? What am I doing wrong?
|
![]() |
![]() |
![]() |
#26 |
Human being with feelings
Join Date: Sep 2008
Location: Illville - Germany
Posts: 972
|
![]()
Here you go, Paul:
![]()
__________________
REC SPOT // DIYRE colours & 500 series modules |
![]() |
![]() |
![]() |
#27 |
Human being with feelings
Join Date: Aug 2014
Location: Netherlands
Posts: 882
|
![]() |
![]() |
![]() |
![]() |
#28 | |
Human being with feelings
Join Date: Jul 2009
Posts: 1,145
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#29 |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,350
|
![]()
Thanks to heda, it should works now.
|
![]() |
![]() |
![]() |
#30 |
Human being with feelings
Join Date: Jul 2009
Posts: 1,145
|
![]()
Genius !
I think now that external script for midi control is getting run every time midi cc is received causing a lag, is it possible to bind a specific controller to send level and pan into the script itself, something like ch16 cc7 maybe.. This is a game changer for me, thanks ![]() |
![]() |
![]() |
![]() |
#31 |
Human being with feelings
Join Date: Jan 2015
Posts: 810
|
![]()
Great work!
Post Fader, Pre Fader, Pre FX button doesn't work here (doesn't actually changes anything).. thanks!! |
![]() |
![]() |
![]() |
#32 |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,350
|
![]()
It works as expected for me (just not make changes dynamically in routing window).
![]() |
![]() |
![]() |
![]() |
#33 | |
Human being with feelings
Join Date: Jan 2015
Posts: 810
|
![]() Quote:
REQUEST: COULD YOU MAKE SIMILAR SCRIPT TO KEEP A TRACK MIXER FLOATING? IT WOULD BE ENOUGH TO KEEP ONE TRACK STRIPE WITH JUST VOLUME, SOLO, MUTE, PAN, WIDTH, MAYBE PHASE for one selected track. So if I scroll right to track 156 I can keep ONE track at hand (I often use it for reference material to compare sound, etc.). It would be wonderful, even simple design (I don't know if you can use the graphics items of the theme in LUA...) just as an additional challenge ![]() g |
|
![]() |
![]() |
![]() |
#34 |
Moderator
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,732
|
![]()
I just tried this script and it's an incredible time saver. I use tons of sends on my mixes so having something like this is definitely a major boost in my workflow. Thank you very much, Michael.
I have an idea... What if we could create send tracks from it? Let's say I select one or more tracks (with or without sends) and then it creates one track for each selected track with a given preffix and/or suffix (and ideally with their send track colors). For example, let's say I have: Track 20: Lead synth Track 21: Gtr ac rhythm Track 22: Piano and I select them all, right-click on the SendFader panel (or click on a button, dunno) and "create send tracks from selected tracks". This would ideally prompt for suffix and/or preffix and color. So I write: "RVB" as preffix and "main" as suffix and leave it as is for default color (or maybe there's a way so they can inherit the sending track color?) and it creates these tracks at the end of the tracklist: Track 50: RVB Lead synth main Track 51: RVB Gtr ac rhythm main Track 52: RVB Piano main Good? Bad? Too much work? Not interested? ![]()
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway |
![]() |
![]() |
![]() |
#35 | |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,350
|
![]() Quote:
But this code should works: Code:
-- Add sends to selected tracks function main() local retval, pref = reaper.GetUserInputs( 'Set send prefix', 1, '' ,'') local retval1, suff = reaper.GetUserInputs( 'Set send suffix', 1, '' ,'') if retval or retval1 then for i = 1, reaper.CountSelectedTracks(0) do local tr = reaper.GetSelectedTrack(0,i-1) if tr then track_col = reaper.GetTrackColor( tr ) _, src_name = reaper.GetSetMediaTrackInfo_String( tr, 'P_NAME', '',false ) reaper.InsertTrackAtIndex( reaper.GetNumTracks(0), true ) new_dest_tr = reaper.CSurf_TrackFromID( reaper.GetNumTracks(0), false ) reaper.SetTrackColor( new_dest_tr, track_col ) new_send_id = reaper.CreateTrackSend( tr, new_dest_tr) if new_send_id >= 0 then new_name = pref..' '..src_name..' '..suff if new_dest_tr then reaper.GetSetMediaTrackInfo_String( new_dest_tr, 'P_NAME', new_name ,true) end end end end reaper.TrackList_AdjustWindows( false ) end end main() Last edited by mpl; 02-02-2017 at 07:09 PM. |
|
![]() |
![]() |
![]() |
#36 |
Moderator
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,732
|
![]()
That's very kind of you, Michael. Thanks!
Why do you think this won't fit in your SendFader script? Having a button to run that script would hurt the design?
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway |
![]() |
![]() |
![]() |
#37 |
Human being with feelings
Join Date: Jan 2015
Posts: 810
|
![]()
Hi Michael, when I click on MIXER I see little track stripes below for all sends. Could you make them clickable so that when I click on a track the Floating Send changes for that send?
thanks |
![]() |
![]() |
![]() |
#38 |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,350
|
![]()
Gianfini, you can use mouse scroll in this window. Or select send from send name button context list.
Mercado_Negro, this is too specific. Instead I added this action to my reapack repo. Last edited by mpl; 02-03-2017 at 06:33 AM. |
![]() |
![]() |
![]() |
#39 |
Moderator
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,732
|
![]()
Fair enough. Thanks, Michael!
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway |
![]() |
![]() |
![]() |
#40 |
Human being with feelings
Join Date: Jul 2009
Posts: 1,145
|
![]()
Hi Mpl,
On further testing the write envelope works great from the GUI !! If I map a cc to the external Script: mpl_SendFader - set volume (MIDI OSC only).lua, there is a noticeable lag. Is this something that's easily fixed ? Also soft takeover would be really nice to prevent value jumps when switching sends. Really appreciate your amazing work on this one. Cheers. |
![]() |
![]() |
![]() |
Thread Tools | |
|
|