Hi,
this is my first post to this list. So I hope, it is the right place for what I
want to ask/discuss:
I've been playing around with Yoshimi for some time, and I noticed, that there
seems to be no 100% setting for the filter cut-off frequency key tracking.
I'm using a band pass filter with high resonance on a noise to create a whistle
sound (like Tomita). But even setting the key tracking to maximum gives a
quite noticable detuning for pitches further away from the reference note.
float FilterParams::getfreqtracking(float notefreq)
{
return logf(notefreq / 440.0f) * (Pfreqtrack - 64.0f) / (64.0f * LOG_2);
}
For a 100% setting a value of 128 for Pfreqtrack would be needed. However, the
highest possible value seems to be 127.
An easy solution might just "redefine" the maximum setting 127, to behave like
128. Something like:
unsigned char tempfreqtrack = (Pfreqtrack == 127) ? 128 : Pfreqtrack;
Any thoughts?
Greetings,
Jörn
Yoshimi source code is available from either:
http://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