[yoshimi] Re: Poliphony - decisions, decisions

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Tue, 12 May 2020 21:23:59 +0100

On Fri, 8 May 2020 14:58:15 +0100
Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx> wrote:

Would anyone object to the idea of leaving the per part note max as it is
(where it will steal oldest notes if it is exceeded) and get rid of the 
supposed
total - which doesn't seem to work anyway?

As far as I can see, the very worst that can happen would be Xruns with a
very large number of notes on multiple parts.


As usual this is more complicated than it first seems. Going back to Zyn 2.2.1
'part poly' and 'poly' were the same thing, and when that is the case, I think
the 'Too many notes' line was intended as a fault report. i.e. something has
gone wrong in the code. So I'll leave it as it is, and revert the two limits to
one.

At the same time I've discovered another anomaly. This time with noteoff. It
seems that if two or more identical notes are started (presumably from multiple
keyboards/sources) the intention was to remove only the oldest one, but the
actual result has always been to remove all of them.

Putting in a 'break' would correct that, but due to the direction of the 'for'
loop instead of taking out the oldest it takes out the newest. This again is
easily corrected.

I've tried it here and it works fine, but should we in fact do this?

-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
Yoshimi source code is available from either: 
https://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: