HISE Logo Forum
    • Categories
    • Register
    • Login

    Sustain CC selector

    Scheduled Pinned Locked Moved Solved General Questions
    5 Posts 2 Posters 410 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

      I want to allow the user to choose which CC is used for the sustain pedal, (in case they don't have/want a hardware controller linked to CC64).

      I thought about adding a button on the UI that sends out CC 64 when enabled, but it seems if CC64 is assigned to a control via MIDI learn, the sustain functionality is bypassed entirely.

      How can I have both CC64 through MIDI learn and keep the sustain function?

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

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @d.healey
        last edited by

        Does this help?

        Link Preview Image
        HISE | Docs

        favicon

        (docs.hise.audio)

        This will keep processing MIDI messages even if they are automated.

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

          @Christoph-Hart That did it, thanks!

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

          1 Reply Last reply Reply Quote 0
          • d.healeyD d.healey marked this topic as a question on
          • d.healeyD d.healey has marked this topic as solved on
          • d.healeyD
            d.healey
            last edited by

            Actually there is still a problem with this. If the user wants to use a CC other than 64 there doesn't seem to be a way to tell this to HISE. Using Synth.sendController(64, value); doesn't create the sustain effect.

            Poking around in the HISE source I noticed there is some code for the CustomSettings floating tile related to "SustainCC" but it doesn't look like it's been implemented.

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

            1 Reply Last reply Reply Quote 0
            • d.healeyD d.healey has marked this topic as unsolved on
            • d.healeyD
              d.healey
              last edited by

              Ah ignore me, it does seem to work. I made a mistake and forgot to use the automation handler in my test.

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

              1 Reply Last reply Reply Quote 1
              • d.healeyD d.healey has marked this topic as solved on
              • First post
                Last post

              28

              Online

              1.7k

              Users

              11.8k

              Topics

              102.8k

              Posts