HISE Logo Forum
    • Categories
    • Register
    • Login

    scripting Sampler Settings

    Scheduled Pinned Locked Moved Scripting
    8 Posts 3 Posters 956 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.
    • Dan KorneffD
      Dan Korneff
      last edited by

      Hello all,
      What's the cleanest way to script the sampler settings (like soft limit and fade time) via user input? I haven't scripted anything yet that allows user input.
      Thanks!!!

      Dan Korneff - Producer / Mixer / Audio Nerd

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

        @dustbro You need to provide a user a way to set a value and apply that to the sampler properties. Probably a slider or a knob is simplest but if you want to restrict the values they can enter then use a combo box.

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

        Dan KorneffD 1 Reply Last reply Reply Quote 0
        • Dan KorneffD
          Dan Korneff @d.healey
          last edited by

          @d-healey What about the ability to enter with your keyboard. Basic click+type entry? Is that possible with a combo box?

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            @dustbro You can make a label editable and get the value from that I believe, although I've never tried it. And of course the default sliders can be typed into.

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

            1 Reply Last reply Reply Quote 1
            • Dan KorneffD
              Dan Korneff
              last edited by

              @Christoph-Hart Is this something we could bring into the Floating Tile? Similar to the Custom Settings content... just for Sampler settings?

              Dan Korneff - Producer / Mixer / Audio Nerd

              1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart
                last edited by

                No, the Label is the way to go because it will be restored in user presets (all FloatingTiles are sort of read-only elements or operate on a deeper data level like the preset browser).

                1 Reply Last reply Reply Quote 1
                • Dan KorneffD
                  Dan Korneff
                  last edited by

                  @Christoph-Hart Are there any examples floating around on how to use Labels?

                  Dan Korneff - Producer / Mixer / Audio Nerd

                  1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart
                    last edited by

                    No, but they are pretty straight-forward to use - the value parameter of the callback is the text you've entered. What do you need to know?

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

                    22

                    Online

                    1.7k

                    Users

                    11.9k

                    Topics

                    103.6k

                    Posts