Hope I'm not boring anyone but...
I decided to discover just how much work the prng had to do at note-on so put a
simple little counter in the actual call that does the work. I also disabled
the reseeding. The results were very interesting.
With a fairly average AddSynth instrument there are 4 calls per note. I then
played a 5 minute two-handed 'allegro' tune with a three note rocking bass left
hand and three and 4 note chord stabs right hand. This totalled 12561 calls
which comes to 150,732 calls per hour of continuous playing. We would need to
play for many hours to get to our 128 terabytes!
It gets better. This was for a single voice. All other voices have their
own prngs so no cumulative effect.
Better still. Almost any major change to a part re-generates the AddSynth
voices so automatically re-initialises the prng! This gave me the idea of
randomising them at this point. It is now done by making calls to the
SynthEngine prng, so that also solves the problem of kit item voices.
My final decision is that we definitely do *not* need any note-on reseeding.
So that's an infinitesimal reduction in note processing :@)
All done in build number 1465.
Will J Godfrey
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:
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx