Code Monkey home page Code Monkey logo

nyc-ng2-synth-demo's Introduction

Polysynth

Demo

This is an example of a synthesizer and drum machine written using the WebAudio API, WebMidi, the Angular 2.0 framework and RxJS Observables.

To get this to work, you'll need to run it on a touch-based device, such as a Microsoft Surface, an iPad, iPhone or Android device, etc... You could also use a Chrome browser with the device simulation mode, and enable touch events (though I'm a bit shaky about how to do that while I'm writing this).

The synth has a control panel, which enables a system-wide recorder and playback service and component. Lots of other features can be hung off of this system, such as a quantizer (I have a basic service written but I'm not too sure of it), visualization of notes as they scroll across the page once triggered, etc.

I also delivered a set of samples of drums. Those are my drums, a simple Gretch drum set and Zildjain cymbals. Have at 'em, use as you like. The sample is really an excuse to stretch a bit with the RxJS and Angular 2 APIs.

Setup

Download the repo content and CD into the directory. Make sure you've installed angular-cli (at least version 1.0.0-beta.17) and are running NodeJS 6.0 or higher. Then run

npm install

and finally, run the app with

ng serve

Enjoy!

Ken Rimple November 2016

nyc-ng2-synth-demo's People

Contributors

krimple avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

darthjoel

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.