Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Strange MIDI output problem with Csound 6.18

Date2026-11-04 16:45
FromDaniel <000012ee7ecf92ae-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] Strange MIDI output problem with Csound 6.18
Hi all,

I'm pleased to report that I've finally figured it out!

The problem was related to the PortMIDI 2.0.2 library bundled with my Csound 6.18 installation. I tested that library independently, outside Csound, and reproduced the problem: successive MIDI events weren't being delivered correctly to macOS CoreMIDI.

I then tested PortMIDI 2.0.8 (installed via Homebrew), which worked perfectly. Replacing the bundled libportmidi.dylib with that version resolved the problem, and Csound's MIDI output is now working as expected.

So the issue wasn't with my CSD or IAC Driver, but with the bundled PortMIDI library in my installation.

Thanks again to Øyvind and Art for taking the time to help!

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2026-11-04 18:55
FromOeyvind Brandtsegg
SubjectRe: [Csnd] Strange MIDI output problem with Csound 6.18
Good that you managed to solve it :-)

ons. 4. nov. 2026 kl. 17:45 skrev Daniel <000012ee7ecf92ae-dmarc-request@listserv.heanet.ie>:
Hi all,

I'm pleased to report that I've finally figured it out!

The problem was related to the PortMIDI 2.0.2 library bundled with my Csound 6.18 installation. I tested that library independently, outside Csound, and reproduced the problem: successive MIDI events weren't being delivered correctly to macOS CoreMIDI.

I then tested PortMIDI 2.0.8 (installed via Homebrew), which worked perfectly. Replacing the bundled libportmidi.dylib with that version resolved the problem, and Csound's MIDI output is now working as expected.

So the issue wasn't with my CSD or IAC Driver, but with the bundled PortMIDI library in my installation.

Thanks again to Øyvind and Art for taking the time to help!

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here