Changing Impulses in Scriptnode.
-
@Matt_SF Make sure you use the latest build, I think I've recently fixed stuff around this topic.
Oh, and there was indeed an issue with it only detecting the first slot, but this should be fixed now, so you can do
const var s = Synth.getAudioSampleProcessor("Script FX1"); const var first = s.getAudioFile(0); const var second = s.getAudioFile(1); second.loadFile("something");
-
@Christoph-Hart I do have the latest build on my PC but I may be a only few commits late on my mac. I'll try this tomorrow, thanks Christoph !
-
@Matt_SF You're guaranteed to be one commit behind the fix for multiple files, because I've just pushed it a few minutes ago :)
-
@Matt_SF @Christoph-Hart Thank you so much! This is exactly what I needed. :couple_with_heart_man_man:
-
@dustbro have you tried using the hardcoded master fx? For a static effect like this it‘s recommended for final product as it removes the scripting overhead.
-
@Christoph-Hart I have no idea what that even means
Is there a link to docs so I can read up on it? -
@dustbro Basically, it's the Effect Slot unit's custom network version.
You can select/swap your compiled custom dll networks with this unit and code them via script using the same API as with the older FX modules. -
@dustbro simply compile your scriptFx, add a hardcoded fx module and select your custom fx in the list, and voilà.
Very neat indeed -
sweet! I'm gonna check this out now
-
@Christoph-Hart Is there a version of this for poly effects or synths?
-
@d-healey poly effect yes. Synths no, but that‘s where the new SilentSynth comes in handy (actually it‘s exactly made for this purpose).
-
-
@d-healey a silent synth.
-
@Christoph-Hart It's so clear to me now that you've added a space :p
Do I add a hardcoded effect to the silent synth and load the network in there?
-
@d-healey yes. If you‘re using an envelope in your synth you‘ll have to enable HasTail before compiling, but this concept is still under construction...
-
@Christoph-Hart I can't seem to compile DSP that contains the convolution node. Issue reported on github scriptnode_testsuite
-
@dustbro latest develop? The Dorian Marko piano uses a convolution node in a compiled node so it definitely works (at least in my case). Are you using external slots?
-
@Christoph-Hart latest develop. External slots used. Maybe it's an issue in Linux? I'll try PC
-
@dustbro Ive also been having this issue! Ive tried on Mac and PC, when I go to compile the node, the compilation process works, but when I go to open the project again, HISE crashes, (I think might've described this same problem on another thread which you also responded to). Seems like im not alone!
-
@Christoph-Hart I can't even wrap the node. It disappears when I reload.
If I try to unload/reload the DSP, I get an error: