[yoshimi] Re: On/Off contrller values?

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Fri, 15 Dec 2017 11:34:20 +0000

On Fri, 15 Dec 2017 10:36:23 +0100
Lorenzo Sutton <lorenzofsutton@xxxxxxxxx> wrote:

So if I understand correctly:

- In yoshimi MIDI learn set both min% and max% to the same (percentage 
value)
- multiply that value by 1.27 and ceil [1] to the above integer: that 
gives you the MIDI value which is the 'on' threshold to activate a 
binary parameter (switch).

So for example if you set min% and max% both to 90.0 any midi value < 
115 will turn the switch off and any value >= 115 will turn it on. Or if 
you set min%=max% to 8.0 your 'on' threshold value will be >= 11 in MIDI.

Right? :)

Lorenzo.

Almost. The test is actually for <= to give the lower value. Not quite sure how
I managed to type a '5' in place of a '2' earlier - probably a caffene
deficiency.

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