HISE Logo Forum
    • Categories
    • Register
    • Login

    Controlling volume with sustain pedal

    Scheduled Pinned Locked Moved General Questions
    2 Posts 2 Posters 64 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.
    • S
      Sampletekk
      last edited by

      I would like to control the volume on a sampler with the sustain pedal. The samples in the sampler should trigger on note on, but with the volume set to zero. Then, when sustain pedal is pressed, the volume should go up to a set value. Any ideas o how to script this?

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

        @Sampletekk Add a simple gain to your sampler. Add a MIDI processor to the sampler. In the MIDI processor's on controller callback respond to CC64 (sustain pedal) messages by changing the Gain parameter of the simple gain.

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

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

        21

        Online

        1.7k

        Users

        11.9k

        Topics

        103.4k

        Posts