{"id":23807111,"url":"https://github.com/brettbuddin/shaden","last_synced_at":"2025-09-06T17:31:31.349Z","repository":{"id":66774403,"uuid":"95159507","full_name":"brettbuddin/shaden","owner":"brettbuddin","description":"🎧 A modular audio synthesizer.","archived":false,"fork":false,"pushed_at":"2023-02-26T20:36:09.000Z","size":9878,"stargazers_count":207,"open_issues_count":1,"forks_count":9,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-06-20T08:13:03.468Z","etag":null,"topics":["art","audio","dsp","go","lisp","media","midi","modular","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/brettbuddin.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-06-22T21:52:45.000Z","updated_at":"2024-06-07T19:36:19.000Z","dependencies_parsed_at":"2023-04-16T14:32:47.247Z","dependency_job_id":null,"html_url":"https://github.com/brettbuddin/shaden","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/brettbuddin%2Fshaden","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettbuddin%2Fshaden/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettbuddin%2Fshaden/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettbuddin%2Fshaden/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brettbuddin","download_url":"https://codeload.github.com/brettbuddin/shaden/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232135997,"owners_count":18477650,"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":["art","audio","dsp","go","lisp","media","midi","modular","synthesizer"],"created_at":"2025-01-01T23:27:45.222Z","updated_at":"2025-01-01T23:27:46.047Z","avatar_url":"https://github.com/brettbuddin.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"## Shaden\n\n[![Build Status](https://travis-ci.org/brettbuddin/shaden.svg?branch=ci)](https://travis-ci.org/brettbuddin/shaden)\n[![GoDoc](https://godoc.org/github.com/brettbuddin/shaden?status.svg)](https://godoc.org/github.com/brettbuddin/shaden)\n[![Go Report Card](https://goreportcard.com/badge/github.com/brettbuddin/shaden)](https://goreportcard.com/report/github.com/brettbuddin/shaden)\n\n\u003cimg src=\"https://github.com/brettbuddin/shaden/raw/master/extra/shaden-snail.png\" width=\"200\"\u003e\n\nShaden is a modular audio synthesizer. Patches for the synthesizer are written in a Lisp dialect. A REPL and HTTP\ninterface are provided for interacting with the synthesizer in real-time. I started this project as a way of learning\nmore about digital signal processing and music theory. **Consider this an art project**. \n\nThe name \"shaden\" comes from the *Cycle of Galand* book series by Edward W. Robertson.\n\n### Highlights\n\n- Lisp interpreter for creating patches\n- [Large collection of builtin Units](https://github.com/brettbuddin/shaden/wiki/Units)\n- [Music theory primitives](https://github.com/brettbuddin/shaden/wiki/Values#music-theory)\n- MIDI controller and clock input\n- Single-sample feedback loops\n- Editor plugins for sending expressions to the synth for evaluation:\n    - [Vim](extra/shaden.vim)\n    - [VS Code](https://github.com/semrekkers/shaden-vscode)\n\n## Dependencies\n\n- [Go 1.9](http://golang.org)+\n- [PortAudio](http://www.portaudio.com/)\n- [PortMIDI](http://portmedia.sourceforge.net/portmidi/)\n\nOn macOS you can install these dependencies with: `brew install go portaudio portmidi`\n\n## Getting Started\n\n### Install\n\n    $ go get -u github.com/brettbuddin/shaden\n\n### CLI Usage\n\n#### REPL\n\n    $ shaden -repl\n    \u003e (define gen (unit/gen))\n    \u003e (-\u003e gen (table :freq (hz 300)))\n    \u003e (emit (\u003c- gen :sine))\n\n#### Load File\n\n    $ shaden examples/frequency-modulation.lisp\n\n#### HTTP\n\n    $ shaden examples/krell.lisp\n    $ curl -X POST http://127.0.0.1:5000/eval -d \"(=\u003e rise (table :x (ms 100))) ; ...\"\n\nThis is my preferred way of interacting with the synthesizer. I've written a small Vim plugin that can send over\nsnippets of Lisp code to the program for evaluation. [You can find that plugin here.](extra/shaden.vim)\n\nThe HTTP interface is limited to Lisp evaluation at the moment, but I have hopes of providing an API for direct graph\nmanipulation via HTTP.\n\n### Lisp\n\nFor a more information about the Lisp dialect bundled with Shaden, [check out the wiki](https://github.com/brettbuddin/shaden/wiki).\n\n## Examples\n\nThe best way to get to know the way patching works in Shaden is to look at the [examples directory](examples).\n\nI gave a lightning talk at [GopherCon 2018](https://gophercon.com) about Shaden:\n\n\u003ca href=\"http://www.youtube.com/watch?feature=player_embedded\u0026v=F9mDpVRAAMY\" target=\"_blank\"\u003e\u003cimg src=\"http://img.youtube.com/vi/F9mDpVRAAMY/0.jpg\" alt=\"GopherCon 2018 Lightning Talk: Brett Buddin - Modular Audio Synthesis with Shaden\" width=\"402\" height=\"302\" border=\"10\" /\u003e\u003c/a\u003e\n\nShaden was used to create the intro music for the [GothamGo 2017](https://www.youtube.com/playlist?list=PLeGxIOPLk9ELp7dx6A0gtvjbc99dU2kq-) and [GothamGo 2018](https://www.youtube.com/watch?v=fdIHODCbeRY\u0026list=PLeGxIOPLk9ELMBvf9FUM_s5Xd-fkPZKkB) conference videos.\nI frequently post patches I've created [on Instagram](https://www.instagram.com/brettbuddin/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrettbuddin%2Fshaden","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrettbuddin%2Fshaden","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrettbuddin%2Fshaden/lists"}