HISE Logo Forum
    • Categories
    • Register
    • Login

    Convolution impulse not included in final plugin

    Scheduled Pinned Locked Moved General Questions
    20 Posts 6 Posters 739 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.
    • L
      LozPetts
      last edited by

      Hi all,

      I've searched high and low and tried all the fixes I found so hopefully I'm not retreading old ground here.
      I have an impulse:
      [Project Folder]Impulse.wav

      I have ticked 'Include Audio Files' in the project settings and when that didn't work I tried scripting loading the sample into the audio pool at init and then loading it up into convolution reverb as follows:

      
      // load all Audio Files from the AudioFiles Folder into the Pool
      Engine.loadAudioFilesIntoPool(); 
      
      // Create a typed Audio Sample Script Reference with right click on the Convolution Module
      const var ConvolutionReverb1 =
      Synth.getAudioSampleProcessor("Convolution Reverb1");
      
      // set a new file 
      ConvolutionReverb1.setFile("{PROJECT_FOLDER}impulse.wav");
      

      None of the above has worked, no reverb is produced in the plugin once it's exported either as Standalone or as VST/AU, but it does work perfectly within HISE.

      Here's a snippet that hopefully will shed some light:

      HiseSnippet 3614.3oc0as7aaibFmxNLqsRxlrYekdXAXM5AGfTGIKI+XCVXZYYmUM1wJRdcZZwhDJwQRrlhCK4P63rHnAncQQuWTf81drG6w1atm5khBz+C1dpnn.E6kdt8algTbFRQaYmGahfQh377a9d966iiZ3g6f78wdJ4ldmCcQJ4tnZqCcH8WqugkiR8ZJ49.0VVN8f+zphOvVaMjMxmfTpdnqguOxTIWtIuMcr4l9bJrOe6JUMrMb5fhaRQYWrUGzlVCrHws1P+NV11aXXh1wZfvnKqWuC1YMrMN.nqIUKn3ZzYOidn6ZPG1DpJ4N+5lVDrWKhAA4qj6bUwlG1pO9.G9320x2psMh9PQkVvBwadCrsIkhosprVeKayFQmeeEkbpMh4FSx4Fum5VVlVCaOlqbEVGZwyPjejaBYxaRIxqnH4UPf7FAIkSfjNGmjdG0Vc7rbIw8PomKnV2gf75ZzQVzvGqxD+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y5DKcVmX4y5DqbVm3Bm0It3YchKcxSjVYuUCH3AbugJJa0XctBXt0Gp.Nox+Gr4z8m.
      
      L clevername27C 2 Replies Last reply Reply Quote 0
      • L
        LozPetts @LozPetts
        last edited by

        @LozPetts The impulse is 7 seconds long, is this a length issue? I seem to remember seeing a post saying an impulse longer than 4096 samples can cause issues but that was an old post from years ago.

        L 1 Reply Last reply Reply Quote 0
        • L
          LozPetts @LozPetts
          last edited by

          I've been reading about this all day and am completely stumped. I can see IPP/FTT is required for the convolution reverb to work, but from my reading IPP is no longer supported on macOS and apples vDSP should be included by default. I've fired up the projuicer project and can see vDSP is enabled and IPP is disabled, is this the correct way to do this or do I need to somehow source an old version of IPP from intel support for this to work?

          I've tried compiling in Windows and enabling IPP and got the same results described above. It compiles file but no reverb is present in the plugin or standalone.

          Someone help, I'm going nuts!

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @LozPetts
            last edited by

            @LozPetts in the compiled plugin are your IRs loaded into the AppData/AudioFiles folder?

            HISE Development for hire.
            www.channelrobot.com

            L 1 Reply Last reply Reply Quote 0
            • L
              LozPetts @Lindon
              last edited by

              @Lindon Thanks for your response!
              I'm on macOS so I believe that would be:

              %User%/Library/Application Support/My Company/My plugin/

              Long way of saying it's where the sample link file, user presets etc are stored, and there is no audio files folder, which might explain the issue! How do I get the plugin to pop them there?

              bendursoB 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey
                last edited by

                Have you tested with a shorter IR to test your idea?

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                L 1 Reply Last reply Reply Quote 0
                • L
                  LozPetts @d.healey
                  last edited by

                  @d-healey Yes, same result. I also saw Chris saying there's no artificial limit on IR length so didn't really pursue any further on that front. If anyone has a 'known working' IR they wouldn't link linking/sending just to test that might be helpful?

                  1 Reply Last reply Reply Quote 0
                  • bendursoB
                    bendurso @LozPetts
                    last edited by

                    @LozPetts said in Convolution impulse not included in final plugin:

                    Long way of saying it's where the sample link file, user presets etc are stored, and there is no audio files folder, which might explain the issue! How do I get the plugin to pop them there?

                    Do you have "Use Global App Data Folder" enabled? When using "global app data", the folder of the plugin is not created automatically. And maybe that's why the audio file is not loaded into that folder.

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      LozPetts @bendurso
                      last edited by

                      @bendurso Thanks for your response! No, not got that enabled. Everything is going into the user specific Library folder rather than the global one:

                      Library/Application Support/My Company/My Plugin/

                      I didn't set this manually mind you, this was automatic.

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @LozPetts
                        last edited by

                        @LozPetts that will be created by the plugin try creating a sub folder called Audio Files and putting your IR in there and then see if the compiled plugin works...

                        HISE Development for hire.
                        www.channelrobot.com

                        L 1 Reply Last reply Reply Quote 0
                        • L
                          LozPetts @Lindon
                          last edited by

                          @Lindon Just tested this, no luck

                          Library/Application Support/My Company/My Plugin/Audio Files/Impulse.wav

                          and

                          Library/Application Support/My Company/My Plugin/Audiofiles/Impulse.wav

                          Neither made any difference unfortunately.

                          d.healeyD L 2 Replies Last reply Reply Quote 0
                          • d.healeyD
                            d.healey @LozPetts
                            last edited by

                            @LozPetts If you've enabled the embed audio files option then you don't need to put the wav files in the app data folder. However if you uncheck that box you can place the audiofiles.dat file (from the pooled resources) folder inside the app data folder.

                            Libre Wave - Freedom respecting instruments and effects
                            My Patreon - HISE tutorials
                            YouTube Channel - Public HISE tutorials

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              LozPetts @LozPetts
                              last edited by

                              @LozPetts I'm now testing different sample rates (Impulse is 48k so trying 44.1)

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @LozPetts
                                last edited by

                                @LozPetts 48k is fine, that's what I use.

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                1 Reply Last reply Reply Quote 0
                                • L
                                  LozPetts @d.healey
                                  last edited by

                                  @d-healey Understood, I gave it a go because despite the option to embed audio files being ticked the file does not appear to be being included/isn't working, thought it might be worth a shot as Lindon suggested.
                                  Still nada!

                                  Update re sample rates: no change.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Soundavid
                                    last edited by

                                    The Impulses should be embedded into your binary after compilation, Did you Clean your Build Folder after the first changes? Try to check the Rebuild Pool Files in the project settings and Cleaning the build folder in Xcode before Compiling, maybe you want to check the Multithreading option in the Convolution Component to use a 7 Seconds impulse.

                                    L 1 Reply Last reply Reply Quote 0
                                    • L
                                      LozPetts @Soundavid
                                      last edited by

                                      @Soundavid Thanks for your response!
                                      I already have multithreading and 'Rebuild Pool Files' enabled as I suspected they might help! I hadn't cleaned my build folder, I've done that now and recompiled and ITS WORKING! Thank you so much for your help.
                                      Just as a learning moment - did I do something wrong here? How often should I be cleaning my build directories?

                                      S 1 Reply Last reply Reply Quote 1
                                      • clevername27C
                                        clevername27 @LozPetts
                                        last edited by clevername27

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Soundavid @LozPetts
                                          last edited by

                                          @LozPetts Amazing! Cleaning your build folder will delete the cached files and increase the compiling time but when you make this kind of file changes it's better to clean everything to make sure everything will be included in the new build. Same with images and MIDI Files.

                                          L 1 Reply Last reply Reply Quote 1
                                          • L
                                            LozPetts @Soundavid
                                            last edited by

                                            @Soundavid You star. Thank you so much for your help!

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

                                            25

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.3k

                                            Posts