HISE Logo Forum
    • Categories
    • Register
    • Login

    [feature request] setStartOffset normalized

    Scheduled Pinned Locked Moved Feature Requests
    offsetsample start
    7 Posts 2 Posters 338 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

      The setStartOffset function expects a value in samples (I think). I would like to be able to give a value between 0 and 1, because I don't always know what the maximum offset is in samples for the currently triggered sample.

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

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

        Looks like I can just use a script controlled constant mod for what I want actually. But would still be useful to have I think.

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

        Christoph HartC 1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @d.healey
          last edited by

          @d-healey the problem is that a normalized value would require a float number in the HiseEvent class and there are not enough bits for that.

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

            @Christoph-Hart aha ok, well the constant mod is working fine for me so i'm happy

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

            Christoph HartC 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart @d.healey
              last edited by

              @d-healey if you want more control you might also use a scripted voice start modulator, this is often overlooked as option :)

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

                @Christoph-Hart Oh i'll check that out. I'm currently using a script to control the mod but maybe that would be better

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

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

                  Yeah the scripted mod was a great choice. Because of the flow of my project I had to add it as a global mod but it does the job nicely.

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

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

                  21

                  Online

                  1.7k

                  Users

                  11.8k

                  Topics

                  102.6k

                  Posts