plaidpants / Adafruit_UNTZtrument

Modified step sequencer demo to provide more functionality
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

External Midi Sync? #1

Open thopa opened 5 years ago

thopa commented 5 years ago

Hi! Thanks a lot for sharing your project. I have built the Untz exactly with your diagrams and code. Great work! Im struggling to make your sequencer slave to external midi clock. Im using arduino leonardo, both normal board or teensduino for midi implementation. Would be great if your sequencer could be synced to external clock. Any help would be very much appreciated. Many thanks!

plaidpants commented 5 years ago

Do you want the Untz to generate the clock or be a slave to the clock. It would probably be easier for the Untz to generate the clock signals as it would just need to generate the additional MIDI messages based on it's internal clock. To have the Untz be a slave to an external clock it would need to process MIDI messages and adjust the internal timing to match. I will take a look when I have some time and see what could be done.

thopa commented 5 years ago

Hi! Thanks for your answer and detailed information It would be great if i could use it alongside the rest of my equipment, so that would mean being able to slave the untz to incoming midi clock. I have tried using the USBMIDI library to make the UNTZ listen to incoming midi messages and clock from usb, but im finding it hard to actually tell the sketch what to do with the detected bpm. So i have the untz reading, start, stop, continue and clokc messages. Its a matter of implementing this reading in the code so it can be midi slaved. Looking forward to your updates! Cheers