{"id":13661386,"url":"https://github.com/jstrait/beats","last_synced_at":"2025-04-06T09:09:23.399Z","repository":{"id":682576,"uuid":"326423","full_name":"jstrait/beats","owner":"jstrait","description":"A command-line drum machine. Convert a beat notated in YAML into a *.wav file.","archived":false,"fork":false,"pushed_at":"2020-12-31T22:46:08.000Z","size":29756,"stargazers_count":430,"open_issues_count":4,"forks_count":27,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-30T08:09:26.869Z","etag":null,"topics":["audio","cli","command-line","drum","drum-machine","music","ruby","sound"],"latest_commit_sha":null,"homepage":"https://beatsdrummachine.com","language":"Ruby","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/jstrait.png","metadata":{"files":{"readme":"README.markdown","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}},"created_at":"2009-10-04T17:46:35.000Z","updated_at":"2025-03-15T23:06:53.000Z","dependencies_parsed_at":"2022-07-05T09:33:19.415Z","dependency_job_id":null,"html_url":"https://github.com/jstrait/beats","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstrait%2Fbeats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstrait%2Fbeats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstrait%2Fbeats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstrait%2Fbeats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jstrait","download_url":"https://codeload.github.com/jstrait/beats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457803,"owners_count":20941906,"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","cli","command-line","drum","drum-machine","music","ruby","sound"],"created_at":"2024-08-02T05:01:33.769Z","updated_at":"2025-04-06T09:09:23.374Z","avatar_url":"https://github.com/jstrait.png","language":"Ruby","readme":"Beats Drum Machine\n------------------\n\nBeats is a command-line drum machine written in pure Ruby. Feed it a song notated in YAML, and it will produce a precision-milled *.wav file of impeccable timing and feel. Here's an example song:\n\n    Song:\n      Tempo: 105\n      Flow:\n        - Verse:  x4\n        - Chorus: x4\n      Kit:\n        - bass:     house_2_1.wav\n        - snare:    roland_tr_909_2.wav\n        - hihat:    house_2_5.wav\n        - cowbell:  big_beat_5.wav\n        - deep:     house_2_2.wav\n\n    Verse:\n      - bass:     X..X...X..X.....\n      - snare:    ....X.......X...\n      - hihat:    ..X...X...X...X.\n\n    Chorus:\n      - bass:     X..X...X..X.....\n      - snare:    ....X.......X...\n      - hihat:    XXXXXXXXXXXXX...\n      - cowbell:  ....XX.X..X.X...\n      - deep:     .............X..\n\nAnd [here's what it sounds like](https://beatsdrummachine.com/media/beat.mp3) after getting the Beats treatment. What a glorious groove!\n\nFor more, check out [beatsdrummachine.com](https://beatsdrummachine.com)\n\n\nInstallation\n------------\n\nTo install the latest stable version (2.1.2) from [rubygems.org](https://rubygems.org/gems/beats), run the following from the command line:\n\n    gem install beats\n\nNote: if you're installing using the default version of Ruby that comes with macOS, you might get a file permission error. If that happens, use `sudo gem install beats` instead. If you're using a version manager such as rbenv, chruby, or RVM, plain `gem install beats` should work fine.\n\nOnce installed, you can then run Beats from the command-line using the `beats` command.\n\nBeats is not very useful unless you have some sounds to use with it. You can download some example sounds from [https://beatsdrummachine.com](https://beatsdrummachine.com/download#drum-kits).\n\n\nUsage\n-----\n\nBeats runs from the command-line. Run `beats -h` to see the available options. For more detailed instructions, visit \u003chttps://beatsdrummachine.com/usage/\u003e.\n\nCheck out [this tutorial at beatsdrummachine.com](https://beatsdrummachine.com/tutorial/) to see an example of how to create a beat from scratch.\n\n\nWhat's New in v2.1.2\n--------------------\n\nThe latest version of Beats is 2.1.2, released on December 18, 2019. It contains these changes:\n\n* Several confusing/unhelpful errors shown due to an error in an input file have been improved. For example, if a pattern has the invalid name \"4\", the error message will now be `Pattern name '4' is not valid. It must be a value that will be parsed from YAML as a String.`, instead of `undefined method 'downcase' for 4:Integer`.\n\nFor info about previous releases, visit https://github.com/jstrait/beats/releases.\n\n\nLocal Development\n-----------------\n\nFirst, install the required dependencies:\n\n    bundle install\n\nTo run Beats locally, use `bundle exec` and run `bin/beats`, to avoid using any installed gem executable. For example:\n\n    bundle exec bin/beats -v\n\nTo run the tests:\n\n    bundle exec rake test\n\n\n\nFound a Bug? Have a Suggestion? Want to Contribute?\n---------------------------------------------------\n\nContact me (Joel Strait) by opening a GitHub issue.\n\n\nLicense\n-------\nBeats Drum Machine is released under the MIT license.\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstrait%2Fbeats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjstrait%2Fbeats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstrait%2Fbeats/lists"}