HISE Logo Forum
    • Categories
    • Register
    • Login

    What is velocity?

    Scheduled Pinned Locked Moved General Questions
    37 Posts 4 Posters 1.1k 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.
    • Robert PuzaR
      Robert Puza @d.healey
      last edited by Robert Puza

      @d-healey For a user of a Hise based virtual musical instrument, the ability to set the velocity, which is replaceable by the velocity setting in the midi keyboard (usually 3 curves), is MORE IMPORTANT than having the ability to set the velocity modulator.

      That's true 🙏

      and for example 3 samplemaps can solve this. I hope it will be easy to switch on the interface 😁

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

        @Robert-Puza Why not add a velocity curve editor to your UI, it's very simple to make.

        054de502-ac97-4ab5-a1ab-e14a831b1590-image.png

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

        Robert PuzaR 2 Replies Last reply Reply Quote 0
        • Robert PuzaR
          Robert Puza @d.healey
          last edited by

          @d-healey I like it. but Can I set it to trigger a sample from the loudest velocity layer with a soft hit?

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

            @Robert-Puza The X axis is input velocity, the Y axis is output velocity. So the curve you set controls the output and gives you complete control over the whole velocity range.

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

            1 Reply Last reply Reply Quote 0
            • Robert PuzaR
              Robert Puza @d.healey
              last edited by Robert Puza

              @d-healey and which processor id do you assign to it? velocity modulator1?

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

                @Robert-Puza There is no built in processor for this. You need to write a script that takes the incoming velocity and uses the table to send out the modified velocity.

                However if you're releasing this project as GPL you can use the one I have already written (I should probably relicense this anyway as CC0 since it's such a simple script) - https://codeberg.org/LibreWave/RhapsodyBoilerplate/src/branch/main/modules/VelocityScaler.js

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

                Robert PuzaR LindonL 2 Replies Last reply Reply Quote 1
                • Robert PuzaR
                  Robert Puza @d.healey
                  last edited by

                  @d-healey
                  This looks great 🌞
                  Thank you 🙏

                  1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @d.healey
                    last edited by

                    @d-healey said in What is velocity?:

                    @Robert-Puza There is no built in processor for this. You need to write a script that takes the incoming velocity and uses the table to send out the modified velocity.

                    isnt this the inbuilt processor he's looking for - or am I missing the point here?

                    fbb2529c-e537-47a3-8172-bb1a78394c44-image.png

                    HISE Development for hire.
                    www.channelrobot.com

                    d.healeyD Robert PuzaR 3 Replies Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @Lindon
                      last edited by

                      @Lindon that uses velocity to control the parameter you've assigned it to, in this case volume. It doesn't change the actual velocity value entering the sampler.

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

                      LindonL 1 Reply Last reply Reply Quote 2
                      • LindonL
                        Lindon @d.healey
                        last edited by

                        @d-healey gotcha

                        HISE Development for hire.
                        www.channelrobot.com

                        1 Reply Last reply Reply Quote 0
                        • Robert PuzaR
                          Robert Puza @Lindon
                          last edited by

                          @Lindon Velocity modulator is a very useful tool.
                          But is "only" volume.
                          The setting option that David wrote in his script is the most important. (Velocity input setting )

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

                            @Robert-Puza said in What is velocity?:

                            @Lindon Velocity modulator is a very useful tool.
                            But is "only" volume.
                            The setting option that David wrote in his script is the most important. (Velocity input setting )

                            yes, but no.... create a global modulator for velocity like this:
                            b9e63070-18cd-4c32-ad9d-65cfe3c9d9e1-image.png

                            and apply it anywhere you can apply a GM...

                            Here it is being applied to an envelope attack:

                            c6ce8860-4d29-4181-b8e6-01528baa3cd0-image.png

                            HISE Development for hire.
                            www.channelrobot.com

                            Robert PuzaR d.healeyD 2 Replies Last reply Reply Quote 0
                            • Robert PuzaR
                              Robert Puza @Lindon
                              last edited by Robert Puza

                              @Lindon aha. I'll look into it. thank you.

                              If your tip allows you to set the dynamics so that the loudest sample (velocity layer) can be played with even a light touch on the keyboard, then you are right.

                              1 Reply Last reply Reply Quote 0
                              • Robert PuzaR
                                Robert Puza @Lindon
                                last edited by

                                @Lindon Just to clarify: MIDI keyboards have mechanical differences. If the user uses a different MIDI keyboard than me: will he be able to play a sample from velocity layer 1? Or will his softest hit only trigger samples from higher velocity layers?

                                Will his strong hit on the MIDI keyboard be enough to trigger a sample from a loud velocity layer?

                                That's why we need the setting that David wrote in his script

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

                                  @Lindon This still doesn't change the velocity entering the sampler, so won't do what OP wants.

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

                                  Robert PuzaR LindonL 2 Replies Last reply Reply Quote 0
                                  • Robert PuzaR
                                    Robert Puza @d.healey
                                    last edited by

                                    @d-healey David, what does OP mean?

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

                                      @Robert-Puza Original Poster (the person who started the thread). Depending on context it can also mean Original Post (the first post of the thread).

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

                                      Robert PuzaR 1 Reply Last reply Reply Quote 0
                                      • Robert PuzaR
                                        Robert Puza @d.healey
                                        last edited by Robert Puza

                                        @d-healey Ok.. 😁 I understand now. I am the OP.

                                        1 Reply Last reply Reply Quote 0
                                        • Dominik MayerD
                                          Dominik Mayer
                                          last edited by Dominik Mayer

                                          @Robert-Puza @d-healey

                                          Guess, thats what you want, right?

                                          HiseSnippet 1739.3oc6Z01aSbD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KZGhS1Fkv4sP2G+q.XZemlmYcbm045K6JreJ7w.rkG+kVAb9k2jVPMBD2L0uwo7FMkxnw7d4G.khdokU1k5DFVYZMboo0vpSqgKOsFVaZMbko0vU+vFJ6Tr9PAePvUVMsls1Jnri9VwMnyo8eXcX3tI
                                          

                                          Takes both,, the global modulator approach and applies d.healeys script it in the Master Midi,, combined with the Table Selector from the example snippets to quickly select different scalers.

                                          PS: To make the tables consistent probably sth like "Saving custom LFO shapes" from the snippet browser..

                                          PPS: Edited Snippet with global var fix.

                                          Robert PuzaR d.healeyD 2 Replies Last reply Reply Quote 0
                                          • Robert PuzaR
                                            Robert Puza @Dominik Mayer
                                            last edited by

                                            @Dominik-Mayer That sounds great. I'll check it out. Thanks.

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

                                            19

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.4k

                                            Posts