Author Topic: Sending a single MIDI sysex with a microcontroller  (Read 3553 times)

Taylor

  • Awesome!
  • ****
  • Posts: 4118
  • Total likes: 62
  • The clean energy source of the future.
Sending a single MIDI sysex with a microcontroller
« on: July 03, 2010, 10:15:26 PM »
I have just built a polyphonic MIDI synth using a computer soundcard as the brain (more info on that project later, it's really fun).

In order to access most of the sounds in this thing, I need to send a sysex message. But the whole reason I built this unit was to have a physical keyboard that's not part of my computer, so I need a hardware box that can send this one measly sysex message when I hit a button.

I happen to have a bunch of PIC 16f684s laying around, so if it would be possible to use that chip, that would be great.

What would I need to do to write a program that just sends this one message? Are there any code examples similar to this that I could dig through and adapt?

David

Re: Sending a single MIDI sysex with a microcontroller
« Reply #1 on: July 04, 2010, 10:32:51 AM »
There are reams and reams of stuff.  Thorsten Klose's "Floorboard" (although that was written for a 16f874) comes to mind.
Another example is an adaptation that Josh Harle made to bit-bang serial output of a MIDI note number at 4MHZ so he wouldn't have to use an external clock.  I think that used a 16F684.  The point of that is that it's a very short leap to formatting and sending SYSEX messages.


potul

Re: Sending a single MIDI sysex with a microcontroller
« Reply #3 on: July 05, 2010, 05:24:36 AM »
hi

Once you've tried a PIC with an integrated UART, it's a pain to go back to software UARTs...  I would recommend to use something like a 16f88 or a 16f628. I've recently programmed a MIDI controller that uses sysex to communicate with a PC, so I could help if needed.
But when stepping into programming the serial interface and consider all timing issues associated to it, I'm a noob...

Regards,

Potul

deadastronaut

Re: Sending a single MIDI sysex with a microcontroller
« Reply #4 on: July 05, 2010, 09:19:48 AM »
dont know if this helps...been looking at building midi drum kit with transducers...

rob.

http://highlyliquid.com/midi-controllers/


http://www.youtube.com/user/100roberthenry
https://deadastronaut.wixsite.com/effects

chasm reverb/tremshifter/faze filter/abductor II delay/timestream reverb/dreamtime delay/skinwalker hi gain dist/black triangle OD/ nano drums/space patrol fuzz//