On Tuesday 18 April 2006 10:02 pm, Jonathan Murphy wrote: > Aaron, > > I found it a little tricky to install csound5 at first, and so when > I'd figured out how to do it I wrote a little guide, in the hope that > it would make things easier for others. You can find it here: > > http://csounds.com/phpBB2/viewtopic.php?t=115&sid=389a491fd6faa1f7f8b635fa1 >5fdb157 Hi Jonathan, 2 links in your guide don't work http://www.csounds.com/manual/html/ch07s02s06.html http://www.csounds.com/manual/html/ch07s02s07.html You say they list dependencies, etc. so I'm SOL! > It's really not that difficult (and I'm not a developer, just > lurking). I imagine there's something subtle wrong with my setup that is hard to see. > Regarding your MIDI troubles, surely if there's an alsa driver for > your soundcard (you're attaching a keyboard to the joystick/MIDI port, > right?), then your device will show up on the alsa sequencer (aconnect > -li), and you can connect it to a virmidi port hosting a csound > synth. Or am I missing something? Yes, you are! I haven't had any issues with virmidi until Csound5. Aside from not being able to compile Csound with portmidi support (I guess I'll try a pre-compiled binary next), using the ALSA drivers (both midi and audio) without the port* layers didn't work. My setup is this: I use alsa's virmidi module to patch whatever softsynths, sequencers, etc. to each other and I use a straight 'cat /dev/ttyS0 > /dev/snd/midiC1D0' etc. to commuunicate from my digital piano. it's low tech, but elegant, and it *always* works....until now that is! Csound4 played nice, and allowed an arbitrary port input like /dev/ttyS0. I set the baud rate and propeties myself (for instance "38400 -echo") with 'stty'..... I don't see the need for a driver other than virmidi, or even a MIDI hardware interface, as I have an old serial to midi-module cable! -Aaron. > Jonathan. > > Aaron Krister Johnson writes: > > 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 > > 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 > 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