|
||
Title: Limit Polyphony With A Script Post by magicalplug on Aug 9th, 2010, 12:46pm Hi. I'm completely new to scripting. I need some help writing a script so MIDI-OX limits the polyphony allowed through in a specific note range. I.e. between C2 and C4 I only want three notes to ever be allowed through simultaneously, meaning old notes are killed as new ones come through - ensuring polyphony remains at three notes max. In addition, I would like to be able to toggle whether notes are forced to sustain (creating a legato effect) or not. Is this possible within the realms of MIDI OX scripting, and if so can anyone help me get started? |
||
Title: Re: Limit Polyphony With A Script Post by Jamie OConnell on Sep 3rd, 2010, 3:07am It's possible. You're going to need to keep a list and count of which notes are sounding, and discard any or turn off any that exceed polyphony limits. You might also need to associate timestamps to turn off the oldest note. |
||
MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1! YaBB © 2000-2003. All Rights Reserved. |