Giter VIP home page Giter VIP logo

shaden's Introduction

Shaden

Build Status GoDoc Go Report Card

Shaden is a modular audio synthesizer. Patches for the synthesizer are written in a Lisp dialect. A REPL and HTTP interface are provided for interacting with the synthesizer in real-time. I started this project as a way of learning more about digital signal processing and music theory. Consider this an art project.

The name "shaden" comes from the Cycle of Galand book series by Edward W. Robertson.

Highlights

Dependencies

On macOS you can install these dependencies with: brew install go portaudio portmidi

Getting Started

Install

$ go get -u github.com/brettbuddin/shaden

CLI Usage

REPL

$ shaden -repl
> (define gen (unit/gen))
> (-> gen (table :freq (hz 300)))
> (emit (<- gen :sine))

Load File

$ shaden examples/frequency-modulation.lisp

HTTP

$ shaden examples/krell.lisp
$ curl -X POST http://127.0.0.1:5000/eval -d "(=> rise (table :x (ms 100))) ; ..."

This is my preferred way of interacting with the synthesizer. I've written a small Vim plugin that can send over snippets of Lisp code to the program for evaluation. You can find that plugin here.

The HTTP interface is limited to Lisp evaluation at the moment, but I have hopes of providing an API for direct graph manipulation via HTTP.

Lisp

For a more information about the Lisp dialect bundled with Shaden, check out the wiki.

Examples

The best way to get to know the way patching works in Shaden is to look at the examples directory.

I gave a lightning talk at GopherCon 2018 about Shaden:

GopherCon 2018 Lightning Talk: Brett Buddin - Modular Audio Synthesis with Shaden

Shaden was used to create the intro music for the GothamGo 2017 conference videos. I frequently post patches I've created on Instagram and recordings on Bandcamp.

shaden's People

Contributors

brettbuddin avatar semrekkers avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.