HISE Logo Forum
    • Categories
    • Register
    • Login

    Key limit waveform generator

    Scheduled Pinned Locked Moved General Questions
    5 Posts 3 Posters 178 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.
    • B
      bfaudio
      last edited by

      Hi all,

      I'm building a new instrument that uses the waveform generator to augment samples, and I was wondering if there's a way to key limit the waveform generator?

      Wanting it to match the key range of the selected sample.

      Thanks,

      Chris

      A 1 Reply Last reply Reply Quote 0
      • A
        aaronventure @bfaudio
        last edited by

        @bfaudio Add a MIDI processor, declare your range and in the on note part of the script, ignore any notes outside of that range.

        here's a simple example

        HiseSnippet 1005.3oc4W0siZaDE1FXVEHsUMsIJ4RqpdAqTTDPSSpz11P1EXWTVVPq2ls8pUSrO.iV6YrFOlDTSe25iPeD5iPeCZOisAamkPYQMsoJbAhyey7c9eXjT3.ggBogY0ylG.FleDwdNWM8foTF2neGCyOgLfFp.oUBq8mGPCCAWCSyxGpYXVshQ7m+3I6S8nbGHikgwyELG3XlOSkwcT6mw775QcgyX94z9gs66H3GH7DQHdJSZXDPctjNANgpUqDwvbmttLkPZqnJHD0Yeg6b6ohWxSz+4rP1K7.MQSCa7fRXabvTlm6nE9ZnggIYTlmWNwyuMY.yksjeVD3SiEXkYQ9XfYo0AolWCHYlCRURfzsH1NRVfJShFO2jzmiIjwTLTmGJI5ZX9qjCDnBb0C7oWB8jHwRCp+nFMtuE90t6MNh6nXBtkfehPAC402s1OWqZseol0aJZ73UJSeMRgmGHWoXc1UtNCqyi7eAHuu0LpWDrTQz8KFS2YyhoNIdcNEE79blZX.jR2S34piU5ee0LfQZXC+0OzuCUQ0IkTdndAfTwzvwrCLCqpSRQUIcfvKUh.rt9J4OrxQ3F4QUEKmz8MoBv3QgbnNQwCYp446qtF0XMVaM1lBwaQFwTNSWMFKsBLhQp2EXLsy7iIcGOFbTY.rBo2Otssga90emjq+ljyoyf3whwW9choGKj9VGBbPpicMWyfweaSGLFrwCFG5nPHbljxCCDgPy7m7aHqUdYc.UDun5IrJnk185gtWN8tQ6ELakm4HJuvggzENoArWkQ96OoKmhIAa.8F2ggNnypic4K0GE4EBmybUSal2vL1sxy9HpzEyKNEJDKWrRnxlM7nXOYN8Wwj5cdWs7nxlU0t9wXa9hjOOkaF5ZtpEJk9BSBlwBUVGO77KdV2ex56vMH6UKg2Q8O7nTlOt0aaox.7zwE4OfMgKjP2Y3D05K3MATZUOIdWP8cs91kWyqes0aSoue48t6duWtyh7O0NqOD2SUnDt5BLZy7C7ft7YfG5jwX7yPuZLMxSsfawB3ABtHXpfyJLg3TPIYSl.EF7rRG5oJE9BzLN2t8ofGPCyMa9KaeLiCTIFmfsLVb8eW3JyW2ij.WKcMr0+eeeQ4OXdew569vcmuemEuKA2g2xJNUZ8eSt7TQjhwmLfhcz3KMH39Aa7QRN.hRNG7zChMKoGYlP2PSqgfMvciI9S7SpvlZZyTgMWH7ek6vm5HEW3jrhQ2zeiXNneyi+uuUw+DNRa0zHdsS9foO97hKbbJdTWwvVaqge01Z3C2VC+5s0vGssF93s0vu4u2P8q+dZjR3mzafOIdT23c1llIuFNtMw3uvmd.7d
        
        B 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey
          last edited by

          I've published a note range filter module you can use. It basically does what Aaron said and handles transposed notes.

          Link Preview Image
          RhapsodyBoilerplate/modules/NoteRangeFilter.js at main

          RhapsodyBoilerplate - Boilerplate code used by Rhapsody.

          favicon

          Codeberg.org (codeberg.org)

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

          B 1 Reply Last reply Reply Quote 0
          • B
            bfaudio @aaronventure
            last edited by

            @aaronventure thank you! Was hoping it would be simple.

            1 Reply Last reply Reply Quote 0
            • B
              bfaudio @d.healey
              last edited by

              @d-healey thank you again, as always!

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

              13

              Online

              1.7k

              Users

              11.8k

              Topics

              103.2k

              Posts