Re-Order FX
-
I know there have been several threads on this but it was a while back and I wonder if there's been any advancements since then. I could see any tutorial on GH, although this might make a good one.
I'm looking to implement this in my next update.
I think we have to use Effect Slots.
I'm also looking to have a nice mouse drag re-ordering system on the UI. I think @ulrik designed one a while back and posted a snippet on here too!
In the meantime I'll try and dig those threads up
-
@DanH I've implemented it but you have to use panels for pretty much everything and it is not pretty. I am still waiting as I know @Christoph-Hart has begun work on changing some of the components to be dynamic.
-
@HISEnberg yes seems like a panel fest!
-
@DanH Last time I tried, I managed to do it with panels, an fx menu, the fx slots, and sliders. I had to write out and store all the slider values in a massive JSON file. The user clicks one of the panels which opened the menu, selected the fx which loads the DSP network to the right effect slot, and then that updated the sliders via a timer.
I've posted about this elsewhere but I suspect doing everything with panels would allow you to at least dynamically construct and destroy everything without needing to store the slider data. Also a broadcaster would certainly be your best friend here.
-
@DanH Yes, that was a long time ago, I remember spending a lot of hours to make that work, but I didn't find it stable to work with the swap function so I gave up (maybe it was me not doing it the right way)
However a new project I'm working with has the same function (with Effect slots) loading hardcoded fx scriptnode dll's, but I scripted my own swap function, and it seems to work nicely (so far...)I have, just as @HISEnberg described, a massive JSON for all the effects, to make it work dynamically and it also involve timers to update changes when changing the order
-
@DanH I can't even get them to reorder in the node tree, how would I ever do that in a GUI ;))))
-
@ulrik you guys are wizards! this is brilliant!
-
-
@d-healey can I see this in action anywhere to get an idea?
-
@DanH Download Mndala,
I thinkthey have some free instruments - https://www.mntra.io/, https://www.mntra.io/shoppe/#free -
@ulrik Thanks! This looks pretty much what I'm looking to do. How do you handle automation lane creation / naming?
-
@DanH I have already attached knobs/buttons for all parameters, (the components are also inside the "big" json for each effect, and they will stay the same when re-ordering the effects so...
you can do as you do with any other fx/instrument -
@DanH said in Re-Order FX:
How do you handle automation lane creation / naming?
I can't remember it was several years ago that I wrote it and I haven't looked at the code in a long time...
-
@ulrik Yes that makes sense.
-
@DanH Do you know if it's possible to have automation names instead of numbers showing the value, like if I chose to have a synced delay and want to display the note value names instead of numbers in the host automation lane, like:
1/1, 1/8 1/16T etc...? -
@ulrik I see it in other VSTs, so yes! But I don't know how... And it probably needs @Christoph-Hart to implement it into Hise...
-
-
@ulrik out of interest how does your FreqShifter work? I'm about to look into creating one of those...
-
@DanH Oh it's the Faust version from somewhere around here on the forum, not the best I think.
Planning to upgrade all effects step by step, going slowly forward using scriptnode, faust and rnbo
If you have any tip where to dig I'm an eager listener -
@ulrik good thread here with a link to a c++ library to get started