Apologies if this has already been discussed....but I would think this would be low hanging fruit:
Posts
-
RE: Simple ML neural network
-
RE: Loading an IR in a scriptnode convolution module via script
I got it working!
Thanks to everyone for the help....it's greatly appreciated! -
Loading an IR in a scriptnode convolution module via script
Hello all....
A project I'm working on has multiple convolution modules in a scriptnode network. I am attempting to load the IRs into the modules via scripting. It seems to be working, the convolution module is showing the name of the IR, but it's not actually loaded. If I manually load the IR in, it works.To illustrate....the module on the left is loaded via script, but the module on the right in manually loaded. Although they both have the IR file name in the "label", only the one on the right actually loaded the IR.
So, here is the code in the function I'm using to "load" the IR. I know it can be simplified, but I figured it might be easier to follow this way
//create obj reference to cab 1 convolution modules and audio file slot
local CabIR1_1 = Synth.getAudioSampleProcessor("Cabinet1").getAudioFile(0);//create variable to hold IR file name
// translates to something like: "PV 5150 412 Sheffield - SM57 - Cap.wav"
local CabIR1_1_wav = theCab1 + " - " + theMic1 + " - Cap.wav";//load an iR into each of the convolution modules
CabIR1_1.loadFile(CabIR1_1_wav);I hope that all makes sense? Thanks in advance!