lmms icon indicating copy to clipboard operation
lmms copied to clipboard

Cannot use external midi controllers under FreeBSD

Open probonopd opened this issue 2 years ago • 18 comments

Bug Summary

Cannot use external midi controllers under FreeBSD even though the messages do show up on /dev/umidi0.0.

Trying to follow https://www.youtube.com/watch?v=YVXp4JdFaGU but it seems not to work like this on FreeBSD.

Can OSS Raw MIDI not using /dev/umidi*.0 (e.g., linked to /dev/midi) on FreeBSD?

A search turns up https://lists.freebsd.org/pipermail/freebsd-multimedia/2011-September/012431.html

So I was looking for midi software that could work with a midi keyboard on an usb midi interface (snd_uaudio, /dev/umidi0.0), and found that at least both rosegarden and musescore only know alsa seq interfaces (which we don't have nor emulate on FreeBSD), not raw midi (I'm not sure there's a difference between alsa raw midi and oss raw midi) I then found audio/lmms which appears to support oss midi, but couldn't get it to work with my interface

Unfortunately with no clear answer.

Steps to reproduce

  1. Run FreeBSD (e.g., the helloSystem Live ISO) and install LMMS [not running jackd, just the plain FreeBSD sound system]
  2. Attach external midi controller
  3. Verify that the midi controller works; for example with sudo ln -sf /dev/umidi*.0 /dev/midi ; fluidsynth -m oss -a oss path_to/some.sf2. Verify that you can hear sound as you operate the controller. This proves that the USB MIDI controller messages appear correctly on /dev/midi. Then quit fluidsynth
  4. Start LMMS
  5. Preferences -> MIDI image
  6. In the TripleOscillator track, select MIDI -> Input (note that no USB devices are shown here, is this normal?) image
  7. Play on the controller.
  8. Is it necessary to do anything here? Not clear! image

Expected behavior

You hear sound in LMMS and see activity.

Actual behavior

You hear nothing in LMMS and see no activity.

Screenshot

Affected LMMS versions

1.2.2 on FreeBSD 13.0-RELEASE (helloSystem 0.7.0)

Logs

Click to expand

probonopd avatar Jan 09 '22 15:01 probonopd