{"id":21714815,"url":"https://github.com/redraw/euclid-16","last_synced_at":"2025-06-21T08:36:18.799Z","repository":{"id":61771193,"uuid":"544720876","full_name":"redraw/euclid-16","owner":"redraw","description":"raspberry pi pico 16-step euclidean sequencer drum machine","archived":false,"fork":false,"pushed_at":"2025-06-13T05:09:42.000Z","size":379,"stargazers_count":23,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-13T05:27:32.725Z","etag":null,"topics":["dr-55","drum-machine","minipops","raspberry-pi-pico"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redraw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-10-03T05:24:44.000Z","updated_at":"2025-06-13T05:09:28.000Z","dependencies_parsed_at":"2025-04-12T19:14:13.213Z","dependency_job_id":"fc026170-fe0c-4832-87ee-7a07b2b46341","html_url":"https://github.com/redraw/euclid-16","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/redraw/euclid-16","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Feuclid-16","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Feuclid-16/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Feuclid-16/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Feuclid-16/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redraw","download_url":"https://codeload.github.com/redraw/euclid-16/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redraw%2Feuclid-16/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261094797,"owners_count":23108755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dr-55","drum-machine","minipops","raspberry-pi-pico"],"created_at":"2024-11-26T00:38:57.079Z","updated_at":"2025-06-21T08:36:13.782Z","avatar_url":"https://github.com/redraw.png","language":"Python","funding_links":[],"categories":["Prolog"],"sub_categories":[],"readme":"# euclid-16\n\nThis is a prototype of a sequencer made in a Raspberry Pi Pico. Particulary, an euclidean sequencer, whose steps can be added/removed uniformely in the grid by rotating the encoder.\n\n\nhttps://user-images.githubusercontent.com/10843208/217061688-98ad8c04-bbb4-4034-a97a-8226e16e5d99.mp4\n\n\nFor the moment, features are:\n- 4 voices\n- 16 steps\n- Audio output through PWM (optionally I2S)\n- MIDI USB note output\n- Clock input 5V trigger pulse (ie. used by Korg Volca, etc)\n- 16 led using 2 shift registers 74hc595, or NeoPixel display\n- Event-based system to hook into seq/UI events, see _code.py_\n- Save up to 16 sequences\n\n## Usage\nIf encoder is rotated without holding any button, it changes TEMPO.\n\nButton presses select voices, however if a button a holded and encoder is rotated, they have different actions.\n- btn #1: add/remove HITS\n- btn #2: add/remove OFFSET\n- btn #3: add/remove STEPS\n- btn #4: schedule sequence 1-16\n  - if encoder button is pressed when btn is held, sequence is saved.\n\nA single encoder press, PLAY/STOP sequence.\n- btn #1 + #2: clear pattern\n- btn #2 + #3: random pattern\n\n## TODO\n- Porting to Arduino C. Despite CircuitPython is great to play around, it doesn't provide hardware timer interrupts, which is critical to keep tempo consistent. Maybe worth trying plain MicroPython, but C surely is a better idea.\n- Add more voices\n- Sync out\n- MIDI sync in\n- Improve RC filter on audio PWM pin (currently, just a 4.7k + 1uF cap)\n\n![](https://www.ontrak.net/Pwm1.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredraw%2Feuclid-16","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredraw%2Feuclid-16","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredraw%2Feuclid-16/lists"}