{"id":19948333,"url":"https://github.com/bspaans/bleep","last_synced_at":"2025-04-05T09:06:30.785Z","repository":{"id":47499012,"uuid":"173322845","full_name":"bspaans/bleep","owner":"bspaans","description":"Synthesizer/sequencer written in Golang","archived":false,"fork":false,"pushed_at":"2024-11-26T08:35:22.000Z","size":7194,"stargazers_count":108,"open_issues_count":3,"forks_count":14,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-29T08:06:16.660Z","etag":null,"topics":["audio","golang","granular-synthesis","music","sequencer","synthesizer"],"latest_commit_sha":null,"homepage":"","language":"Go","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/bspaans.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":"2019-03-01T15:15:47.000Z","updated_at":"2025-01-11T13:37:54.000Z","dependencies_parsed_at":"2024-11-13T00:40:23.756Z","dependency_job_id":"f539e23b-0a0a-4edf-b2cc-dd64d3548d3b","html_url":"https://github.com/bspaans/bleep","commit_stats":null,"previous_names":["bspaans/bs8bs"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bspaans%2Fbleep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bspaans%2Fbleep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bspaans%2Fbleep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bspaans%2Fbleep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bspaans","download_url":"https://codeload.github.com/bspaans/bleep/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312077,"owners_count":20918344,"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","golang","granular-synthesis","music","sequencer","synthesizer"],"created_at":"2024-11-13T00:40:19.754Z","updated_at":"2025-04-05T09:06:30.739Z","avatar_url":"https://github.com/bspaans.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bleep\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/bspaans/bleep)](https://goreportcard.com/report/github.com/bspaans/bleep)\n[![Documentation](http://img.shields.io/badge/godoc-reference-5272B4.svg?style=flat-square)](http://godoc.org/github.com/bspaans/bleep)\n\nHobby 8bit/16bit synthesizer/sequencer that can also be used as a virtual MIDI device.\n\n![Sine wave](/demo/plots/sine.png)\n\nI don't really have any goals for this project, but it's #instructive.\n\n## Demo songs / Progress\n\nOld examples first:\n\n1. [basic wave forms and delay](https://github.com/bspaans/bleep/raw/master/demo/demo.mp3)\n2. [the shabbiest percussion channel](https://github.com/bspaans/bleep/raw/master/demo/demo2.mp3) \n3. [stereo, 16bit, tremelo](https://github.com/bspaans/bleep/raw/master/demo/demo3.mp3) \n4. [granular synthesis, sequencer, automations, euclidian rhythms](https://github.com/bspaans/bleep/raw/master/demo/demo4.mp3) \n\n## Features\n\nThings that generate waveforms (`generators/`):\n\n* Sine wave oscillator\n* Square wave oscillator\n* Sawtooth wave oscillator\n* Triangle wave oscillator\n* Pulse wave oscillator \n* White noise generator\n* .wav playback\n* Grain generator\n  * Configurable grain size\n  * Configurable birth rate\n  * Configurable density/nr of generators\n  * Configurable speed (=position in sample)\n  * Position randomization\n  * Windowing functions\n  * TODO: pitch control (= grain playback speed)\n\n\nThings that wrap things that generate waveforms (`generators/derived/`):\n\n* ADSHR envelopes (attack, decay, sustain, hold, release)\n* Transposing generator\n* Combining multiple generators into one\n* Harmonics generator\n* Vocoder\n* A filtered generator (see below)\n\nThings that filter (`filters/`):\n\n* Overdrive filter\n* Distortion filter\n* Delay filter\n* Flanger filter\n* Tremelo filter\n* First order low pass filter\n* Convolution filter\n* Low Pass Convolution filter\n* High Pass Convolution filter\n* Band Pass Convolution filter\n\nThings that mix: \n\n* Channels (`channels/`)\n* Mixer (`synth/`)\n\nThings that control things that mix:\n\n* Sequencer (`sequencer/`)\n    * Automations\n\nThings that MIDI (`midi/`):\n\n* MIDI note on, note off, program select, pitch bend\n* Basic percussion channel\n* Registers as virtual midi device\n\nThings that output:\n\n* `.wav` output (`--record`)\n* \"Realtime\" PortAudio output\n* Mono or stereo\n\n\n## Usage\n\nBleep uses Go modules and requires Go 1.11+\n\n```\ngit clone github.com/bspaans/bleep\ncd bleep\ngo run main.go\n```\n\nUse `--help` to see the various options and modes.\n\n### Run sequencer patterns\n\n`go run main.go --sequencer examples/sequencer_1.yaml`\n\n### Change instruments banks on sequencer patterns\n\n`go run main.go --instruments examples/bank.yaml --percussion examples/percussion_bank.yaml --sequencer examples/sequencer_1.yaml`\n\n### Record sequencer patterns\n\n`go run main.go --sequencer examples/sequencer_1.yaml --record output.wav`\n\n### Register virtual midi device\n\n`go run main.go --midi`\n\n### Change instruments banks for virtual midi device \n\n`go run main.go --instruments examples/bank.yaml --percussion examples/percussion_bank.yaml --midi`\n\n\n## Contributing\n\nContributions are always welcome, but if you want to introduce a breaking\nchange please raise an issue first to discuss. For small additions and bug\nfixes feel free to just create a PR.\n\n## License\n\nThis package is licensed under a MIT License:\n\n```\nCopyright 2019-2020, Bart Spaans\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbspaans%2Fbleep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbspaans%2Fbleep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbspaans%2Fbleep/lists"}