HISE Logo Forum
    • Categories
    • Register
    • Login

    Show name of Convolution Reverb IR in a label?

    Scheduled Pinned Locked Moved General Questions
    16 Posts 2 Posters 811 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.
    • SteveRiggsS
      SteveRiggs
      last edited by SteveRiggs

      @d-healey

      I just tried adding this:

      const var Reverb1 = Synth.getAudioSampleProcessor("Reverb1"); 
      

      ...but now I get a duplicate const var declaration

      www.anarchyaudioworx.com

      www.facebook.com/groups/audioworx/

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

        @SteveRiggs do you have two variables with the same name?

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

        SteveRiggsS 1 Reply Last reply Reply Quote 0
        • SteveRiggsS
          SteveRiggs @d.healey
          last edited by

          @d-healey

          It's probably because there is:

          const var Reverb1 = Synth.getAudioSampleProcessor("Reverb1");
          

          and

          const var Reverb1 = Synth.getEffect("Reverb1");
          

          but not sure which one I need now so it will work for both things. The other reference to it is for a button that bypasses and enables Reverb 1

          www.anarchyaudioworx.com

          www.facebook.com/groups/audioworx/

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

            @SteveRiggs Why not have both but with different names?

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

            SteveRiggsS 1 Reply Last reply Reply Quote 0
            • SteveRiggsS
              SteveRiggs @d.healey
              last edited by SteveRiggs

              @d-healey

              Good point! I just changed one to

              const var Verb1 = Synth.getAudioSampleProcessor("Reverb1");
              

              and left the other as

              const var Reverb1 = Synth.getEffect("Reverb1");
              

              but I'm still getting 'function not found' in the console 🤔

              www.anarchyaudioworx.com

              www.facebook.com/groups/audioworx/

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

                @SteveRiggs I'll look at it in the morning when I'm at my PC

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

                SteveRiggsS 1 Reply Last reply Reply Quote 1
                • SteveRiggsS
                  SteveRiggs @d.healey
                  last edited by

                  @d-healey Ok thanks. Could be a bug. Seems weird its not working. I'll leave it for now until tomorrow then and come back to it. Cheers for your help

                  www.anarchyaudioworx.com

                  www.facebook.com/groups/audioworx/

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

                    Ok it turns out the getCurrentlyLoadedFile function is part of the AudioFile class, not the AudioSampleProcessor class.

                    How are users selecting the IR they want to use in your plugin?

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

                    SteveRiggsS 1 Reply Last reply Reply Quote 0
                    • SteveRiggsS
                      SteveRiggs @d.healey
                      last edited by SteveRiggs

                      @d-healey Got ya. Thats why it doesn't work then. Cheers for checking.

                      At the moment the IR's are being loaded just by right clicking on the audio waveform on the GUI and choosing from the AudioFiles folder

                      www.anarchyaudioworx.com

                      www.facebook.com/groups/audioworx/

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

                        Does that provide any kind of callback function?

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

                        SteveRiggsS 1 Reply Last reply Reply Quote 0
                        • SteveRiggsS
                          SteveRiggs @d.healey
                          last edited by

                          @d-healey Not that I know of. I just have the AudioWaveform linked to Reverb1 in the property editor/processorId

                          www.anarchyaudioworx.com

                          www.facebook.com/groups/audioworx/

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

                          17

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          103.2k

                          Posts