VSTLua scripting can be done in any plain text editor, and loaded into the client as described in the link above. VSTLua is loaded into an instance of the Cantabile Lite VST host, and Pianoteq is loaded into the host's rack immediately following, so that Pianoteq gets the MIDI stream via VSTLua. The script is loaded into the VSTLua client (available here - ). The solution below uses a script in LUA to do that. In fact, rather than reject it, I retransmit it as a zero value (just to make sure!). We can then check if a 127 is likely genuine (previous value large) or unlikely (previous value small), so we can reject a 127 after a 0 as 'impossible' operator input. The problem is that we need to distinguish 127's that are genuine data from those that aren't, which means knowing what the previous values were. Unfortunately it doesn't address the problem, is messy, and in different set-ups could be a hidden gotch-ya. This is fine for Pianoteq, as you can have it listen on a different MIDI channel, so the 127's are ignored. It's rather confusing, and I succeeded only in converting the MIDI channel number of the pedal controller data value of 127 to another MIDI channel. One solution I devised uses virtual MIDI cables to route the MIDI data into the MIDIox utility (Windows). Not only is it a great treat in Pianoteq (with sostenuto, Satie sounds wonderful), but it has potential as a versatile MIDI controller for other instruments (such as Sample Modeling's tasty Ms. The RPU-3 is a nice unit, capable of transmitting the full range of values. So if the pedal is controlling a piano sustain, suddenly the sound goes to max sustain just when you lift your foot off. What happens is that when the pedal is lifted off and the MIDI data values approach the limit (0 or 127), inexplicably a rogue value of the other limit (127 or 0) is sent. I have a couple of other solutions to this issue, probably due to the electronics in the VMK188plus not de-bouncing the pedal properly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |