Convolution on Raw API
-
Hi guys. Anyone knows how to add a convolution FX on the Raw API? I added it as other classes I've already implemented, but no sound comes out. Impulse response "conv1.wav" is already pooled. This is the code:
auto mainIr = [mc, storagePtr](int index) { raw::Builder builder(mc); // Conv Reverb auto convolutionReverb = builder.create<ConvolutionEffect>(mc->getMainSynthChain(), raw::IDs::Chains::FX); convolutionReverb->setId("convolutionReverb1"); convolutionReverb->setLoadedFile("conv1.wav"); convolutionReverb->setImpulse(); convolutionReverb->setAttribute(ConvolutionEffect::WetGain, 0, dontSendNotification); convolutionReverb->setAttribute(ConvolutionEffect::ProcessInput, 1, dontSendNotification); }; mainIr(0);
-
-
-
@hisefilo Try
setLoadedFile("{PROJECT_FOLDER}conv1.wav")
. -
@Christoph-Hart YEAHHHHH that was it. Helped me also to find out I need to add a Convolution Reverb Module on HISE and to load the IR to be pooled (yes... fool of me)
Thanks man! Now we can go for some amp sims for my instruments!