HISE Logo Forum
    • Categories
    • Register
    • Login

    Question - Sampler Monophonic Glides for Audio anybody??

    Scheduled Pinned Locked Moved General Questions
    20 Posts 3 Posters 1.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.
    • L
      LeeC @d.healey
      last edited by

      @d-healey I was hoping to "pitch bend the C4 sample up to E4" or at least give the illusion that this has happened ☺
      Is this a complex thing to implement?

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

        Not particularly complicated. I think I already did it with this script - https://github.com/davidhealey/HISE-Scripting-Framework/blob/master/modules/portGlide.js - this is GPLv3 licensed.

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

        L 1 Reply Last reply Reply Quote 1
        • L
          LeeC @d.healey
          last edited by LeeC

          @d-healey Absolute legend!
          Will give this a try when I get back later and will feedback.

          So do I need to place a midi processor before the sampler and then paste the script that you've written into the onNoteOn section?

          More generally, where do I place the script for it to work on wavs in the sampler?

          Sorry for the noob question ☺
          Still learning the ropes & your tutorials have helped massively!!

          Cheers

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

            Add a script processor to the sampler then copy the entire script I linked, right click in the script processor and select load script from clipboard.

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

            L 2 Replies Last reply Reply Quote 0
            • L
              LeeC @d.healey
              last edited by

              @d-healey Perfect will try this out later. Much Appreciated!

              1 Reply Last reply Reply Quote 0
              • L
                LeeC @d.healey
                last edited by LeeC

                Hi @d-healey,

                So just gave your script a try.

                All seemed to load in successfully with the instructions you provided.
                Unfortunately, I've tried with a few sample maps with no success.

                What happens?

                Continuing the example earlier in this thread, the initial note C4 sounds as usual but E4 is no longer heard with the script is active. I've posted a screenshot of the current sampler settings in case there's anything glaring obvious that I'm doing wrong.

                Link Preview Image
                Screen-Shot-2019-05-09-at-18-03-03 hosted at ImgBB

                Image Screen-Shot-2019-05-09-at-18-03-03 hosted in ImgBB

                favicon

                ImgBB (ibb.co)

                Thanks again ☺

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

                  Try increasing max interval

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

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    LeeC @d.healey
                    last edited by LeeC

                    @d-healey Just increased max interval all the way to no avail.
                    Did notice that the following error is shown in the console when hitting E4 after C4 though

                    Script Processor1:! onTimer() - Line 15, column 15: Unqualified assignments are not supported anymore. Use var or const var or reg for definitions

                    Line 15 in the 'On Timer' section relates to the following line of code.

                    bendAmount = knbBendAmount.getValue();

                    Not sure if this is the reason for the lack of glide though

                    Link Preview Image
                    Screen-Shot-2019-05-09-at-18-36-34 hosted at ImgBB

                    Image Screen-Shot-2019-05-09-at-18-36-34 hosted in ImgBB

                    favicon

                    ImgBB (ibb.co)

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

                      Well the good news is the script works once you add reg bendAmount; in the init callback (this wasn't needed when I wrote the script back in 2017). The bad news is I was thinking of the wrong script when I pointed you to this one :p This actually plays and crossfades and pitch fades every sample in the glide.

                      The script you want is this one - https://raw.githubusercontent.com/davidhealey/HISE-Scripting-Framework/master/modules/monoMode.js

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

                      L 2 Replies Last reply Reply Quote 0
                      • L
                        LeeC @d.healey
                        last edited by

                        @d-healey Wow that actually sounds pretty ace man!

                        Really appreciate all of your scripting skills 👌

                        Works a treat.

                        1 Reply Last reply Reply Quote 1
                        • L
                          LeeC @d.healey
                          last edited by

                          @d-healey Honestly, that script absolutely nailed it!
                          Thanks again

                          1 Reply Last reply Reply Quote 1
                          • L
                            LeeC
                            last edited by LeeC

                            Just realised that you updated this script @d-healey.

                            https://raw.githubusercontent.com/davidhealey/HISE-Scripting-Framework/master/modules/monoMode.js

                            Thanks again for all your help ☺

                            Adam_GA 1 Reply Last reply Reply Quote 1
                            • Adam_GA
                              Adam_G @LeeC
                              last edited by

                              @LeeC @d-healey wanted to test this but i get a 404 not found error. is this script still functional, and if so is there another place to download it? thanks guys.

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

                                @Adam_G https://github.com/davidhealey/HiseUtilityScripts/blob/master/modules/MonoMode.js

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

                                Adam_GA 1 Reply Last reply Reply Quote 0
                                • Adam_GA
                                  Adam_G @d.healey
                                  last edited by

                                  @d-healey thanks very much, David

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

                                  38

                                  Online

                                  1.7k

                                  Users

                                  11.7k

                                  Topics

                                  102.2k

                                  Posts