Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Dec 2020 06:32:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 252188] [PATCH] audio/pd: add MIDI support via PortMIDI and sndio
Message-ID:  <bug-252188-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252188

            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@FreeBSD.org
          Reporter: beyert@cs.ucr.edu
                CC: brittlehaus@gmail.com
                CC: brittlehaus@gmail.com
             Flags: maintainer-feedback?(brittlehaus@gmail.com)

Created attachment 220980
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D220980&action=
=3Dedit
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 could=
n'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 kn=
ow
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=3Dopenbsd-ports&m=3D155221816900336&w=3D2

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 1=
2.1
RELEASE systems, and I have used this patched version extensively with nume=
rous
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...

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252188-7788>