HISE Logo Forum
    • Categories
    • Register
    • Login

    Sample Start Offset in Samples?

    Scheduled Pinned Locked Moved Solved Scripting
    8 Posts 2 Posters 357 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.
    • clevername27C
      clevername27
      last edited by clevername27

      Does anyone know if there's a way to specify the sample start point in samples? (I realize you can normalise the value to a 0-to-1 value, but some precision is probably lost there.)

      Also…I'd like to set a different sample offset for each MIDI note number. Any idea how I should do that?

      Looks like I want Message.setStartOffset, and I'm guessing that's measured in samples.

      Thanks!

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

        @clevername27 said in Sample Start Offset in Samples?:

        Looks like I want Message.setStartOffset, and I'm guessing that's measured in samples.

        Yep

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

        clevername27C 2 Replies Last reply Reply Quote 1
        • clevername27C clevername27 has marked this topic as solved on
        • clevername27C
          clevername27 @d.healey
          last edited by

          @d-healey Thank you, Dave.

          1 Reply Last reply Reply Quote 0
          • clevername27C
            clevername27 @d.healey
            last edited by

            @d-healey I don't suppose I can use negative values (as in before the time-stamp for the Event)?

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

              @clevername27 No, if you want a delay you'd need to stop the real event and play an artificial one

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

              clevername27C 1 Reply Last reply Reply Quote 1
              • clevername27C
                clevername27 @d.healey
                last edited by

                @d-healey Could you please explain what you mean in more detail? (I know it's late.)

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

                  @clevername27

                  Actually I just noticed there is a function called Message.delayEvent(samples); which will probably do what you want.

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

                  clevername27C 1 Reply Last reply Reply Quote 1
                  • clevername27C
                    clevername27 @d.healey
                    last edited by

                    @d-healey said in Sample Start Offset in Samples?:

                    Message.delayEvent(samples)

                    OMG that's amazing!!! It doesn't require me to create artificial notes!!!!!! THANK YOU!

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

                    18

                    Online

                    1.8k

                    Users

                    12.1k

                    Topics

                    104.9k

                    Posts