Old 03-06-2016, 05:12 PM   #1
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 237
Default Lua : TrackFXs Routing Matrix

FX Routing,combined in a single window.

Demo(gif)
https://stash.reaper.fm/26932/RMatrix.gif
https://stash.reaper.fm/26941/1234.gif

Horizontal scrolling - Shift + mouswheel.
Zoom - Ctrl + mouswheel.

====
Link - TrackFXs Routing Matrix
__________________
ReaScripts

Last edited by eugen2777; 05-24-2016 at 03:34 AM.
eugen2777 is offline   Reply With Quote
Old 03-07-2016, 05:15 AM   #2
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 4,206
Default

That's quite nice ! thanks for sharing.

You should considered using our common script header convention in your scripts so that all your scripts from your repo could be sync with ReaPack
X-Raym is offline   Reply With Quote
Old 03-07-2016, 06:48 AM   #3
digitalfix
Human being with feelings
 
Join Date: Nov 2015
Posts: 84
Default

Yippee!
digitalfix is offline   Reply With Quote
Old 03-07-2016, 12:54 PM   #4
ericzang
Human being with feelings
 
ericzang's Avatar
 
Join Date: Mar 2014
Location: Phoenix, AZ
Posts: 283
Default

cool!
ericzang is offline   Reply With Quote
Old 03-07-2016, 02:51 PM   #5
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 4,244
Default

excellent!
It's a better way to see all the chain for sure.
it should need scrolling horizontally in case you add many fx but normally it is not needed.
Very good
__________________
HeDaScripts for REAPER | VIP Donations
heda is offline   Reply With Quote
Old 03-07-2016, 03:58 PM   #6
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: City
Posts: 9,708
Default

Wicked. Great for so many things.
__________________
Dialogue/FX Editor & Re-Recording Mixer
Using Latch Preview
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 03-07-2016, 04:39 PM   #7
4x4uk
Human being with feelings
 
4x4uk's Avatar
 
Join Date: Jan 2013
Location: Newcastle UK
Posts: 450
Default

Excellent work I'm sure a lot of people will find this useful
4x4uk is offline   Reply With Quote
Old 03-08-2016, 02:10 AM   #8
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 237
Default

Quote:
Originally Posted by heda View Post
it should need scrolling horizontally
I just forgot to specify in the description.
Horizontal scrolling is there - Shift + mouswheel
Zoom - Ctrl + mouswheel
https://stash.reaper.fm/26941/1234.gif

Last edited by eugen2777; 03-16-2016 at 01:23 PM.
eugen2777 is offline   Reply With Quote
Old 03-08-2016, 02:49 AM   #9
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 16,623
Default

Good work

But here (Reaper v5.15) I get
"...pData\Roaming\REAPER\Scripts\TrackFXs Routing Matrix.lua:56: 'reaper.TrackFX_GetIOSize' is unknown"

Flashback: http://forum.cockos.com/showthread.php?t=164268
__________________
DarkStar ... interesting, if true. Inspired by ...

My top 40 FRs, as voted by you (updated for August 2016)

Last edited by DarkStar; 03-08-2016 at 03:10 AM.
DarkStar is offline   Reply With Quote
Old 03-08-2016, 03:23 AM   #10
spk77
Human being with feelings
 
Join Date: Aug 2012
Location: Finland
Posts: 2,286
Default

Very nice!

Darkstar,
TrackFX_GetIOSize was added/fixed in v5.16rc1:
- API: fix TrackFX_GetIOSize/TrackFX_GetPinMappings for JSFX without pin definitions
spk77 is offline   Reply With Quote
Old 03-08-2016, 03:49 AM   #11
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 16,623
Default

Thank you - yep, that error does not occur in v5.16 (but I have a .reaBank problem in v5.16 - in the BR forum)
__________________
DarkStar ... interesting, if true. Inspired by ...

My top 40 FRs, as voted by you (updated for August 2016)

Last edited by DarkStar; 03-08-2016 at 07:03 AM.
DarkStar is offline   Reply With Quote
Old 03-08-2016, 03:59 AM   #12
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 237
Default

Quote:
Originally Posted by DarkStar View Post
Oh, cool. But it is difficult in the implementation (if we talk about the third variant,with wires)
I just recently started learning lua.
Maybe in the future

Last edited by eugen2777; 03-08-2016 at 04:04 AM.
eugen2777 is offline   Reply With Quote
Old 03-08-2016, 04:54 AM   #13
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 1,496
Default

I also work at same direction, currently mostly about gui
eugen2777, можешь юзать мой пример для кривых, функцию взял с вики

__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate

Last edited by mpl; 03-08-2016 at 05:14 AM.
mpl is online now   Reply With Quote
Old 03-08-2016, 05:27 AM   #14
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 16,623
Default

Cheekily working on a few mods here:



-- set the main pin colours in a function to allow easier customisation
-- set the In / Out pin colours to greys
-- dropped down the [+] and [-] buttons
-- display / hide the pin numbers (using Alt+click)
__________________
DarkStar ... interesting, if true. Inspired by ...

My top 40 FRs, as voted by you (updated for August 2016)
DarkStar is offline   Reply With Quote
Old 03-08-2016, 06:24 AM   #15
Sju
Human being with feelings
 
Join Date: Jun 2015
Posts: 498
Default

Quote:
Originally Posted by mpl View Post
I also work at same direction
This is what I was gonna plead for, but... way ahead of me
Thanks to all of you scipt genii!
Sju is offline   Reply With Quote
Old 03-08-2016, 06:37 AM   #16
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 237
Default

mpl, thanks, спасибо, я пока забросил идею с проводами, для меня слишком сложно, чтобы реализовать.
===
DarkStar,You can put your modification here,
it looks more understandable to configure

Last edited by eugen2777; 03-08-2016 at 06:46 AM.
eugen2777 is offline   Reply With Quote
Old 03-08-2016, 06:43 AM   #17
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 1,496
Default

I think to generate pin xywh from existing FX xywh to make easy dealing with mouse cursor context and also some visual stuff. I also thinking do different colors for every channel.
I already parse/return these values from external state, but thats is not clean enougth.

oh and of course I should debug a lot and clean structure/graphics buffering to make CPU performance lower
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is online now   Reply With Quote
Old 03-08-2016, 06:59 AM   #18
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 237
Default

Sorry, I do not quite understand English.
Если делать с проводами, на мой взгляд, основная проблема в автоматической настройке маршрутизации, когда взял провод и бросил на другой эффект, нужно просчитать свободные каналы с учетом ВСЕХ уже существующих соединений. Потом нужны дополнительные сплитеры-микшеры и т.п.
eugen2777 is offline   Reply With Quote
Old 03-08-2016, 07:02 AM   #19
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 1,496
Default

Auto-routing is a problem, yes. I dont think adding splitter/joiner is really a problem for user, so I guess first thing we should concentrate to is GUI, getset pins is a second thing
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is online now   Reply With Quote
Old 03-08-2016, 07:11 AM   #20
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 237
Default

You're a master in the creation of interfaces.
For me, here, too, there are many problems.
eugen2777 is offline   Reply With Quote
Old 03-08-2016, 07:20 AM   #21
planetnine
Human being with feelings
 
planetnine's Avatar
 
Join Date: Oct 2007
Location: Lincoln, UK
Posts: 7,528
Default

This is very good, I like lots muchly!!


>
planetnine is offline   Reply With Quote
Old 03-08-2016, 10:44 PM   #22
gwok
Human being with feelings
 
gwok's Avatar
 
Join Date: Jun 2010
Location: Nelson, BC
Posts: 3,279
Default

great work, thanks a lot!

It seems fx with their own name instance are not getting their title in the UI for me.
__________________
MacPro Xeon, 10.9.5
Reaper 5
gwok is offline   Reply With Quote
Old 03-08-2016, 11:57 PM   #23
raiirock
Human being with feelings
 
raiirock's Avatar
 
Join Date: Mar 2013
Posts: 88
Default

Gret work guys !
Так держать !
raiirock is offline   Reply With Quote
Old 03-14-2016, 10:13 AM   #24
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 322
Default

You guys are awesome...

I've been really needing better routing and a graphical "modular" router as well!


I'm in love with this community!
Ozman is offline   Reply With Quote
Old 03-14-2016, 11:19 AM   #25
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: brighton, uk
Posts: 12,368
Default

Awesome! All of the versions look super useful so thanks!
__________________
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.
musicbynumbers is offline   Reply With Quote
Old 03-14-2016, 02:42 PM   #26
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 1,496
Default

While developing creating routing I also noticed Reaper chain signal flow is a bit complex while just set/unset pins. It needs from scripter not only to think which pins to set while manual fx connection, but also what to do with fx's between newly routed fx (which channels should be disabled from input or both input and output of plugins other than actually connecting. This from one side open feature request to Cockos to make undo point for every set/unset pin, or at least this should increment ProjectStateChangeCount. From the other side this should be done by myself inside script as custom made save/restore undo system for state of whole pins of all plugins in current fx chain, which makes code tiny bit more complex.


ps So hard to read forum from smartphone. Eugen, please don't use wide screenshots here.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate

Last edited by mpl; 03-14-2016 at 07:06 PM.
mpl is online now   Reply With Quote
Old 03-14-2016, 04:11 PM   #27
syntetic
Human being with feelings
 
syntetic's Avatar
 
Join Date: May 2014
Posts: 160
Default

Cool)
syntetic is offline   Reply With Quote
Old 03-19-2016, 06:35 AM   #28
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 16,623
Default

And my pimped version:

-- connector pin colours,
-- pin numbers (Alt_click)
-- wires (Alt_right_click)



How to install a LUA or EEL script (in Post #5)

and ... a work in progress:
http://forum.cockos.com/showthread.php?t=174424
Attached Files
File Type: lua TrackFXs Routing Matrix_DS.lua (10.9 KB, 152 views)
__________________
DarkStar ... interesting, if true. Inspired by ...

My top 40 FRs, as voted by you (updated for August 2016)
DarkStar is offline   Reply With Quote
Old 03-19-2016, 08:18 AM   #29
raiirock
Human being with feelings
 
raiirock's Avatar
 
Join Date: Mar 2013
Posts: 88
Default

Looks freakin incredible

Last edited by raiirock; 03-19-2016 at 08:23 AM.
raiirock is offline   Reply With Quote
Old 03-19-2016, 08:37 AM   #30
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: brighton, uk
Posts: 12,368
Default

Awesome! thanks!
__________________
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.
musicbynumbers is offline   Reply With Quote
Old 03-20-2016, 06:30 PM   #31
X-Tech
Human being with feelings
 
Join Date: Apr 2015
Posts: 442
Default

Amazing ideas.
__________________
nonononononono

Last edited by X-Tech; 04-10-2016 at 08:36 AM.
X-Tech is offline   Reply With Quote
Old 03-21-2016, 10:42 AM   #32
MotionMindz
Human being with feelings
 
Join Date: Feb 2011
Posts: 196
Default

I want that ModularChain concept in Reaper !!!!
MotionMindz is offline   Reply With Quote
Old 03-29-2016, 06:04 AM   #33
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 322
Default

What's been up with these lately?

These are probably the most needed plugs (for sound design) right now.

============
Edit:

Ok, the routing matrix is looking good. And I see mpl is still working on the Modular Chain as well.
Awesome!

Last edited by Ozman; 03-29-2016 at 06:17 AM.
Ozman is offline   Reply With Quote
Old 03-29-2016, 11:59 AM   #34
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 1,496
Default

My solution is very CPU hungry, so I don't think I can implement it better then Eugen.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is online now   Reply With Quote
Old 03-29-2016, 12:38 PM   #35
snooks
Human being with feelings
 
Join Date: Sep 2015
Posts: 1,451
Default

Quote:
Originally Posted by mpl View Post
My solution is very CPU hungry, so I don't think I can implement it better then Eugen.
Where is it, can I have a look?
snooks is offline   Reply With Quote
Old 03-29-2016, 12:48 PM   #36
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 1,496
Default

Sure, https://github.com/MichaelPilyavskiy...dularChain.lua

(this of course at very early developement stage without proper GUI updates and advanced stuff like custom undo system, fx blocks things etc)
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is online now   Reply With Quote
Old 03-31-2016, 08:28 AM   #37
jgnelson
Human being with feelings
 
Join Date: Feb 2014
Posts: 26
Default Creating plugin side chain

I have struggled with this for a long time, evidently I have a mental block trying to understand the documentation on how to create a side chain.
so now I am at the point where I need to create one, and I am not sure if I am doing it correctly at all, simply because I just do not understand it.
so, can someone please take me through creating a simple side chain step by step, I know this may be very simple for everyone on here, but if you could take a moment and walk me through it, I would appreciate it.

Gary
jgnelson is offline   Reply With Quote
Old 04-01-2016, 07:09 PM   #38
Subz
Human being with feelings
 
Subz's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 2,919
Default

Quote:
Originally Posted by mpl View Post
I also work at same direction, currently mostly about gui
eugen2777, можешь юзать мой пример для кривых, функцию взял с вики

this looks cool! (shame the current beta does not run on my system for some reason!)

Subz
Subz is offline   Reply With Quote
Old 04-10-2016, 04:03 AM   #39
inspired
Human being with feelings
 
inspired's Avatar
 
Join Date: Dec 2010
Posts: 241
Default

I've modded it myself as well :P, mostly because i wanted it to look more native.
It's an awesome feature and didn't like that the gui seemed too custom (a thing for most reascripts imo, that's another topic)

Again, a huge thank you eugen
So here it is

It's available on my github
TODO scroll via dragging the scrollbar (now only with mousewheel)
The colors to be on par with the theme requires the .ReaperTheme to be extracted (and not use .ReaperThemeZip)
__________________
My ReaScripts
inspired is offline   Reply With Quote
Old 04-11-2016, 05:14 PM   #40
Subz
Human being with feelings
 
Subz's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 2,919
Default

any tips to resolve this?

[...ta\Roaming\REAPER\Scripts\ActonDev_Fx Routing Matrix.lua:5: unexpected symbol near '<']

Attached Images
File Type: png modula.png (14.0 KB, 1286 views)

Last edited by Subz; 04-12-2016 at 11:12 AM.
Subz is offline   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 02:53 AM.


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