GithubHelp home page GithubHelp logo

alexgibson / wavepad Goto Github PK

View Code? Open in Web Editor NEW
136.0 14.0 19.0 673 KB

An experimental synthesizer built using the Web Audio API (PWA).

Home Page: https://alexgibson.github.io/wavepad/

License: Other

CSS 20.26% JavaScript 69.81% HTML 9.93%
pwa javascript web-audio-api synthesizer

wavepad's Introduction

Wave-PD1

devDependency Status

An experimental synthesizer built using the Web Audio API, written in ES6 and compiled using Babel. Works offline using Service Worker.

https://alexgibson.github.io/wavepad/

Audio node graph

Install

npm install

Build

To build from source and watch for changes:

gulp

By default Javascript is compiled and minified in production mode. To run un-minified and with source maps enabled, simply run:

gulp --env development --smp /path/to/project/root/

Note the smp argument is to append the relative path for source maps to work.

Run

To run the dev server:

npm start

The app can then be viewed at localhost:8000.

Deploy

To automatically build and deploy to gh-pages branch:

gulp deploy

wavepad's People

Contributors

alexgibson avatar andreasbovens 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

wavepad's Issues

Remove usage of deprecated createGainNode method, and new waveform constants

This demo uses AudioContext.createGainNode, which is now deprecated (current version of the spec [1]), and should use AudioContext.createGain instead. It's just a simple renaming, so people can enjoy the demo when using Firefox and and future version of other browsers.

In addition, the way you specify a waveform is also outdated: the spec says that one should use a litteral string constant, now, instead of an integer.

We have written a little guide to ease the porting to be standard compliant, should you need more info, or if you find other problems [2]. Or you can ask :-).

Great demo, anyway!

[1] https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioContext-section
[2] https://developer.mozilla.org/en-US/docs/Web_Audio_API/Porting_webkitAudioContext_code_to_standards_based_AudioContext

silly idea - add scales?

Hi Alex, I was going to try and fork this and try and add in an option to only play notes from a certain scale? Like the little kaossilator does?

I gave up though as i'm not really a javascript guy (which i was though!) I was looking at something like this: https://github.com/GregJ/music.js what do you think?

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.