{"id":17272615,"url":"https://github.com/rubyist/tdrum","last_synced_at":"2025-03-26T12:45:24.373Z","repository":{"id":66257277,"uuid":"39355157","full_name":"rubyist/tdrum","owner":"rubyist","description":"A toy drum sequencer for the go challenge","archived":false,"fork":false,"pushed_at":"2015-07-20T00:45:32.000Z","size":1880,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T14:22:00.260Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/rubyist.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}},"created_at":"2015-07-20T00:45:22.000Z","updated_at":"2022-03-08T05:46:49.000Z","dependencies_parsed_at":"2023-02-20T02:45:41.796Z","dependency_job_id":null,"html_url":"https://github.com/rubyist/tdrum","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/rubyist%2Ftdrum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyist%2Ftdrum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyist%2Ftdrum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyist%2Ftdrum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubyist","download_url":"https://codeload.github.com/rubyist/tdrum/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245658982,"owners_count":20651520,"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-15T08:49:03.023Z","updated_at":"2025-03-26T12:45:24.347Z","avatar_url":"https://github.com/rubyist.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Go Challenge #1\n\nThis is a toy drum sequencer submitted for the first Go Challenge.\n\n## Challenge Goal\n\nThe challenge goal is to write a decoder for the drum pattern files\nin the fixtures directory and get the tests to pass. This is the code\nin decoder.go.\n\n## Extras\n\nThe encoder.go file contains an encoder to generate pattern files\nfrom a Pattern structure.\n\nThe player directory contains a program that uses libsndfile and portaudio\nto play pattern files using samples in wav format. It's a little rough around\nthe edges because I had it in my head this was due on March 14, so there's\na little more work that can be done!\n\nThe player can be built with `go build`, though it is expecting to find the\ndrum package under my path.\n\nThe player expects to find wav files in a directory passed through the -d option.\nIt expects the wave files to be named \"x.wav\" where x is the track.Name. I've\nincluded some test patterns and samples. The samples are licensed under creative\ncommons, found on ccmixter[1] (you can omit these from the GitHub repository).\n\nAn example run from the player directory:\n\n`$ ./player -d sounds/ test.splice test2.splice`\n\nThis will sequence and loop test.splice then test2.splice forever.\n\nThis challenge was a lot of fun. While I have done some reverse engineering\nof binary formats before, I've never really done any kind of audio programming.\nI look forward to the future challenges!\n\n[1] http://ccmixter.org/files/CarbonMonoxideMusic/23425\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyist%2Ftdrum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyist%2Ftdrum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyist%2Ftdrum/lists"}