[PD-dev] alsa midi device numbers
IOhannes zmölnig
zmoelnig at iem.at
Fri Jun 7 09:40:44 CEST 2013
On 06/07/2013 06:34 AM, Jonathan Wilkes wrote:
> I'm trying to track down a bug in my preferences dialog code for midi.
>
> In Pd Vanilla 0.43:
> If I choose Media -> Hardware-Midi it brings up a dialog
what's "Hardware-Midi"?
>
> If I choose Media -> Alsa-Midi it brings up a dialog
>
> If I choose Media -> Hardware-Midi, close the dialog, then choose
> Media -> Alsa-Midi I get insane device numbers in errors to the Pd console:
i don't see this error with Pd-vanilla. how does the "vanilla" property
box handle device numbers differently than yours?
> couldn't open MIDI input device 2054
> couldn't open MIDI output device 1836017711
> opened 0 MIDI input device(s) and 0 MIDI output device(s).
>
> I suppose to be on the safe side, for both audio and midi I should not assume that devices will be numbered contiguously from 0-n. Still, these weird device numbers will probably cause errors.
>
> Unfortunately I don't have a midi device so I can't test it.
>
if your "hardware MIDI" device is OSS, you can load a loopback driver to
get a software device.
fmasdr
IOhannes
More information about the Pd-dev
mailing list