[yoshimi] Re: Yoshimi 1.7.4 (maintenance)

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Sun, 10 Jan 2021 17:16:30 +0000

On Sun, 10 Jan 2021 17:38:10 +0100
Kristian Amlie <kristian@xxxxxxxxxx> wrote:

Hmm, I think you are wrong. When modulation is at maximum (Vol and V.Sns
both 127), it's just scaling that distinguishes them. If you set the
volume of the voice to +6.0dB, then the result is identical.

The two expressions are:

Ring sidebands: tw[i] *= (mod[i] * amp * 2);
Ring:           tw[i] *=  mod[i] * amp + (1.0f - amp);

And if Vol and V.Sns are both 127, then amp becomes 1.0, meaning the
last term in the second expressions vanishes. After that the only
difference between the two is that the amplitude is doubled.
Ooops!
I missed the effect of Vsens.
OK, so this is redundant and will go.

-- 
Will J Godfrey
http://www.musically.me.uk
http://yoshimi.github.io
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: