The sound card (at least the original Sound Blasters) is all at cmos or TTL level (basically 5 volt around 1mA signals). To get real midi signals into/out of the sound card requires a midi adaptor that just converts the output up to 5 volt, 20mA current loop (with a 220 ohm resistor on both wires of the loop) and a fast opto coupler on the input (with yet another 220 ohm resistor in series). So, yes, you can take a TTL level signal directly out of the sound card pin. But it will probably be an inverted signal - expecting to be re-inverted in the midi adaptor. Also the midi data rate is fairly fast and a bit crazy (non divisible by 2). Good luck. Bye. -----Original Message----- From: Michael Waits [SMTP:cpmikey21@YAHOO.COM] Sent: Wednesday, 16 August 2000 5:32 To: PICLIST@MITVMA.MIT.EDU Subject: [PIC]: MIDI input and audible output Hello, I am fairly new to the world ofmicrocontrollers, and I was wondering if anyone had ever thought about converting the MIDI code which comes from the sound card on some pc's to something which may be heard. Which is what I am trying right now. I want to have the pic play monophonically, so I need only worry about one note at a time. I am trying to only have one output bit, which is a square wave set to the frequency of the note. Setting the volume of the note can be done later, butnow I am stuck, because I don't know if the pin on the sound card can be connected directly to the uart onthe PIC. If anyone can shed some light on my problem,it would be greatly appreciated. Thank you in advance Michael Waits __________________________________________________ Do You Yahoo!? Yahoo! Mail Free email you can access from anywhere! http://mail.yahoo.com/ -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics