HISE Logo Forum
    • Categories
    • Register
    • Login

    [Solved] Sampler Glide Script Broken

    Scheduled Pinned Locked Moved General Questions
    45 Posts 5 Posters 2.5k 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 @SteveRiggs
      last edited by

      @SteveRiggs

      Cool, what kind of instrument is it? Synth, sampler, hybrid, something else?

      Is there a way to have it so that the glide works without notes having to overlap?

      Of course, scripting :p

      If it has to stay that way for any reason, is there another workaround to switch modes from mono to poly at all

      Yeah the time knob at 0 is the same as turning the effect off. You can script a button to control this or you can edit the script so it stays mono even when at 0.

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

      SteveRiggsS 1 Reply Last reply Reply Quote 0
      • SteveRiggsS
        SteveRiggs @d.healey
        last edited by

        @d-healey This one is a sampler instrument.

        My scripting knowledge is still not great but I'll have a go at working it out here so let me know if I'm close or not. I've got my head around the basics now but I'm still not 100% which parts I'd need to change for this...

        For a guess at the monophonic thing I'd say that it would be something to do with the oninit callback? Maybe this line below would need the 0.01 removing to fix it?

        time.setRange(0, 2000, 0.01);
        

        For the overlapping notes part I'd guess it was the onNoteon callback and it could be something to do with this part? (but I'm not certain)

        Synth.addPitchFade(eventId, time.getValue(), lastTuning + Message.getNoteNumber()-lastNote, 0);
        

        www.anarchyaudioworx.com

        www.facebook.com/groups/audioworx/

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

          I don't think either of those changes will do what you want. I don't have time at the moment to look at it but I'll check it out at the weekend.

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

          SteveRiggsS 1 Reply Last reply Reply Quote 0
          • SteveRiggsS
            SteveRiggs @d.healey
            last edited by

            @d-healey No probs mate. Thank you. I'll try a few experiments with it in a separate project in the meantime and see if I can work anything out

            www.anarchyaudioworx.com

            www.facebook.com/groups/audioworx/

            DanHD 1 Reply Last reply Reply Quote 0
            • DanHD
              DanH @SteveRiggs
              last edited by

              @SteveRiggs @d-healey Hey guys, was this mono / poly issue ever resolved in this script?

              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
              https://dhplugins.com/ | https://dcbreaks.com/
              London, UK

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

              14

              Online

              1.8k

              Users

              12.0k

              Topics

              104.3k

              Posts