{"id":29253705,"url":"https://github.com/pd3v/zeroone","last_synced_at":"2025-07-04T02:07:56.041Z","repository":{"id":74471233,"uuid":"194266037","full_name":"pd3v/zeroone","owner":"pd3v","description":"Language (prettified API) + headless MIDI sequencer for live coding music","archived":false,"fork":false,"pushed_at":"2023-08-18T14:38:05.000Z","size":317,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-06-01T16:20:34.096Z","etag":null,"topics":["c-plus-plus","live-coding","midi","music","sound"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pd3v.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2019-06-28T11:56:10.000Z","updated_at":"2025-05-25T05:02:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"f63d8061-9e2d-4f15-b813-858a5df41cec","html_url":"https://github.com/pd3v/zeroone","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/pd3v/zeroone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pd3v%2Fzeroone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pd3v%2Fzeroone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pd3v%2Fzeroone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pd3v%2Fzeroone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pd3v","download_url":"https://codeload.github.com/pd3v/zeroone/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pd3v%2Fzeroone/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263432374,"owners_count":23465577,"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":["c-plus-plus","live-coding","midi","music","sound"],"created_at":"2025-07-04T02:07:55.057Z","updated_at":"2025-07-04T02:07:55.992Z","avatar_url":"https://github.com/pd3v.png","language":"C++","readme":"# zeroOne \n\n__zeroOne__ is a polyphonic instrument, multi-instrument, DSLish/API MIDI sequencer for live coding music. It sends MIDI messages to any stand-alone synthesiser or DAW. \n##### To some videos live coding with it [go here](https://twitter.com/search?q=%2301livecoding\u0026src=hashtag_click\u0026f=live).(twttr)\n\n![livecoding_screenshot](https://github.com/pd3v/wide/blob/develop/livecoding_screenshot.png)\n\n### Dependencies\n\n[RtMidi](http://www.music.mcgill.ca/~gary/rtmidi/) library\n\n### Live coding\n\n[__cling__](https://github.com/root-project/cling.git) (an interative C++ interpreter) is for the live coding enverionment.\n\n#### 1. Install cling\n\n##### On Mac and Linux using Homebrew\n1. open your command line software\n2. type `brew install cling`\n\n#### 2. Or download cling\nAlternatively, you can download the right build for your machine:[__cling builds for Linux and MacOS__](https://root.cern.ch/download/cling/)\n\n*Or you still can compile/link __zeroOne__ as any other c++ library and code with it as so.*\n\t\n### How to use it\n1. open your synth ready to listen MIDI messages\n2. open your command line software\n3. run ./build.sh\n4. at cling's prompt load **zeroone** by entering the following lines:\n\t\n\t[cling]$ .L zeroone\n\t\n\t[cling]$ #include \"../src/zoengine.h\"\n\t\n\t[cling]$ zeroone()\n\t\n5. after message \"zEROoNE on \u003c((()))\u003e\" appears, copy/paste the code below:\n\t\nInstrument 1 sends \"C Major\" chord notes to midi channel 1, 0.9 amplitude and 1/4 duration.\n\n```\ni1.play(n(\n\t({36,40,43}),\n\t0.9,\n\t{4},\n)) \n```\n\nand/or\n\nInstrument 2 sends cycling c4,cs4 and d4 notes to midi channel 2, 0.5 amplitude, 1/4, 1/8, 1/4, 1/8, 1/4  duration sequence.\n\n```\ni2.play(n(\n\t{cycle({48,49,50},isync(2))},\n\t0.5,\n\t({4,8,4,8,4})\n)) \n```\n\nand/or\n\nInstrument 3 sends cycling pentatonic minor scale notes to midi channel 3 and modulates cc channel 1 and 2.\n\n```\ni3.play(n(\n\t{cycle(\n\t\tscale_::transpose(scale_::pentatonicminor,5),\n\t\tisync(3))\n\t},\n\t0.9,\n\t({4,8,4,8,4})),\n\tcc(1,rnd(chop(10))),\n\tcc(2,bounce(0,127))\n) \n```\n\n## Make some noise!\n","funding_links":[],"categories":["Languages"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpd3v%2Fzeroone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpd3v%2Fzeroone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpd3v%2Fzeroone/lists"}