{"id":13768756,"url":"https://github.com/juniorheptachords/da-beat-sequencer","last_synced_at":"2025-05-10T23:31:48.688Z","repository":{"id":219189406,"uuid":"86208356","full_name":"juniorheptachords/da-beat-sequencer","owner":"juniorheptachords","description":"Easy to use Audio / Midi beat sequencer.","archived":false,"fork":false,"pushed_at":"2017-04-05T01:55:31.000Z","size":451,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-11-17T03:31:54.176Z","etag":null,"topics":["audio","clock","drum","drum-machine","html5","javascript","machine","midi","music","sequencer","step","web"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/juniorheptachords.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2017-03-26T04:50:22.000Z","updated_at":"2020-08-24T23:28:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"94f6f8c6-470f-48dc-aefa-d0305856b194","html_url":"https://github.com/juniorheptachords/da-beat-sequencer","commit_stats":null,"previous_names":["juniorheptachords/da-beat-sequencer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juniorheptachords%2Fda-beat-sequencer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juniorheptachords%2Fda-beat-sequencer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juniorheptachords%2Fda-beat-sequencer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juniorheptachords%2Fda-beat-sequencer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juniorheptachords","download_url":"https://codeload.github.com/juniorheptachords/da-beat-sequencer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253497297,"owners_count":21917683,"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":["audio","clock","drum","drum-machine","html5","javascript","machine","midi","music","sequencer","step","web"],"created_at":"2024-08-03T16:01:25.446Z","updated_at":"2025-05-10T23:31:47.064Z","avatar_url":"https://github.com/juniorheptachords.png","language":"JavaScript","funding_links":[],"categories":["MIDI instruments"],"sub_categories":["Sequencers \u0026 Trackers"],"readme":"# Da Beat Sequencer\nEasy to use Audio / Midi beat sequencer.\n\nStill a work in progress, tested in Chrome and Safari, planned to be working on all browsers.\n\n## How to use\nInclude the 2 files da-beat-sequecer.js and da-beat-sequencer.css and instantiate the sequencer like this:\n```javascript\nvar sequencer = new DaBeatSequencer();\n```\nFor examples see in the demo folder.\n\n## Properties\n\n### autoplay\nStart playing as soon as it is ready.  \n__Default: true__\n\n### showVisual\nCreate a visual representation of the sequencer.  \n__Default: true__\n\n### showControls\nCreate inputs to control the sequencer.  \n__Default: true__\n\n### samplesSet\nArray of audio samples urls for the audio mode.  \n__Default: empty array__\n\t\t\n### sendMidi\nSend midi notes to a midi port. Will active some inputs to configure Midi.  \n__Default: false__\n\n### playSound\nPlay the samples set in the sampleSet option.  \n__Default: true__\n\n\n### audioLatency\nWhen playSound true and sendMidi true to play sound and send midi together, there could be latency between the audio in the browser and in the synthesizer connected to the midi out. This parameter allow to set a latency on the audio in milliseconds.  \n__Default: 0__\n\t\t\t\n### midiLatency\nSame as audioLatency but for the midi.  \n__Default: 0__\t\n\n### bars\nNumber of bars in the sequence. Currently not used.  \n__Default: 1__\t\n\n\n### stepsInBar\nNumber of steps in each bar. Some work to do still.  \n__Default: 16__\t\n\n### bpm\nThe bpm obviously.  \n__Default: 110__\n\t\n### steps\n2D array representing the steps.  \n__Default:__\n```javascript\n[[1,1,0,1,0,0,1,1,0,1,1,0,0,0,0,0],\n[0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0],\n[1,0,1,1,1,0,1,0,1,0,1,0,1,0,1,1],\n[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0]]\n```\n\n### midiNotes\nArray of midi notes used when sending midi. The order in the array is related to the array of steps.  \n__Default:__\n```javascript\n [36, 38, 42, 43]\n```\n\n### midiClockMode\nSet the midi clock mode to sync the sequencer with other devices.  \n__Possible values: \"standalone\", \"master\", \"slave\"__  \n__Default: \"standalone\"__\n\n## To do\n- Make it work on all browser!\n- Still improve the midi clock sync\n- Allow more bars to be defined\n- Allow more flexibility on customization/override \n- Make some more css\n...","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuniorheptachords%2Fda-beat-sequencer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuniorheptachords%2Fda-beat-sequencer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuniorheptachords%2Fda-beat-sequencer/lists"}