HISE Logo Forum
    • Categories
    • Register
    • Login

    What are the functions I should look at for doing an arpeggiator?

    Scheduled Pinned Locked Moved Scripting
    27 Posts 3 Posters 7.2k 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.
    • d.healeyD
      d.healey
      last edited by

      I think what you're after is the sliderPack widget

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - HISE tutorials

      1 Reply Last reply Reply Quote 0
      • E
        elanhickler
        last edited by

        With the example script Christoph posted, note off does not work. Setting sustain to 0db (all the way up) will have the synth playing the note indefinitely... unless the AHDSR is not implemented correctly.

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

          Yeah that was just a proof of concept thingie. note offs have to be taken care of explicitely.

          1 Reply Last reply Reply Quote 0
          • E
            elanhickler
            last edited by

            why is it that when you do Synth.startTimer(value) it doesn't trigger the onTimer call back until the interval? I need the timer callback to be triggered right away.

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

              What I did for this was put the functionality I needed in the onTimer callback into a function, I then was able to call this function before I started the timer and then afterwards it is called by the timer

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

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

                Yes this is the best way.

                It's common practice that the first timer execution is delayed. Otherwise you couldn't call Synth.startTimer from the onTimer callback without nasty hacks to prevent endless recursion.

                1 Reply Last reply Reply Quote 0
                • E
                  elanhickler
                  last edited by elanhickler

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  27

                  Online

                  2.0k

                  Users

                  12.8k

                  Topics

                  111.1k

                  Posts