Shop OBEX P1 Docs P2 Docs Learn Events
MIDI — Parallax Forums

MIDI

ArchiverArchiver Posts: 46,084
edited 2002-04-19 03:19 in General Discussion
Hi, i want to build a MIDI controller pedal that allows to change
presets from my Digitech RP2000 guitar effects pedal, anybody can help
me?

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-04-18 15:44
    Dear Earl,

    Thanks for the response. My message was a little short
    in background info. I tinker with stuff but know
    precious little about these sorts of things.

    What I'm trying to do is to build a midi controller
    built around a series of resistors. +5 volts at one end
    deviding the octaves in 1/12 increments by the resistors,
    with two octaves total. So at the lowest end +3 volts
    and at the top +5.

    The volt per octave synthesizers like Moog work this way.
    So in essence I'm converting control voltage in the 3 to
    5 volt range divided into 1/12 segments into midi note
    on/off messages.

    > Well, it depends on how fast (how many times a second) you need it to go.
    >
    > 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=5JYyFSQ6DPmx4ba_QXcUqEy5kyl4cVurk1Qx5tc_BBL55Vahgxk6Q6KjKwHAGaXibbKa6coamiA]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/
    >
    >
    >
    >
    >
    > 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/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-04-19 03:19
    Some simple LM311 or 339 comparators would work, one comparator for each
    octave you want. Then feed the outputs into the Stamp I/O pins. But you may
    run out of I/O pins on the Stamp.
    A better way is to use the Dallas DS2480 quad ADC chips and run as many as
    you need to get all the octaves your after. You can run all of them off of
    the 1 wire databuss.
    Once you get your voltage levels you can then output the data via a midi
    interface to whatever you want.
    The ADC's are 16 bit devices so you can take 0 to +5 volts and have 65525
    separate steps or increments from 0 to +5 volts. It should give you
    sufficient resolution.

    Original Message
    From: guess@a... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=FcesuVlDa7nWJpDgvbcOIiBtLWUxokU9qn50w4j_UEuwaGz0GxqSfc1nLCBNcZFTTVTRyA]guess@a...[/url
    Sent: Thursday, April 18, 2002 9:44 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] midi


    Dear Earl,

    Thanks for the response. My message was a little short
    in background info. I tinker with stuff but know
    precious little about these sorts of things.

    What I'm trying to do is to build a midi controller
    built around a series of resistors. +5 volts at one end
    deviding the octaves in 1/12 increments by the resistors,
    with two octaves total. So at the lowest end +3 volts
    and at the top +5.

    The volt per octave synthesizers like Moog work this way.
    So in essence I'm converting control voltage in the 3 to
    5 volt range divided into 1/12 segments into midi note
    on/off messages.

    > Well, it depends on how fast (how many times a second) you need it to go.
    >
    > 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=FcesuVlDa7nWJpDgvbcOIiBtLWUxokU9qn50w4j_UEuwaGz0GxqSfc1nLCBNcZFTTVTRyA]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/
    >
    >
    >
    >
    >
    > 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/
    >
    >

    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/
Sign In or Register to comment.