Dave Briccetti on YouTube demonstrates a tilt controlled music player. Coded in CircuitPython, it runs on an Adafruit Circuit Playground Express board.
I demonstrate and explain the code of a CircuitPython project where you tilt a Circuit Playground Express to play arpeggios in a circle of fourths. Y-axis tilt chooses the note. Buttons A and B advance forward and backward through the circle. The switch selects the type of arpeggio, either dominant seventh or blues.
The code is available here https://github.com/dcbriccetti/Adafruit_CircuitPython_CircuitPlayground/blob/tilt-instrument/examples/advanced_examples/circuitplayground_tilting_arpeggios.py
No comments:
Post a Comment