[yoshimi] Re: Filter Frequency Key Tracking 100% value

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Thu, 24 Nov 2016 16:58:38 +0000

On Thu, 24 Nov 2016 15:16:38 +0100
Jörn Eichler <joerneichler@xxxxxxx> wrote:

Hi,

this is my first post to this list. So I hope, it is the right place for what 

want to ask/discuss:

Welcome aboard. Yes you've definitely come to the right place.

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

127 is supposed to correspond to 100% on all controls, as they start out as
chars, although I agree this sounds sightly out.

Changing it creates a dilemma, as it changes peoples perception of the synth.
While making additions I've been very careful to avid changing the original
sounds. Rather than changing the existing controls I would be more inclined to
add a tracking range switch somewhere - if there was enough demand for it.
Maybe a *1.5 checkbox so you could maybe go beyond 100%

Finally, though I used the same technique myself for such a whistle, I
think you're actually better off using subsynth and fiddling the bandwidths.
For example just increase the bandwidth of the fundamental and add reverb :)

HTH

Will.

-- 
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: 
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

Other related posts: