Script: Virtual Sustain Pedal From Pitch Bend

Spencer
Spencer Member Posts: 1 Newcomer

Here is a little script I wrote that I find really useful:

https://gist.github.com/shcipwa/1050ac04e295dee1a6c2767eeef8a766

I originally wrote this for playing Piano using Native Instruments Maschine without a sustain pedal, but should work with any keyboard with a pitch bend wheel.

It works great because the Maschine MK3 pitch bend bar is easily reachable while playing and makes no click sounds.

When enabled, it will intercept pitch bend midi messages as controls for a virtual sustain pedal.

How it works:

Pitch Bend Down - Toggle sustain state on or off permanently

Pitch Bend Up - Temporary inverse of current state

Example use:

Pitch bend down once to toggle always on, then tap pitch bend up whenever you want to mute currently sustained keys (quick lift of pedal)

Comments

  • Kaiwan_NI
    Kaiwan_NI Administrator Posts: 2,562 admin

    Thanks a lot for sharing @Spencer!

  • Darkwater
    Darkwater Member Posts: 3 Newcomer

    @spencer I’ve got a keyboard with a pitch bend wheel that goes a full octave. Is there anyway in Maschine 2 software that I could limit it to a semitone?

Back To Top