Hi, so, I'm still trying to use this old and now just garbage C.H.I.P. computer (the 1st under 10$ single board computer). It's running Pd 0.49-0 on a debian system.
I'm plugging in MIDI devices like a nanokontrol and a MIDI-USB. They do show up, but not as MIDI devices, I can only see and select them in the audio properties.
How crazy is that? Anybody ever seen this?
Mighty Linux people, any hints on how to deal with this?
Thanks!
can you run amidi -l aplay -l in the terminal and post the results?
On Tuesday, 5 February 2019, 02:26:18 GMT, Alexandre Torres Porres porres@gmail.com wrote:
Hi, so, I'm still trying to use this old and now just garbage C.H.I.P. computer (the 1st under 10$ single board computer). It's running Pd 0.49-0 on a debian system.
I'm plugging in MIDI devices like a nanokontrol and a MIDI-USB. They do show up, but not as MIDI devices, I can only see and select them in the audio properties.
How crazy is that? Anybody ever seen this?
Mighty Linux people, any hints on how to deal with this?
Thanks! _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
here you go:
chip@chip:~$ amidi -l Dir Device Name IO hw:1,0,0 USB Uno MIDI Interface MIDI 1 chip@chip:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sun4icodec [sun4i-codec], device 0: CDC PCM Codec-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 chip@chip:~$
2019-02-05 2:29 GMT, Giulio Moro giuliomoro@yahoo.it:
can you run amidi -l aplay -l in the terminal and post the results?
On Tuesday, 5 February 2019, 02:26:18 GMT, Alexandre Torres Porres porres@gmail.com wrote:
Hi, so, I'm still trying to use this old and now just garbage C.H.I.P. computer (the 1st under 10$ single board computer). It's running Pd 0.49-0 on a debian system.
I'm plugging in MIDI devices like a nanokontrol and a MIDI-USB. They do show up, but not as MIDI devices, I can only see and select them in the audio properties.
How crazy is that? Anybody ever seen this?
Mighty Linux people, any hints on how to deal with this?
Thanks! _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
So, assuming you have one MIDI device plugged in and also some sort of audio codec, then it seems that ALSA is recognizing these devices correctly. What audio backend is selected in Pd? What (if any) MIDI devices show up?
On Tuesday, 5 February 2019, 02:42:17 GMT, Alexandre Torres Porres porres@gmail.com wrote:
here you go:
chip@chip:~$ amidi -l Dir Device Name IO hw:1,0,0 USB Uno MIDI Interface MIDI 1 chip@chip:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sun4icodec [sun4i-codec], device 0: CDC PCM Codec-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 chip@chip:~$
2019-02-05 2:29 GMT, Giulio Moro giuliomoro@yahoo.it:
can you run amidi -l aplay -l in the terminal and post the results?
On Tuesday, 5 February 2019, 02:26:18 GMT, Alexandre Torres Porres porres@gmail.com wrote:
Hi, so, I'm still trying to use this old and now just garbage C.H.I.P. computer (the 1st under 10$ single board computer). It's running Pd 0.49-0 on a debian system.
I'm plugging in MIDI devices like a nanokontrol and a MIDI-USB. They do show up, but not as MIDI devices, I can only see and select them in the audio properties.
How crazy is that? Anybody ever seen this?
Mighty Linux people, any hints on how to deal with this?
Thanks! _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Em ter, 5 de fev de 2019 às 00:47, Giulio Moro giuliomoro@yahoo.it escreveu:
So, assuming you have one MIDI device plugged in and also some sort of audio codec, then it seems that ALSA is recognizing these devices correctly. What audio backend is selected in Pd? What (if any) MIDI devices show up?
The "sun4icodec [sun4i-codec]" shows up as an audio device, and it works for the onboard stereo output.
The "USB Uno MIDI Interface" also shows up in the audio devices, but it doesn't show up in Preferences => MIDI, all i has is "/dev/midi1" - and then I decided to select it and... wow... MIDI input works...
this shows how little I know about linux, sorry, I really thought it was strange that a MIDI device shows up in Audio but not in MIDI... seems like all this is just how it's supposed to be, huh? If so, it still looks weird to me I have to say.
I don't know why it shows up in audio, really.
/dev/midi1 is OSS (or an emulation of it). OSS is an audio/midi driver older than ALSA. I don't know anything about OSS, but maybe it lists the MIDI devices under audio as well? Maybe this version of Pd has been built without support for ALSA? I think if you run ./pd -help, this should give you the available options. If it lists -ossmidi/-oss but does not list -alsa/-alsaadd/-alsamidi , then you know you don't have ALSA support.
Giulio
On Tuesday, 5 February 2019, 03:09:59 GMT, Alexandre Torres Porres porres@gmail.com wrote:
Em ter, 5 de fev de 2019 às 00:47, Giulio Moro giuliomoro@yahoo.it escreveu:
So, assuming you have one MIDI device plugged in and also some sort of audio codec, then it seems that ALSA is recognizing these devices correctly. What audio backend is selected in Pd? What (if any) MIDI devices show up?
The "sun4icodec [sun4i-codec]" shows up as an audio device, and it works for the onboard stereo output.
The "USB Uno MIDI Interface" also shows up in the audio devices, but it doesn't show up in Preferences => MIDI, all i has is "/dev/midi1" - and then I decided to select it and... wow... MIDI input works...
this shows how little I know about linux, sorry, I really thought it was strange that a MIDI device shows up in Audio but not in MIDI... seems like all this is just how it's supposed to be, huh? If so, it still looks weird to me I have to say.
Em ter, 5 de fev de 2019 às 01:19, Giulio Moro giuliomoro@yahoo.it escreveu:
I don't know why it shows up in audio, really.
/dev/midi1 is OSS (or an emulation of it). OSS is an audio/midi driver older than ALSA. I don't know anything about OSS, but maybe it lists the MIDI devices under audio as well? Maybe this version of Pd has been built without support for ALSA?
I compiled this one myself (0.49) - but the 0.46-2 version available from apt-get had the same problem!
On 05.02.19 04:21, Alexandre Torres Porres wrote:
I compiled this one myself (0.49) - but the 0.46-2 version available from apt-get had the same problem!
i think you might be confused on how MIDI works for Pd on Linux.
with ALSA MIDI (which is what you should be using), you are just creating input/output MIDI ports for Pd. they are not connected to anything.
you need some other software to establish a connection between the output port of your device and the input port of Pd.
aconnect or qjackctl come to my mind.
asd IOhannes