PDA

View Full Version : mid input BS2?



fengland
05-26-2005, 11:40 PM
·Hi.· I have been working on some MIDI projects using the basic stamp.· I know people have successfully recieved MIDI Input on a bs2sx with a uart chip.· Is it possible to recieve MIDI information on a plain old BS2·with a uart chip?

Forrest

Jon Williams
05-26-2005, 11:51 PM
You probably could, depending on the traffic.· The trick is buffering the data and processing it efficiently.· I did an SX/B project that receives and buffers MIDI data is a software UART, with a very straightforward foreground processing program.· You can find that project here:

http://forums.parallax.com/showthread.php?p=533525

Since it's written in SX/B, it should be pretty easy to convert to PBASIC.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax

Ryan Clarke
05-28-2005, 01:47 AM
Jon has a great article in the June 2005 Nuts & Volts: "Even Mo' MIDI" - you might want to give it a read...

Ryan