Saturday, September 03, 2011

Teensyduino MIDI Clock Sync Updated with DIN 24 Sync Support

My Teensy-based Game Boy sync (more information here) has been updated with support for DIN sync 24. Additionally, the code has been cleaned up a little bit to make it slightly more readable.

- Pin 2 is the sync 24 pulse output, at 24 pulses per quarter note and with a duty cycle of 3 milliseconds (regardless of the BPM)
- Pin 3 is the sync 24 stop / start pin, which outputs 5V when playing and 0V when stopped

Source code is here (for those wanting to edit).
HEX file is here (for those wanting to upload to Teensy straight away).

9 comments:

Tom said...

loving the idea of this! but a question, is it possible to din sync between a gameboy and a commodore 64 with this? or is it only for syncing between a computer and din sync enabled kit? thanks!

Tom said...

does this mean the gameboy can now be synced with din sync equipment?

sonoCircuits said...

Great work!

I've just ordered a teensy board for the LSDJ/Sync24 and was wondering if it would be possible to adapt the code to have trigger pulses. I'd like to build a sync box with Nanoloop sync, DIN24 sync, and +5V rising/falling edge trigger pluses switchable for quarter notes, eighths and sixteenths...
So I'd just need three additional outputs with the according (4,8th,16th) pulses... the rest will be done with analog circuitry.
Would this be possible?? I have no experience with coding but I'm willing to learn.

Thanks for your help!

Unknown said...

When you say pin 2 and 3 are you referring to the link cable or the Teensyduino? I tried the original method you posted with this and the only way I could get LSDj to sync was is I started Ableton and LSDJ in midi or slave mode then changed out of the mode to master or something then back into midi or slave and it would start up. Does this update fix this problem?

Unknown said...

When you say pin 2 and 3 are you referring to the link cable or the Teensyduino? I tried the original method you posted with this and the only way I could get LSDj to sync was is I started Ableton and LSDJ in midi or slave mode then changed out of the mode to master or something then back into midi or slave and it would start up. Does this update fix this problem?

Unknown said...

When you say pin 2 and 3 are you referring to the link cable or the Teensyduino? I tried the original method you posted with this and the only way I could get LSDj to sync was is I started Ableton and LSDJ in midi or slave mode then changed out of the mode to master or something then back into midi or slave and it would start up. Does this update fix this problem?

Unknown said...

When you say pin 2 and 3 are you referring to the link cable or the Teensyduino? I tried the original method you posted with this and the only way I could get LSDj to sync was is I started Ableton and LSDJ in midi or slave mode then changed out of the mode to master or something then back into midi or slave and it would start up. Does this update fix this problem?

Unknown said...

When you say pin 2 and 3 are you referring to the link cable or the Teensyduino? I tried the original method you posted with this and the only way I could get LSDj to sync was is I started Ableton and LSDJ in midi or slave mode then changed out of the mode to master or something then back into midi or slave and it would start up. Does this update fix this problem?

Unknown said...

When you say pin 2 and 3 are you referring to the link cable or the Teensyduino? I tried the original method you posted with this and the only way I could get LSDj to sync was is I started Ableton and LSDJ in midi or slave mode then changed out of the mode to master or something then back into midi or slave and it would start up. Does this update fix this problem?