[Csnd-dev] possible issue with ALSA midi?

Dave Seidel <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <CAMnrweC8xyqB6L_YhTz8sBUdswYMHogkDWNreAP7+FNLcVmiiw@mail.gmail.com>
I recently acquired a Pi 5, which I've equipped with a Pisound board (like
my older Pis). I can build Cs7 without any issues, but I notice that when I
query MIDI devices using ALSA as the interface, I get an error:

dave@phonon:~/src/csound/build $ csound -+rtmidi=alsa --midi-devices
rtalsa: Wrong callback.0 MIDI input devices
rtalsa: Wrong callback.rtalsa: Wrong callback.0 MIDI output devices
rtalsa: Wrong callback.            overall amps:      0.0
           overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 0.001s, CPU: 0.001s


If I specify portmidi, no errors:

dave@phonon:~/src/csound/build $ csound -+rtmidi=portmidi --midi-devices
rtmidi: PortMIDI module enabled
3 MIDI input devices
 0: 0 (Midi Through Port-0)
 1: 1 (pisound MIDI PS-28625BA)
 2: 2 (pisound-ctl)
3 MIDI output devices
 0: 0 (Midi Through Port-0)
 1: 1 (pisound MIDI PS-28625BA)
 2: 2 (pisound-ctl)
                   overall amps:      0.0
           overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 0.003s, CPU: 0.003s


Same results on my Pi 4 running Cs7. I don't have a Pi running Cs6 for
comparison. The Pi 4 is running bullseye; the Pi 5 is running bookworm.

FWIW, I don't really care which interface I use, and I'm fine with using
portmidi, but I thought this might indicate an issue.

- Dave
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.