[yoshimi] Re: adding external midi controller

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Mon, 31 Dec 2018 22:28:57 +0000

Going back to the start...

First of all, please keep in mind that Yoshimi has a *very* small number of
people who can devote a lot of time to it. That small number being 1 - me :(

When I first looked at the MIDI code it didn't attempt to make any connection
at all (neither did most other software I came across). Some stuff did, and
used the ALSA port primitives to connect to the first device it saw. Which was
highly dependent on what order things are started up, and assumed no re-starts.

None of this mattered much to most people as qjackctl was used to quickly link
stuff together by name, or they used session software. Also Rosegarden (my
sequencer of choice) could find Yoshimi and auto connect to it if configured to
do so. That last bit is important because if it was not configured to, then
trying to connect via qjackctl would appear to work but Rosegarden ignored the
connection - it had to be the boss.

Over a period of time I worked out how to identify a source by ID (rather than
port number) if it was known, and provided the entry in the ALSA tab for that.
If you know the ID the hardware reports (which may not be quite the same as
printed by aconnect -l) just enter that, save settings and Yoshimi will find it
and connect to it every time it starts.

That did everything I wanted it to at that time, and apparently what everyone
else wanted, so I moved on to other more important issues.

I would refer you to "The Short Yoshimi Guide.odt" in the "doc" directory for
some more info on this.

This is the first time anyone has raised this since then, and although I'll put
it on the list, I can tell you there is still much more that Yoshimi *really*
needs.

If we were really smart we'd be able to find inputs in real time as they
appear, but although that is easy to suggest, it is enormously complex to
implement.

Yoshimi is first and foremost a soft-synth, When Cal forked it from Zyn 2.4.1
he initially stripped out everything that was not essential, and since I've
been in the driving seat I've tried to keep as close to that as seems
reasonable.


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