Shop OBEX P1 Docs P2 Docs Learn Events
Best Microcontroller for reading MIDI in — Parallax Forums

Best Microcontroller for reading MIDI in

Robert_WeaverRobert_Weaver Posts: 1
edited 2008-12-08 16:34 in General Discussion
I have a new project I want to try that requires reading a MIDI stream. BS2 controllers·don't seem to be·a good fit. I have done a few projects with the BS2 controllers (BOEBOT and others) and I am comfortable with PBASIC. I have narrowed·down the selection for this project to either an SX or Javelin controller. I would prefer to stay with Basic or C as I have never gotten very far with Java, so my first inclination would be to use·the SX.

Do you have any pros/cons for either the SX or Javelin to read a MIDI in stream? If you have used either the SX or Javelin to read a MIDI stream then I would be interested to know if there were any hidden gotchas.

Thanks.

Comments

  • ZootZoot Posts: 2,227
    edited 2008-12-08 13:53
    Here's code for the SX for MIDI:

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

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST

    1uffakind.com/robots/povBitMapBuilder.php
    1uffakind.com/robots/resistorLadder.php
  • steve_bsteve_b Posts: 1,563
    edited 2008-12-08 13:55
    There's a fella on here that's done a lot of work (or a bunch of work) with MIDI and the SX.
    Go take a stroll through the Nuts/Volts articles posted on Parallax's website (here's one article: www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol6/col/nv122.pdf ).

    I've gotten a basic circuit to read in the data, but didn't have the time to confirm what I was seeing (they were HEX characters....wasn't sure if they were correct MIDI status/commands).

    I 'THINK' someone has done something with the Propellor (not sure) which would be a nice way to go! Have 1 cog do your midi reading/writing, and use other cogs to change lights or what have you!!

    Cheers
    (post how you make out!)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <FONT>Steve



    What's the best thing to do in a lightning storm? "take a one iron out the bag and hold it straight up above your head, even God cant hit a one iron!"
    Lee Travino after the second time being hit by lightning!
  • LeonLeon Posts: 7,620
    edited 2008-12-08 16:34
    Any MCU with a UART (hardware or software) will be suitable for MIDI. Something like PIC or AVR with a hardware UART would be easiest. Free C compilers are available.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
Sign In or Register to comment.