HISE Logo Forum
    • Categories
    • Register
    • Login

    New Module in existing instrument

    Scheduled Pinned Locked Moved General Questions
    6 Posts 2 Posters 233 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.
    • DanHD
      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?!

      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
      https://dhplugins.com/ | https://dcbreaks.com/
      London, UK

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        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.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          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 :(

          DanHD 1 Reply Last reply Reply Quote 0
          • DanHD
            DanH @A Former User
            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

            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
            https://dhplugins.com/ | https://dcbreaks.com/
            London, UK

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @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

              DanHD 1 Reply Last reply Reply Quote 0
              • DanHD
                DanH @A Former User
                last edited by

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

                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                https://dhplugins.com/ | https://dcbreaks.com/
                London, UK

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

                18

                Online

                1.7k

                Users

                11.8k

                Topics

                102.6k

                Posts