Script: Virtual Sustain Pedal From Pitch Bend

Spencer
Spencer Member Posts: 1 Noise

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

Back To Top