Re: [Csnd-dev] possible issue with ALSA midi?
Dave Seidel <[email protected]>
| Newsgroups | gmane.comp.audio.csound.devel |
|---|---|
| Message-ID | <CAMnrweBuQrSR92eMWbu6ZJ19GhyzpRY2jd5LgQWNj_TRSMpPqA@mail.gmail.com> |
Yes, -odac is working fine. I went back and checked, and I've been specifying "-+rtmidi=portmidi" for several years now on my Pis, going back to Cs6. So maybe this is an old/existing issue, which might make it low priority. On Mon, Nov 11, 2024 at 2:52 PM vlz <[email protected]> wrote: > It could well be. Can you run -odac to it, does it make any sound? > > > Prof. Victor Lazzarini > Maynooth University > Ireland > > On 11 Nov 2024, at 19:48, Dave Seidel <[email protected]> wrote: > > > 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 > >