Code Monkey home page Code Monkey logo

slang's People

Contributors

0xflotus avatar kylestetz avatar vinkla avatar waldyrious avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

slang's Issues

Make the code visualizable

Hello,

For helping people to write slang syntax, it could be nice to implement a visual of all instruments and his notes.
Why not a graphical builder too ?

Primitives and lists as variables

It'd be great to be able to store patterns, etc as variables for re-use. Maybe it'd be good to distinguish it from sound objects, but it'd be an excellent addition either way.

Add save & share functionality

Users should be able to save their patches to a unique URL for storing and sharing.

Slang is a static site served directly by nginx at the moment, so this will involve adding a super-simple express server (which should still serve index.html from /public as a static file) with:

  • a POST /save endpoint that accepts a JSON blob containing a text field with the slang code
  • a GET /:patch route that loads the patch from a mongo database (if it is found) and renders it to a template so that the code can be pre-populated in the editor

Stretch goals:

  • add an optional title field
  • add a "saved patches" UI which stores the title and URL to localStorage so your saves hang around

Improve documentation around Rhythm values

I see that to specify a Rhythm we can either use absolute values (time in seconds) or a kind of rhythmic notation, which is an integer + n or t

I see it has to do with compound times, and by testing it, I saw that #n represents a time span of 2/# seconds, and #t represents a time span of 4/(3#) seconds. So if we have a 4t and a 2n, the first one will make 3 beats for every beat of the second one.

However, I can't figure out what's the logic behind this, or I can't find any reference on this notation (I don't know how is it called). Or also why we don't have a 2t or 1t. It would be good to have a bit more documentation around this.

Create custom extension. How .slang or .slg

So, please... add this support... It would be good to open my sound with an extension of its own or a protocol. It would be cool and easy to have direct access to the files without much trouble. ;D

Add additional drum kits

The (drums) function can be extended to support a type argument, e.g. (drums 2), which controls what set of samples is played. A precedent around lazy loading each kit was already established in Drums.js; extending this should be easy and won't force users to download audio files unnecessarily.

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.