Forum

    • Register
    • Login
    • Search
    • Categories

    New Module in existing instrument

    General Questions
    2
    6
    48
    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.
    • DanH
      DanH last edited by DanH

      I want to add a new module (in this case an Arp) into an existing instrument. The factory presets have no Save data for the Arp, so it loads blank, however sometimes it loads on and sometimes it loads off. There's a bypass button on the interface and essentially I need it to load / be set in an 'off' position, unless the Preset has it saved in the 'on' position.

      Currently the button is off by default and even if it looks off the Arp can either be on or off. It's random.

      Anyone have any clever ideas for this?!

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

        You can edit the .preset files and add something like

        <Control type="ScriptButton" id="Button_ArpBypass" value="0"/>
        

        Where id is the name of the button in your project. Some text editors can bulk-edit.

        Music - Instruments

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

          Oh hmm I just re-read the part about the arp being on despite the button state so maybe my solution won't help 😞

          Music - Instruments

          DanH 1 Reply Last reply Reply Quote 0
          • DanH
            DanH @iamlamprey last edited by

            @iamlamprey Thanks, no it's more that the Presets already exist on people's computers and therefore I can't change them 😆

            I need to devise a clever way that the Arp is set to off unless a Preset says otherwise...

            It seems that if the UI control is undefined then Hise doesn't know what to do and sort of does both randomly

            iamlamprey 1 Reply Last reply Reply Quote 0
            • iamlamprey
              iamlamprey @DanH last edited by

              @DanH Oh it should be off by default then, I'm not sure why it's doing it randomly...

              Any modules/GUI stuff not included in a preset should either be saving as

              A: their default value
              B: whatever state you export the plugin as

              if it's just randomly turning it on/off then it sounds like a bug

              Music - Instruments

              DanH 1 Reply Last reply Reply Quote 0
              • DanH
                DanH @iamlamprey last edited by

                @iamlamprey Ok might have found it 😂 I have a second on/off button which actually contains the function (long story).... Should be sorted now thanks!

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

                21
                Online

                982
                Users

                6.6k
                Topics

                60.7k
                Posts