[Bug 252188] [PATCH] audio/pd: add MIDI support via PortMIDI and sndio

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 27 06:32:52 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252188

            Bug ID: 252188
           Summary: [PATCH] audio/pd: add MIDI support via PortMIDI and
                    sndio
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: beyert at cs.ucr.edu
                CC: brittlehaus at gmail.com
                CC: brittlehaus at gmail.com
             Flags: maintainer-feedback?(brittlehaus at gmail.com)

Created attachment 220980
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=220980&action=edit
audio_pd.diff

I added MIDI support to the current version of audio/pd using the included
in-tree version of PortMIDI.  I disabled JACK support for now since I couldn't
verify if it served any purpose, but I don't really mind if the maintainer
wants to keep it on by default.  I must admit that I haven't had a chance to
test the JACK option yet, so maybe it should be enabled as well.  I just know
that the port, including PortMIDI support should fully work either with the
JACK option disabled or enabled.

this patch is in a large part derived from Raphael Graf's
patches for a sndio backend on the OpenBSD audio/portmidi port, enhanced to
detect a variable number of MIDI (umidi) devices:
http://openbsd-archive.7691.n7.nabble.com/audio-portmidi-input-td363848.html
https://marc.info/?l=openbsd-ports&m=155221816900336&w=2

I was able to add support for 9999 MIDI inputs, although more work needs to be
done to get MIDI outputs working.  I can submit a patch for that soon.

I have compiled and tested this port heavily on multiple FreeBSD 12.0 and 12.1
RELEASE systems, and I have used this patched version extensively with numerous
MIDI input devices (see below; input only tested so far, since I haven't
implemented MIDI output support in audio/pd yet).

As noted above, I've tested PortMIDI on FreeBSD with the following MIDI
devices:
*  Roger Linn LinnStrument
*  Hornberg Research hb1 breath controller
*  Keith McMillen Instruments SoftStep 2 foot controller
*  Keith McMillen Instruments QuNeo
*  Roland GR-55 Guitar Synthesizer (MIDI output only on foot pedal, USB MIDI
output requires a special driver)
*  Evolution U-Control UC-33e
*  Behringer FCB1010 Foot Controller
*  Yamaha PSR-280 keyboard

My apologies for sitting on this patch since July, I just haven't had enough
opportunity to test it until recently...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list