Forum

    • Register
    • Login
    • Search
    • Categories

    Analyser Oscilloscope Waveform On/Off (SOLVED)

    General Questions
    3
    7
    192
    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.
    • SteveRiggs
      SteveRiggs last edited by SteveRiggs

      Afternoon all!

      I have 2 analyzers running oscilloscopes in my project. 1 for the unprocessed signal, and 1 for the processed signal with buttons set up to enable/disable both.

      The only thing is, when I push the button to disable one of them, the waveform only pauses.

      Is there a way for the waveform to totally turn off or disappear until it's enabled again instead of just pausing on the screen?

      Iโ€™ll put a quick 30-second video of my plugin below so you can see what I meanโ€ฆ

      www.anarchyaudioworx.com

      www.facebook.com/groups/audioworx/

      ustk 1 Reply Last reply Reply Quote 0
      • ustk
        ustk @SteveRiggs last edited by

        @SteveRiggs Why don't you just hide the floating tile in question?
        Look great by the way! ๐Ÿ‘

        Tired to press F5 in the forum...
        Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

        SteveRiggs 1 Reply Last reply Reply Quote 2
        • SteveRiggs
          SteveRiggs @ustk last edited by SteveRiggs

          @ustk Thanks man. The GUI is almost there now. A few more tweaks and we'll be rockin!!

          That's a good idea! If my button is named โ€˜unprocessedWaveformLabelโ€™ and my floating tile is named โ€˜DrySignalWaveformโ€™, Could it be something like this?...

          // Show/Hide DrySignalWaveform
          
          const var unprocessedWaveformLabel = Content.getComponent("unprocessedWaveformLabel");
          
          inline function onunprocessedWaveformLabelControl(component, value)
          {
           if (value)
              {
                  DrySignalWaveform.showControl(true);
              }
              else
              {
                  DrySignalWaveform.showControl(false);
              }
          };
          
          Content.getComponent("unprocessedWaveformLabel").setControlCallback(onunprocessedWaveformLabelControl);
          
          const var DrySignalWaveform = Content.getComponent("DrySignalWaveform");
          
          

          www.anarchyaudioworx.com

          www.facebook.com/groups/audioworx/

          1 Reply Last reply Reply Quote 0
          • SteveRiggs
            SteveRiggs last edited by SteveRiggs

            @ustk Yep, that worked! โ˜บ

            Cheers for the help dude! ๐Ÿบ

            www.anarchyaudioworx.com

            www.facebook.com/groups/audioworx/

            Lindon 1 Reply Last reply Reply Quote 1
            • Lindon
              Lindon @SteveRiggs last edited by

              @SteveRiggs very slightly less code...

              DrySignalWaveform.showControl(value);
              

              HISE Development for hire.
              www.channelrobot.com

              SteveRiggs 1 Reply Last reply Reply Quote 1
              • SteveRiggs
                SteveRiggs @Lindon last edited by

                @Lindon Ah! Nice one. I'm unsure which part to swap out though? The 'if/else' section?

                So more like this below? or something else? ๐Ÿค”

                // Show/Hide DrySignalWaveform
                
                const var unprocessedWaveformLabel = Content.getComponent("unprocessedWaveformLabel");
                
                inline function onunprocessedWaveformLabelControl(component, value)
                {
                DrySignalWaveform.showControl(value);
                };
                
                Content.getComponent("unprocessedWaveformLabel").setControlCallback(onunprocessedWaveformLabelControl);
                
                const var DrySignalWaveform = Content.getComponent("DrySignalWaveform");
                

                www.anarchyaudioworx.com

                www.facebook.com/groups/audioworx/

                ustk 1 Reply Last reply Reply Quote 0
                • ustk
                  ustk @SteveRiggs last edited by

                  @SteveRiggs
                  @Lindon's right, that's easier this way, even if both are good....

                  Tired to press F5 in the forum...
                  Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

                  24
                  Online

                  731
                  Users

                  5.4k
                  Topics

                  50.2k
                  Posts