Istvan, Thanks for your quick reply. I did try PortMidi, and had similar problems. I'll try again. However, if it's not hard, I'm sure not only I but others would benefit from and rejoice at having arbitrary /dev reading of MIDI streams back in the code, instead of a forced standard like ALSA or PortMIDI. After all, the Linux philosophy is about freedom of choice, right? ;) One other major issue I noticed was that "-+rtaudio=alsa" seems broken, in that if I open my score with a dummy ftable for say 1000 seconds like so: f0 1000 e ...then run it, my performance time is only a few seconds. Has anyone else noticed this? It worked as expected with the old Csound-4.23f12-GNU version available on Csounds.com. FYI, I use a Slackware 10.1 system on a Dell Inspiron 8200 Laptop. For now, I'm sticking with Csound4, but i'll happily help test Csound5 until it's workable for me. Best, Aaron. On Tuesday 18 April 2006 3:12 am, Istvan Varga wrote: > On Tuesday 18 April 2006 07:10, Aaron Krister Johnson wrote: > > I'd like to use my serial port (/dev/ttyS0) for send MIDI data to Csound, > > which worked fine in Csound4 (simple--- "-M/dev/ttyS0" and you're good to > > go) > > Well, I am not sure if ALSA can use the serial port devices for MIDI, > but you can work around the issue by piping MIDI data from /dev/ttyS0 > to a virtual MIDI or MIDI through device, for example: > > dd if=/dev/ttyS0 of=/dev/snd/midiC1D0 bs=1 > > > Why is such a simple thing so impossible with Csound5? I tried the > > "-+rtmidi=alsa -Mhw:1,0" options, and Csound5 doesn't even recognize that > > I have a virmidi driver in the kernel, complaining of no such device. > > Did you try using the PortMidi driver (which is the default) ? > If you do use -+rtmidi=alsa then make sure that you select the right > device name. Also, the virmidi driver in ALSA tends to behave in a > somewhat buggy and inconsistent way; I often need to use hacks like > this to pipe data from one virmidi port to another, and only then can > I read MIDI: > > dd if=/dev/snd/midiC1D0 of=/dev/snd/midiC1D1 bs=1 > > > I tried the "-+rtmidi=null -M/dev/ttyS0" line, and that failed too....why > > is this so hard? > > The 'null' MIDI driver, as its name says, is a dummy one, so you cannot > expect it to read or write any actual MIDI devices. > > If you still cannot solve the problem, then the Csound4-style MIDI I/O > that uses files in /dev can easily be added back as an -+rtmidi option. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net