[dorkbotpdx-blabber] MIDI input ridiculousness

6 views
Skip to first unread message

Justin May

unread,
Oct 1, 2009, 10:08:35 PM10/1/09
to A discussion list for dorkbot-pdx (portland, or)
For a couple years now I've been tinkering with the idea of building my own synth. I have yet to get past the MIDI input stage for this reason: the MIDI coming out of my computer's interface (SB Live MPU dealy) works fine, but inptu coming form my drum machine or midi controller continuously sends erroneous data, consisting of mostly 1's with a couple 0's here and there.

This problem has cropped up in every incarnation of my project. I started with a BasicX chip (slow piece of crap) hooked to an SPI UART (the Max3100 with a 4Mhz crystal) and this same behavior was observed. I then moved on to the Arduino (a Dorkboard). I used the same Max3100 SPI UART and got the same thing. So now I'm using the onboard serial port on the Arduino and am still getting this same behaviour. My computer's MIDI port works great, but my midi controller and drum machine just end up sending a bunch of garbage.

I've also used 3 different kinds of 6N138 opto-isolators and nothing changed (used this circuit: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1159290285/4). I then switched to a PC900 opto-isolator and am still getting the same rubbish. I am using the same circuits that a lot of other people on the net are using without problem, but for some reason I continuously get the same problem. I've even moved my circuit to a different bread board to no avail.

Has anyone successfully gotten MIDI input working with several different devices? Am I falling into some common trap that nobody on the Internet talks about? Any guidence on this issue would be much appreciated.

Thanks,
Justin

Jared Arave

unread,
Oct 3, 2009, 7:37:04 PM10/3/09
to A discussion list for dorkbot-pdx (portland, or)
The first thing that came to mind was that perhaps your drum machine's sending sync info, and your DAW isn't. Also, I don't know what your code looks like, but I've had really good luck with this MIDI library; plays nice with all my MIDI devices.

_______________________________________________
dorkbotpdx-blabber mailing list
dorkbotpd...@dorkbot.org
http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber

Justin May

unread,
Oct 15, 2009, 11:11:24 AM10/15/09
to A discussion list for dorkbot-pdx (portland, or)
That actually makes a lot of sense, thanks you so much. I put down the MIDI input stuff for a while and I've been working on the sound generation portion of my project. I'll try just ignoring spurious bits and see how that works out.

Justin May

unread,
Dec 14, 2009, 5:24:48 PM12/14/09
to A discussion list for dorkbot-pdx (portland, or)
Okay just wanted to say I've finally solved this issue. It turns out  both the MIDI controllers I was testing my circuit on send out Active-sensing MIDI messages (0xfe) which is essentially a message saying "Hey, I'm still here." So my circuit has actually worked fine for quite a while now. 
Reply all
Reply to author
Forward
0 new messages