owingsbj / ModSynth

A modular synthesizer for Android
Apache License 2.0
17 stars 4 forks source link

Feature request: Configure order of note stealing when reaching polyphony limit #2

Open riban-bw opened 6 years ago

riban-bw commented 6 years ago

It seems the current implementation of polyphony management is to stop playing the oldest note when a new note exceeds the configured polyphony. It would be advantageous to be able to configure the opposite behaviour, i.e. to steal the latest note rather than the oldest note. It may be advantageous to allow more detailed configuration of this, e.g. steal the Nth note. An example workflow for this would be where a user wants to hold a pedal note (or chord) whilst playing a melody over the top. This is particularly advantageous when using portamento.

riban-bw commented 5 years ago

I have reviewed the source code and see the note stealing is a simplistic. I have a patch to change the behaviour to ensure oldest note is stolen. I could add this feature in to that patch if you feel it is advantageous.