[yoshimi] Some more tweaks

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Fri, 4 May 2018 21:24:03 +0100

Following on from issues I had at last year's LAC, Solo 'Loop' mode now has as
250mS de-bounce timer. I had been using a fairly cheap foot switch and a couple
of times got two steps instead of one.

There is also a new mode called 'Recoil'. I'm not really happy with that name
but can't think of a better one. This is also de-bounced. It is similar to
loop mode, in that an input value of zero is ignored, but values 1 to 63 step
downwards and loop back to part 16, while 64 to 127 still step upwards and loop
back to 0.

On my BCF2000 there are two foot switch inputs, and they can be set to the same
CC but with different ranges, so now, not only is there no risk of a double
step, but I can step quickly either way to any of the parts 1 to 16 :)

P.S. if anyone can think of a better name before the next release - it's in!

Oh, and the de-bounce timer is very simple, and a bit variable.
It also has a known defect.

There is a possibility of it missing a valid input...
But only if Yoshimi is running continuously...
And in a 250mS time frame...
Just once every 5 days...
From the last Solo change :)

The de-bounce is not implemented for Row and Column modes. In the first place
you are sending direct part numbers, and also these modes are really intended
for automation, where you might want to do fast note-by-note part changes, such
as a complex arpeggio.


On the downside I've uncovered two old bugs that I don't yet know what to do
about.

The first is serious. If you select an instrument for swapping, then try to
select a different bank Yoshi crashes. This goes back to when we first
implimented the bank structure :(

The second is just a bit annoying. If you run multi-instance in jack, stand
alone, when you close the main instance you get a series of 'broken pipe'
messages. One for each instance. It doesn't seem to produce any Xruns though.
It also doesn't occur when running as an LV2 plugin. This goes back to when we
first implemented multiple instances.

More tea Vicar?

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