On Saturday 31 January 2004 12:27, Cilantro wrote: >I've been unable to get my Yamaha P-80 electric piano hooked up to > my Dell laptop (Inspiron 8000 running RH9). I'm trying to use the > serial port; my sound card has no MIDI port. With both OSS and > ALSA, I can play MIDI files to the piano just fine, but can't go > the other way; I'd like to be able to record what I play. Works > out of the box on my spouse's Windows laptop... > >Here's the relevant part of my /etc/modules.conf: >================================================== ># ALSA native devices >alias char-major-116 snd >options snd cards_limit=2 >alias snd-card-0 snd-maestro3 >alias snd-card-1 snd-serial-u16550 >pre-install snd-serial-u16550 /bin/setserial /dev/ttyS0 uart none >options snd-serial-u16550 port=0x3f8 >================================================== >Here's sample output from aconnect -iol >================================================== >client 0: 'System' [type=kernel] > 0 'Timer ' > 1 'Announce ' >client 72: 'External MIDI 1' [type=kernel] > 0 'MIDI 1-0 ' > Connecting To: 128:0 >client 128: 'ALSA Midi recorder' [type=user] > 0 'ALSA Midi recorder' > Connected From: 72:0 >================================================== >This is the configuration I'd like to use, with Tuomas Airaksinen's >midirecord rather than a synthesizer; no luck. I have no trouble > going the other way, either directly (pmidi -p 72:0 file.mid) or > indirectly (I can make music on the piano using vkeybd and > aconnect). I don't think the problem is with midirecord, since > vkeybd successfully connects to it. But I've also tried other > programs (Jazz, Rosegarden, TiMidity) without success, although > some of that may be due to compilation problems -- still working on > it. I would wonder whether it's a setting on the keyboard itself, > except I have no problem connecting to Jazz on a Windows machine > (using a driver provided by Yamaha), and I'm pretty sure I used to > get some delayed output with TiMidity under ALSA 0.5, although I no > longer have ready access to that version. > >Am I missing something obvious? > >Thanks!
Probably the biggest problem is that a seriel port and a midi port are enough different electrically that even if you coax the seriel port into running at the non-standard for seriel work speed of 31,250 kilobaud, the seriel port is a bi-polar voltage device whereas the midi port is a uni-lateral current mode, and input opto-isolated, device. In short, I've driven midi stuff from a seriel port and it worked pretty good, but without some sort of an opto-isolated bit of hardware to adapt the electricals, I've never managed to receive a single byte of midi on my systems. Its possible that some sort of an adaptor might be available today at the music instrument peddlers emporiums but I haven't looked in 20 years now. At the time I had to make my own. The last time they looked at me as if I was a LGM from mars, the language I was describing the device to them in went several stories over their little bitty heads. I was using the language of a Certified Electronics Technician, which I am, but not much fancier than what I wrote above. With electronics now so much a part of the music business, this may have changed by now. I certainly hope so. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) 99.22% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attornies please note, additions to this message by Gene Heskett are: Copyright 2004 by Maurice Eugene Heskett, all rights reserved. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user