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.
    • 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

                            39

                            Online

                            1.7k

                            Users

                            11.7k

                            Topics

                            102.3k

                            Posts