HISE Logo Forum
    • Categories
    • Register
    • Login

    Newbie here... was just curious if you can call presets via combo box?

    Scheduled Pinned Locked Moved General Questions
    9 Posts 3 Posters 370 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.
    • Felix10870F
      Felix10870
      last edited by

      Newbie here... was just curious if you can call presets via combo box?

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

        @Felix10870 Yes, Engine.loadUserPreset()

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

        Felix10870F 1 Reply Last reply Reply Quote 0
        • Felix10870F
          Felix10870 @d.healey
          last edited by

          @d-healey thank you much!!!

          1 Reply Last reply Reply Quote 0
          • Felix10870F
            Felix10870
            last edited by Felix10870

            Please see youtube video... everytime I declare a function do I have to create it by the menue at the top of the script editor? becase that would be painful... and it's the only way I have been able to get them to work...

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @Felix10870
              last edited by

              @Felix10870 The dropdown menu above the script editor is just a list of already existing functions, these are:

              oninnit
              onNoteOn
              onNoteOff
              onController
              onTimer
              onControl

              The reason your typed onNoteOff() function isn't working, is because one already exists in that dropdown menu. These are hardcoded into HISE so people don't have to make their own.

              If you want your code to do something when you press / release a key, you'll have to put that code inside one of those already-existing functions (onNoteOn, onNoteOff). The same applies for global timers/control etc.

              Custom functions are usually for GUI stuff, like sliders, buttons or loading/unloading expansions.

              Felix10870F 1 Reply Last reply Reply Quote 0
              • Felix10870F
                Felix10870 @A Former User
                last edited by Felix10870

                @iamlamprey sorry, this is going to take some getting used to... my next thought was external script editor with 'include staments'... lol

                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @Felix10870
                  last edited by

                  @Felix10870 It takes some time to get used to but it's easier (imo) and infinitely more powerful than Kontakt :) worth the investment

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

                    Check out my scripting 101 video if you haven't already.

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

                    Felix10870F 1 Reply Last reply Reply Quote 0
                    • Felix10870F
                      Felix10870 @d.healey
                      last edited by

                      @d-healey I was watching it than I started 'getting creative' to see what I can do... and that's where I got in trouble... I used to write javascript and AS2 and AS3 for flash... there is some familiar things going on and it's been awhile...

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

                      12

                      Online

                      1.7k

                      Users

                      11.8k

                      Topics

                      103.2k

                      Posts