{"id":23550026,"url":"https://github.com/edwardsharp/midi2cv","last_synced_at":"2025-05-15T14:34:14.261Z","repository":{"id":250747196,"uuid":"835351748","full_name":"edwardsharp/midi2cv","owner":"edwardsharp","description":"some modular hardware musingz","archived":false,"fork":false,"pushed_at":"2024-08-13T10:41:56.000Z","size":6436,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T11:45:26.284Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/edwardsharp.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}},"created_at":"2024-07-29T16:52:03.000Z","updated_at":"2024-08-13T10:42:00.000Z","dependencies_parsed_at":"2024-07-30T23:48:43.385Z","dependency_job_id":null,"html_url":"https://github.com/edwardsharp/midi2cv","commit_stats":null,"previous_names":["edwardsharp/midi2cv"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwardsharp%2Fmidi2cv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwardsharp%2Fmidi2cv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwardsharp%2Fmidi2cv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwardsharp%2Fmidi2cv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edwardsharp","download_url":"https://codeload.github.com/edwardsharp/midi2cv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254358943,"owners_count":22058018,"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":[],"created_at":"2024-12-26T10:12:41.958Z","updated_at":"2025-05-15T14:34:14.210Z","avatar_url":"https://github.com/edwardsharp.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MIDI2CV\n\njust some musing on a midi to cv (control voltage) converter for eurorack.\n\nthis is the code for the second revision. which uses usb midi!\n\nthere's 4 mcp4728 DACs that provide 16 channels of control voltages (0-5v). 8 of those are for notes, the other 8 are for note velocities, and the other 8 are gates (the gates and leds are controlled via a [74HC595 shift register](https://www.adafruit.com/product/450)). there's a usb midi interface which uses [adafruit's rp2040 with usb host board](https://learn.adafruit.com/assets/120411). the [EZ_USB_MIDI_HOST](https://github.com/rppicomidi/EZ_USB_MIDI_HOST/) handles usb midi and uses the [sekigon-gonnoc/Pico-PIO-USB](https://github.com/sekigon-gonnoc/Pico-PIO-USB) library (programmable input/output) as a [bit-bangin'](https://en.wikipedia.org/wiki/Bit_banging) software usb host controller.\n\n**IMPORTANT NOTE:** i ended up using v`0.5.3` of this library because the newest version (v`0.6.0` at the time of writing this) was very unstable [read more in this github issue](https://github.com/sekigon-gonnoc/Pico-PIO-USB/issues/122).\n\ni also ran into another dead end where my rp2040 would crash when sending i2c data to more than one mcp4728 DAC so i used another rp2040 (a [kb2040](https://learn.adafruit.com/assets/106984), that adafruit sent me as a freebie) to do the i2c communication with the DACs and use serial UART between the two rp2040s. :feelsgood:\n\n_so please note:_\n\n1. `midi2` is the arduino sketch for the [rp2040 with usb host](https://www.adafruit.com/product/5723)\n2. `2cv` is the arduino sketch for the [kb2040](https://www.adafruit.com/product/5302)\n\n![midi2cv prototype](midi2cv.png)\n\n---\n\nmade with 🖤 in NYC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedwardsharp%2Fmidi2cv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedwardsharp%2Fmidi2cv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedwardsharp%2Fmidi2cv/lists"}