swing_clock.ino
- Arduino IDE code. See https://www.pjrc.com/teensy/td_download.html for installation instructionspc_test.cpp
- mocking library to test the algorithms on PC. To compile:g++ -O2 pc_test.cpp -I. -o pc_test
. At the moment the script outputs 2 columns of numbers, corresponding to CLOCK1 and CLOCK2 values for every millisecondtxt_to_wav.py
- convertsa.txt
to a wav filestereo_output.wav
with 1000 Hz sample rate. It can be used with pc_test./pc_test > a.txt
[wait for some time] Ctrl-Cpython txt_to_wav.py
monkey_drummer_a_hats_plus.MID
- an example of a groove pattern, from Groove Monkee Funk Hip-Hop RNB MIDI. Buy it here: https://groovemonkee.com/products/funk-hip-hop-rb-midi-drum-loops I edited the file to remove any kind of polyphony from the midi filemonkey_midi.py
- converts monkey_drummer_a_hats_plus.MID to a pattern you can paste to the code. Read the script's comments to get how to prepare the fileswing_clock_no_classes.ino
- older version of the code for educational purporses
galchinsky / swing-clock Goto Github PK
View Code? Open in Web Editor NEWFirmware code for a teensy based music clocking device with swing capabilities