HISE Logo Forum
    • Categories
    • Register
    • Login

    Convolution on Raw API

    Scheduled Pinned Locked Moved C++ Development
    5 Posts 2 Posters 656 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hisefiloH
      hisefilo
      last edited by

      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);
      
      hisefiloH 1 Reply Last reply Reply Quote 1
      • hisefiloH
        hisefilo @hisefilo
        last edited by

        @Christoph-Hart

        hisefiloH 1 Reply Last reply Reply Quote 0
        • hisefiloH
          hisefilo @hisefilo
          last edited by hisefilo

          giphy.gif

          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @hisefilo
            last edited by

            @hisefilo Try setLoadedFile("{PROJECT_FOLDER}conv1.wav").

            hisefiloH 1 Reply Last reply Reply Quote 1
            • hisefiloH
              hisefilo @Christoph Hart
              last edited by

              @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!

              1 Reply Last reply Reply Quote 1
              • First post
                Last post

              20

              Online

              1.8k

              Users

              12.1k

              Topics

              104.9k

              Posts