assign FX to Effect slot
-
@ulrik I am studying keep practicing from the Practical Examples /projects. If you come up with the actual solution Drag Knob Button etc Panel and Swap FX Slot do share the snippet. I really want to study your works. Another Work I am big fan of yours.. That is Color Chart. I guess you made it few months ago. You are a big inspiration for us.
-
@d-healey @ustk how would you decide what type of value, the min and max, and suffix, to get from getAttribute()?
Would you make a long, long, very long array with the attribute names from all Effects and use as a look up table, or would you use another way, which?
This what I have so far, as you can see I can manipulate all values and set them with setAttribute, but I don't know what type it is, is it a boolean, values from a cmb, etc...
-
@ulrik Thank you man, you're great!!!
-
@ulrik I would almost certainly use a 2D array. I don't see where it would be very long, FXs don't have hundreds of parameters…
But why would you access min and max values? They are fixed values, so you just need to know if you are building a gain or a freq parameter or anything else. All gain are -100 to 0, all freq 20 to 20000, etc… -
@ulrik Once again a perhaps pointless suggestion from me
Maybe via LAF (obj.valueSuffixString) and obj.text?if (obj.text.indexOf("group2") != -1){ g.setFont("GUI-Barlow-Medium", 17.0); g.setColour(grau); g.drawAlignedText(obj.valueSuffixString, [0,-4,90,36], "centred"); g.setColour(hellgrau); g.setFont("GUI-Barlow-Medium", 17.0); g.drawAlignedText(text , [0,32,80,20], "centred"); };```
-
@MikeB I don't have any knobs, I get all values from the module directly, and there is no information about type, suffix or anything, I have to create them myself so I will go with ustk's suggestion with arrays or objects per parameter
-
@ulrik
Tonight (we've come this far - that I dream of sliders and curly brackets at night) :-)It occurred to me that if you don't have knobs you can't save the values you set as presets - can you?
-
@MikeB all gets stored in the panel, and the panel is stored in presets
-
@ulrik Very good - I'll think about it at night :-))
-
@MikeB said in assign FX to Effect slot:
@ulrik Very good - I'll think about it at night :-))
I find that the best ideas come in the early mornings, while still being wrapped in curly brackets and paint routines... Today I tried sending an e-mail off by hitting F5!
-
@ulrik progress so far
I had to remove the Degrade and Limiter modules because they gave me crazy values reported here:
https://forum.hise.audio/topic/4705/effects-degrade-limiterThis is using 1 panel for all Effect settings, maybe a bit limiting cause you can't have 2 modules in editing mode at the same time except for the CurveEq, I might change that.
I should say that the CurveEq is FloatingTile -
@ulrik Awesome (y)
-
Yesterday I saw this nice implementation of a freely definable effect chain.
When I look at the tooltip below - ????
-
Seems like somebody has been lurking this thread...
-
@MikeB Nice
-
@ustk said in assign FX to Effect slot:
All gain are -100 to 0, all freq 20 to 20000, etc…
I've noticed that it is not entirely true for all effects, for instance
Saturator: Pre & Post gain 0 - 24 dB
Convolution: PreDelay 0 - 500ms...
Dynamics: Attacks & Releases also have another range 0 -100 ms etc..I did it the way you suggested but instead of a 2d array, every effect has an object connected to it with, min, max, which attributes to use (leaving the deprecated out) and suffixes,
it work fine so far... :) -
@ulrik This is so damn helpful! Thanks a million for sharing :)
Some of my plugins are prepared for this and I had to pause.
It seems like I can go on soon. -
@ulrik Wouldn't it be more comfortable to get rid of the "edit effect" and to select it with a left click which would activate the editing?!
-
@UD-AUDIO that's a good idea, I might do that, thanks!
-
@ulrik I like the way vital does it but it can be even better.