Exciting! Thanks Nikolozi and Samuel Lindeman!
**Build 155** Added Voice Allocation Options: Same Note and Voice Priority. Same Note has 2 modes, in Reuse mode, if there's a voice already with the same note it will be reused. The Follow Priority mode makes it possible to have multiple voices playing the same note. Voice Priority allocates voices by prioritising based on whether the note is newest, oldest, lowest or highest. Note how polyphony is saved in presets was changed in this version, so if you have created a preset with previous builds it will have its polyphony reset to 1 on load. Simply change it to desirable value and resave.
Hi! The polyphony is quite nicely implemented! I know it's still in early stages but 'note/voice slot priority' is something that could be handy?! As an example, if I hold a three note chord with the left hand and play a melody with the right hand the notes start to cut-off. Voice Allocation and Polyphony is always a tricky thing to 'get right'. Let's play with the idea of using four note polyphony. I hold down a three note chord thus 3 'voice slots' are allocated. Now I play a 4th note to play the melody, everything is fine. Now I play a 5th note after releasing the 4th note (ie. 4th 'voice slot' should be free) boom the 1st note I played is 'cut off' when it could have used the 4th 'voice slot' to play the note. This is not specific to Mela 4 but almost every synth that deals with polyphony handles voice allocation in various ways. This is just more noticeable at lower polyphony counts as it easier to reach the limit and the held notes start to cut off even with fewer 'active' voices. If I recall correctly these 'modes' are called to first note priority and last note priority. With first note priority the first played note will always play until released even if polyphony count would be exceeded. Last note priority would prioritize the last note and cut out the previous notes starting with the first one. The 'note-cue' builds up and when it reaches the maximum the 'mode' selects from which end of the cue the notes are 'kept'. So with first-note priority the last note in the cue is 'replaced' with the new note when the voice count is maxed out with 'last note priority' the first note is dropped to make room for new notes... The current 'voice cycling' is like a chain of marbles that goes round and round without any note priority. Once one starts playing with multiple parts (left and right hand) on a polyphonic synth these 'things' pop up, then again one can always use multiple sintaces when needed :) Cheers!
Samuel Lindeman: Sorry, yeah I should have mentioned that the voice stealing algorithm is super basic. I’m working on fixing that and adding options/rules. Like when to steal / reuse voice.
I'll also move the polyphony selector to the main toolbar. At the moment it's quite yuk :) But I was just rushing to get the beta out fast. Initially, the max polyphony will be 8 (due to tech reasons), but I'll increase it to 16 at some point.
In build 154, the newest notes are prioritised when reusing voices. But I'll add more options soon.
Nikolozi: Well Done! The 'new' voice allocation mode works really well!
Available for beta testing.
Implemented in Mela 4.7.