On Fri, Dec 30, 2005 at 11:33:33PM +0100, Istvan Varga wrote: > On Friday 30 December 2005 23:25, S. Massy wrote: > > > ALSA lib rawmidi.c:283:(snd_rawmidi_open_noupdate) Unknown RawMidi 0 > > ALSA: error opening MIDI input device > > *** error opening MIDI in device: -1 (Unknown MIDI error) > > --- > > That's with a command line like: > > $ csound --sched -d -+rtaudio=alsa -odac -+rtmidi=alsa -M0 csound5/examples/CsoundMidi.csd > > > > I am running csound5 from CVS (updated today). > > Any Idea what might be the problem here? > > ALSA MIDI devices are selected by name and not number. So, you > need to use an option like -M hw:CARD,DEVICE where CARD and > DEVICE are the card and device numbers (e.g. -M hw:1,0). Ah, yes, that does it. However, the port doesn't seem to be open: --- [...] ALSA: opened MIDI input device 'hw:0,0' orch now loaded audio buffered in 100 sample-frame blocks ALSA output: total buffer size: 200, period size: 100 writing 200-byte blks of shorts to dac SECTION 1: --- But --- $ aconnect -io client 0: 'System' [type=kernel] 0 'Timer ' 1 'Announce ' client 64: 'EMU10K1 MPU-401 (UART)' [type=kernel] 0 'EMU10K1 MPU-401 (UART)' client 65: 'Emu10k1 WaveTable' [type=kernel] 0 'Emu10k1 Port 0 ' 1 'Emu10k1 Port 1 ' 2 'Emu10k1 Port 2 ' 3 'Emu10k1 Port 3 ' --- I assume CsoundMidi.csd is a working example? I looked at it briefly and it seemed fine, but I'm no csound wizard, so I could be wrong. Thanks, S.M. > -- > Send bugs reports to this list. > To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk -- smassy@sdf.lonestar.org