I'm having trouble getting "oss MIDI" (that is, access to /dev/midi*) working in linux. Whereas in 0.53 I get choices "none", "/dev/midi3", "/dev/midi4", "/dev/midi5", on 0.54 I get an extra entry, "(no device)". When I select "midi4" for example, the next time I open the dialog it shows "midi3". I think too that it' actually trying to open midi3, not midi4.
See https://github.com/pure-data/pure-data/issues/2005 :-) I think IOhannes is working on this.
On 21.06.2023 22:49, Miller Puckette wrote:
I'm having trouble getting "oss MIDI" (that is, access to /dev/midi*) working in linux. Whereas in 0.53 I get choices "none", "/dev/midi3", "/dev/midi4", "/dev/midi5", on 0.54 I get an extra entry, "(no device)". When I select "midi4" for example, the next time I open the dialog it shows "midi3". I think too that it' actually trying to open midi3, not midi4.
Commits that might be of interest are a0b74340313d26a430c145a421c7e5660b38d1cd (fixed off-by-one errors in MIDI-dialog) and dfaba7072c0bdae2e97a94f91f0e0a11f97f6687 (handle non-existing selection when showing midi devices) -- although these are dated 2021 I appear to have only merged them for 0.54. I don't know how to figure out what PR they came from.
Meanwhile one minor thing: when selecting "alsa midi" dialog the number of devices comes up 0 and 0, even if I had set them to 2 and 2 in the command line ("-alsamidi -mididev 1,2") - this is minor except that Pd unhelpfully closes the existing MIDI devices when the dialog is started.
I'm scared to try to fix these as I'm sure I'll break something else if i do :)
thanks
Miller
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev