[sdiy] midi clock to GATE (or trigger) converter with Arduino???
Sam Harmon
samuel.harmon at gmail.com
Thu Mar 1 15:00:03 CET 2012
On Mar 1, 2012, at 4:43 AM, Tom Wiltshire wrote:
>
> On 1 Mar 2012, at 04:24, dan snazelle wrote:
>
>>>
>>> The serial speed for MIDI is 31250 baud, which kind of sucks because it's not a standard terminal speed.
>>>
>>>
>>
>>
>> if its not a standard terminal speed then how do i get the terminal to lock to it?
>>
>> thanks!
>
>
> I don't think 31250 baud is such a pain - it's 1MHz divided by 32, which is a convenient number. Just use a crystal which is a whole number of MHz for your system clock.
The problem on Arduino is that the Serial Console in the IDE doesn't support 31250- makes debugging a real pain. It's apparently an issue with the Java serial library that the IDE uses.
I usually end up doing #ifdef DEBUG blocks around the serial stuff and set it to 38400 if I'm debugging and need to see what's happening. Of course, if you're debugging input, you'll need an output that sends to it at 38400 as well...
Sam
More information about the Synth-diy
mailing list