HISE Logo Forum
    • Categories
    • Register
    • Login

    How to use note velocity to control sample playback position

    Scheduled Pinned Locked Moved General Questions
    4 Posts 2 Posters 292 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.
    • CatABCC
      CatABC
      last edited by

      Please help me,I am a newbie

      I want to use the velocity of the note to control where the sample plays, for example, the lower the velocity, the further forward the sample will play

      //I am a new student at HISE._
      //Windows11 & MacOS Ventura 13.6.7_

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @CatABC
        last edited by

        @BobCat said in How to use note velocity to control sample playback position:

        Please help me,I am a newbie

        I want to use the velocity of the note to control where the sample plays, for example, the lower the velocity, the further forward the sample will play

        "forward"? You mean into the sample audio data? If so then add a velocity modulator to the sample Start in the Sampler and make sure each sample "zone" has a big enough offset value...

        62b58ff3-492f-42c5-a1dd-baa5a9203dd1-image.png

        HISE Development for hire.
        www.channelrobot.com

        CatABCC 1 Reply Last reply Reply Quote 0
        • CatABCC
          CatABC @Lindon
          last edited by

          @Lindon 43d002b2-0590-41de-a921-edd83991dab2-image.png

          What I mean is the starting position of the transport controller,Sorry for my bad English!😊

          //I am a new student at HISE._
          //Windows11 & MacOS Ventura 13.6.7_

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @CatABC
            last edited by Lindon

            @BobCat yep that's what the above example does...set up your sampler with the modulator as shown above, then open the sampler and select the sample, then select Sample Editor - and make sure you have a large enough value in SampleStartMod - this limits the amount of modification the Velocity mod applies...

            5bf013b8-eefa-423a-8c93-51456e7915e2-image.png

            HISE Development for hire.
            www.channelrobot.com

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

            11

            Online

            1.7k

            Users

            11.8k

            Topics

            102.7k

            Posts