Convolution.setFile
-
The .setFile option is not working
-
@Jay
Put all of your IR files into the "Audio" folder,
Let's say your convolution fx unit id is "Convolver" then the code will be like that;Convolver.setFile("{PROJECT_FOLDER}Your IR File.wav");
;)
-
@orange I got it like and is not working
is saying : Function not found
-
inline function onplateBtnControl(component, value)
{
if(value == 1)
{
rtLbl.set("text", "Plate");
ConvolutionReverb.setFile("{PROJECT_FOLDER}Plate.wav");
}
};
Content.getComponent("plateBtn").setControlCallback(onplateBtnControl); -
@orange I got it figure it out, I have to declare it like this:
const var nameofconvolver = Synth.getAudioSampleProcessor("nameofconvolver");
in order to work.
but thanks man, you are really helpful.
-
@Jay Yeah I assumed that you've allready declared the convolution engine ;)
-
I have problem with latest script-node.
I tried load irs in simples way but without sucess
I have something like this
const var ConvolutionReverb1 = Synth.getEffect("Convolution Reverb1"); const var Button1 = Content.getComponent("Button1"); inline function onButton1Control(component, value) { if(Button1.getValue() == 1) { ConvolutionReverb1.setFile("{PROJECT_FOLDER}1.wav"); } }; Content.getComponent("Button1").setControlCallback(onButton1Control);
And everytime i have function not found.
I added Engine.loadAudioFilesIntoPool(); and still nothing.
I don't know what's wrong. -
@arminh You should use
Synth.getAudioSampleProcessor()
&Engine.loadAudioFilesIntoPool()
HiseSnippet 1299.3oc2WssaaaCFlxNZn1YoXsHCaWJDrKb.5LryZ6FPvPchOz4s3XiX2l1qBXjnsIBEofDkaMJx86QZWtGgArWf8Hr2fsepCVTIFItdqAEUW4+i76+HoG3KrIAABejQoQy8HHiO2b3btbZyoXJG0sEx39l8vARhuULqCm6gCBHNHCihOWwvnzFnnu+9YGhYXtMIiEB8RA0lbD0kJy3NnwuPYrNXGxHpql1OtQWaAuofIBA7TzrFxCaeAdB4XrRsBlHiOqsCUJ7GJwRR.xXiCENyGNU7Fdr9ujFPOmQTD0QCAGEytif4nPrhKp4TJyYPZbGfPFlCxxBEiyBaa1i5PWvOKa7EQBrxrPOeXT3lfW8aGd0VF7Lzf2Fwv6AlCs8odxLIJrsoYWN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