[yoshimi] Back in the groove... ish

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Thu, 13 Apr 2017 20:35:28 +0100

One of our blind users had a a keyboard that sends a large number of
controls as NRPNs. For some inexplicable reason it sends some of them as lsb
only, but still sends all four bytes! This presented a problem, as to get the
0-127 range (but high res) we convert to floats then divide by 128.0

Well there is now a solution. A new MIDI-learn switch to treat it as an
ordinary 0-127 value. You have to use this after learning the control, as there
is no possible way to guess it. Currently it's only available via the command
line as I have worked out the best way to integrate it into the GUI - although
all the code is in place.

For those interested, using just the CLI you currently have to initially set up
a learn via direct access at the prompt. e.g.

yoshimi> direct 0 3 0 240

yoshimi> Learning
{twiddle controller}
yoshimi> Learned
yoshimi> CC 7  Chan 1  Main Volume
yoshimi>

Then make your adjustments:

yoshimi> s ml @1 min 60 - sets line 1 minumum to 60

yoshimi> Min = 60
yoshimi> s ml @1 bl en - block any others getting from this combination

yoshimi> Block enabled
yoshimi> s ml @1 ch all - set to recieve on all channels
Lines may be re-ordered
yoshimi> 
yoshimi> Chan = All
yoshimi>

As usual, extensive details in various docs :)

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