midi note info from a Parallax Basic Stamp 2
Archiver
Posts: 46,084
Dear Group,
My desperate need for a control voltage to midi note on/off converter
has brought me to this forum.
What I need is a means for converting +1 - +5 volts into midi note
on/off messages via a single source switch.
Can this be done with this device?
Thanks in advance,
Bill Guess
Baton Rouge, La
guess@a...
My desperate need for a control voltage to midi note on/off converter
has brought me to this forum.
What I need is a means for converting +1 - +5 volts into midi note
on/off messages via a single source switch.
Can this be done with this device?
Thanks in advance,
Bill Guess
Baton Rouge, La
guess@a...
Comments
You could use a Dallas Semiconductor Analog to Digital Converter chip such
as the DS2480s.
Reference www.maxim-ic.com and go to their 1 wire section. The ADC maybe is
overkill, but fairly easy to use and only uses one I/O pin on the Stamp.
The Stamp MCU would use the ADC to read the voltage level to get a value
reference to it.
Then the Stamp can convert it into a value that could be outputted to
something. I forget
what midi would want at the moment.
But if you are only looking for two different voltages, you could use a
LM311 or 339 comparator to convert the level into 1's and 0's for the Stamp
chip. A resistor network might work as well too.
If it has to do this thousands of times a second, you'll have to use a fast
ADC and a MCU that you program in it's machine language to perform the input
conversion to output conversion.
If it's even faster, you'd have to use a DSP (Digital signal processor)
designed for the high speed.
Original Message
From: jacksonknobs [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=ASNek5vvhTpUe5o7drGOXK6PNjx0Hf5zIJinmyBBIOTIFJahCpxTHwY2dmZoD2OGaUNG]guess@a...[/url
Sent: Wednesday, April 17, 2002 11:23 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] midi note info from a Parallax Basic Stamp 2
Dear Group,
My desperate need for a control voltage to midi note on/off converter
has brought me to this forum.
What I need is a means for converting +1 - +5 volts into midi note
on/off messages via a single source switch.
Can this be done with this device?
Thanks in advance,
Bill Guess
Baton Rouge, La
guess@a...
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/