Topic: FYI: Progressive sustain pedal for Casio PX or any keyboard + Pianoteq
I have a Casio PX-160, which is a great MIDI controller piano keyboard for the price and is my default controller for Pianoteq. The key action is a big improvement over my Yamaha P-140 (and even more so on any recent Yamaha GHS action keyboard, e.g., P-115, IMHO).
But one thing the PX-160 and rest of the Casio Privia / PX series are supposedly lacking is progressive sustain (Edit: or so I've read; see S_G_B's post below about PX-850 supporting progressive/continuous sustain control). The default sustain pedal input only accommodates an on/off switch. The only other option is the made-for-cabinet 3-pedal unit, which offers half pedalling. But even that only gives 3-levels (2 discrete steps): full-off, half-on, full-on --- not good enough for realistic pedalling. (Aside: The PX-160 and all the non-cabinet PX models come with the cheap and most unsatisfying SP-3 foot-switch. At the very least one needs to upgrade to an aftermarket piano-like switching pedal. I was using an inexpensive UXL pedal till I got progressive sustain sorted.)
Here is the least expensive effective solution I found to remedy this: using the Yamaha FC3 pedal (with continuous analog output; came with my P-140) with this $49 pedal-to-USB-MIDI adapter: Audiofront MIDI Expression. For Windows/Mac users the adapter comes with software that allows you to set it up (set the type of pedal, adjust range/response etc).
For Linux users (including myself) there is no software, so one is stuck with whatever the adapter thinks the pedal is and the MIDI controller No. it assigns. It registers the FC3 as an expression pedal with output to MIDI controller 7 and the MIDI levels run backwards from 115 at full-off to 0 at full-on. But all this can be fixed up in Pianoteq by going to Options->MIDI, assigning MIDI Controller 7 to "Pedal 4 [Sustain Pedal]", switching the range from the default min=0, max=1.00 to min=1.00, max=0, and tweaking the sustain pedal response curve in the main interface (or running the Calibration Assistant). And I also still have the old on/off sustain pedal coming in on controller 64 to assign to something else useful.
The setup works great. Pedalling is a lot more realistic, and Pianoteq seems to model the position and movement of the pedal very well in terms of amount of sustain and pedal noise. (The FC3 unit itself is a bit noisy though: creaks and clunks. Mine's about 10 y.o. but had little use. Might have to pull it to bits, tighten things up and give it some lube.)