HISE Logo Forum
    • Categories
    • Register
    • Login

    Load IRs from disk

    Scheduled Pinned Locked Moved General Questions
    16 Posts 4 Posters 908 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.
    • lalalandsynthL
      lalalandsynth @d.healey
      last edited by

      @d-healey Wondering about that as well , I need 80 impulses for my Reverb . would rather not load them all into memory

      https://lalalandaudio.com/

      https://lalalandsynth.com/

      https://www.facebook.com/lalalandsynth

      https://www.facebook.com/lalalandsynth

      1 Reply Last reply Reply Quote 0
      • Dan KorneffD
        Dan Korneff
        last edited by

        Convolution using the FFT class in JUCE needs to stream audio from memory so it can perform resampling and trimming on the fly without noticeable artifacts.

        Dan Korneff - Producer / Mixer / Audio Nerd

        lalalandsynthL 1 Reply Last reply Reply Quote 0
        • lalalandsynthL
          lalalandsynth @Dan Korneff
          last edited by lalalandsynth

          @dustbro Say you have categories , small - medium - large , 30 impulses in each .
          Is it possible to load each category in a batch of 30 when Small is selected for example ?
          Or is my only choice to load 90 impulses ?

          https://lalalandaudio.com/

          https://lalalandsynth.com/

          https://www.facebook.com/lalalandsynth

          https://www.facebook.com/lalalandsynth

          1 Reply Last reply Reply Quote 0
          • Dan KorneffD
            Dan Korneff
            last edited by

            the call loadImpulseResponse() is what loads the audio file into memory. Maybe there is a way to load different files into memory depending on parameters?

            Link Preview Image
            JUCE: dsp::Convolution Class Reference

            favicon

            (docs.juce.com)

            Dan Korneff - Producer / Mixer / Audio Nerd

            1 Reply Last reply Reply Quote 0
            • lalalandsynthL
              lalalandsynth
              last edited by

              I understand it needs to load the current impulse into memory but why all the available ones ?
              Why not load the one you want to use into memory ?

              Maybe no answer for that , hehe .

              https://lalalandaudio.com/

              https://lalalandsynth.com/

              https://www.facebook.com/lalalandsynth

              https://www.facebook.com/lalalandsynth

              1 Reply Last reply Reply Quote 1
              • lalalandsynthL
                lalalandsynth
                last edited by

                Am I right in assuming that the impulses cannot go over the 50 mb limit including the graphics ?
                I am also assuming it gets compressed ? If so , what is the compression ratio.

                I am trying to determine how many impulses I can get into one plugin.

                https://lalalandaudio.com/

                https://lalalandsynth.com/

                https://www.facebook.com/lalalandsynth

                https://www.facebook.com/lalalandsynth

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

                  @lalalandsynth You can go over the limit but you have to enable a flag (I can't remember the details but a forum search might have the answer).

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

                  1 Reply Last reply Reply Quote 1
                  • lalalandsynthL
                    lalalandsynth
                    last edited by

                    Ok, promising , cannot find anything so far and the manual says it will crash as out of heap space if one goes over the 50 mb limit.

                    Scouring forum..

                    https://lalalandaudio.com/

                    https://lalalandsynth.com/

                    https://www.facebook.com/lalalandsynth

                    https://www.facebook.com/lalalandsynth

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

                      @lalalandsynth - are you compiling with VisualStudio? If so you can set a flag so it doenst run out of heap space...

                      bigObj

                      I think, but search the forums - I asked and Christoph suggested this flag.

                      HISE Development for hire.
                      www.channelrobot.com

                      lalalandsynthL 1 Reply Last reply Reply Quote 1
                      • lalalandsynthL
                        lalalandsynth @Lindon
                        last edited by

                        @Lindon Has anyone actually done this Big obj successfully ?

                        https://lalalandaudio.com/

                        https://lalalandsynth.com/

                        https://www.facebook.com/lalalandsynth

                        https://www.facebook.com/lalalandsynth

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

                          @lalalandsynth said in Load IRs from disk:

                          @Lindon Has anyone actually done this Big obj successfully ?

                          yes me.

                          HISE Development for hire.
                          www.channelrobot.com

                          lalalandsynthL 2 Replies Last reply Reply Quote 1
                          • lalalandsynthL
                            lalalandsynth @Lindon
                            last edited by

                            @Lindon Good to know , thanks , would rather not find out at the end of my project :)

                            https://lalalandaudio.com/

                            https://lalalandsynth.com/

                            https://www.facebook.com/lalalandsynth

                            https://www.facebook.com/lalalandsynth

                            1 Reply Last reply Reply Quote 0
                            • lalalandsynthL
                              lalalandsynth @Lindon
                              last edited by

                              @Lindon Have you done this for Mac as well ?
                              How big was your overall plugin export ?

                              https://lalalandaudio.com/

                              https://lalalandsynth.com/

                              https://www.facebook.com/lalalandsynth

                              https://www.facebook.com/lalalandsynth

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

                                @lalalandsynth said in Load IRs from disk:

                                @Lindon Have you done this for Mac as well ?
                                How big was your overall plugin export ?

                                I think you are probably over thinking it - its not bigObj for your plug-in per se - just bigObj for your code - so in fact that bloat is very very small compared to your graphics and IR inclusions... you are
                                blowing the memory allocation already with your graphics/IRs so you are unlikely to see it increase more than (guessing) 50% in size of the dll - but thats (relatively) tiny I think.

                                HISE Development for hire.
                                www.channelrobot.com

                                lalalandsynthL 1 Reply Last reply Reply Quote 1
                                • lalalandsynthL
                                  lalalandsynth @Lindon
                                  last edited by lalalandsynth

                                  @Lindon I was thinking more in terms of how big was the overall IR folder , or how much over 50Mb did you go ?
                                  Just wondering if I will run into any problems? I might be overthinking it though, I have that tendency ;)

                                  I estimate my IR total at about 200 mb.

                                  https://lalalandaudio.com/

                                  https://lalalandsynth.com/

                                  https://www.facebook.com/lalalandsynth

                                  https://www.facebook.com/lalalandsynth

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

                                  52

                                  Online

                                  1.7k

                                  Users

                                  11.7k

                                  Topics

                                  102.1k

                                  Posts