{"id":18053825,"url":"https://github.com/danielstern/volca-beats","last_synced_at":"2025-04-05T08:21:42.855Z","repository":{"id":69958878,"uuid":"149948955","full_name":"danielstern/volca-beats","owner":"danielstern","description":"node.js driver for korg VOLCA BEATS vintage analogue synthesizer","archived":false,"fork":false,"pushed_at":"2018-09-23T04:55:42.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T15:50:55.760Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/danielstern.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":"2018-09-23T04:51:28.000Z","updated_at":"2021-04-02T20:41:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"55c971ba-4417-47dd-9cca-47e513bf4695","html_url":"https://github.com/danielstern/volca-beats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielstern%2Fvolca-beats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielstern%2Fvolca-beats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielstern%2Fvolca-beats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielstern%2Fvolca-beats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielstern","download_url":"https://codeload.github.com/danielstern/volca-beats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247307328,"owners_count":20917448,"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-10-31T00:08:12.529Z","updated_at":"2025-04-05T08:21:42.832Z","avatar_url":"https://github.com/danielstern.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# volca-beats\n\n## node.js driver for korg VOLCA BEATS vintage analogue synthesizer\n\n### Installation\n```\nnpm install volca-beats\n```\n\n### Usage\nExamples must be compiled using `babel` or another compiler and run in the browser, as `volca-beats uses the `web midi` api. You can still use the note codes and parameter codes available if you want to create a node-based library. See this package for an example.\n\n#### Quick Start Example\n```javascript\nimport { transmit, Message, Note } from 'volca-beats';\ntransmit(Message.NOTE_ON(Note.KICK), window.performance.now() + 1000);\n/* kick drum will sound in one second */\n```\n\n#### Sequence With JavaScript, then Playback with VOLCA BEATS\n```javascript\nlet time = window.performance.now();\nfor (let i = 0x00; i \u003c 0x7F; i++) {\n    let fn = n=\u003en\u003e\u003e(i%0x20)\u00261;\n    if (fn(0x51111141)) transmit(Message.NOTE_ON(Note.KICK),time + i * 0x40);\n    if (fn(0x60105010)) transmit(Message.NOTE_ON(Note.SNARE),time + i * 0x40);\n    if (fn(0xf5555555)) transmit(Message.NOTE_ON(Note.CL_HAT),time + i * 0x40);\n}\n/* plays back a catchy drum beat */\n```\n\n### Reference\n#### Note\nA dictionary containing references to the hexadecimal codes to sound each note.\n\n```javascript\nimport { transmit, Message, Note } from 'volca-beats';\ntransmit(Message.NOTE_ON(Note.SNARE));\n```\n\n#### ParameterCode\nA dictionary containing references to each parameter code recognized by VOLCA BEATS.\n\n```javascript\nimport { ParameterCode } from 'volca-beats';\ntransmit(Message.PARAMETER_CHANGE(ParameterCode.HAT_GRAIN, 0xD0));\ntransmit(Message.NOTE_ON(Note.OP_HAT));\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielstern%2Fvolca-beats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielstern%2Fvolca-beats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielstern%2Fvolca-beats/lists"}