Git Product home page Git Product logo

workshop-web-audio's Introduction

Web Audio Synthesis & Visualization

This repository includes resources & course notes for those attending my Web Audio Synthesis & Visualization workshop with Frontend Masters, demonstrating the raw Web Audio API, p5.js for rendering, and Tone.js for synthesis.

Contents

Course Demos

Tools

Here is a list of tools and libraries that will be used during the workshop.

Tool Documentation Version Description
A browser A modern browser, Chrome is recommended
Glitch Help An online platform for editing & sharing JavaScript projects
Web Audio API API Docs This API is built into modern browsers and allows us to work with audio and sound.
Tone.js API Docs 13.8.25 A JavaScript audio library for playing synths and sounds
p5.js API Docs 0.9.0 A JavaScript graphics library for creative coding

Just Starting Out

This workshop assumes you are comfortable with JavaScript and ES6 syntax, and instead focuses just on the audio side of things. If you're new to JavaScript, you might want to begin your journey below:

Also great is Daniel Shiffman's video series, which often uses p5.js:

A more comprehensive guide on the JavaScript language can be found here:

And here's a useful cheat sheet to use as a reference:

Code Snippets

I've also included a small "recipes" document that you can use as a reference if you are forgetting some of the patterns and recipes discussed during the workshop.

Setup

If you want to run locally (without internet), clone this repo into a new folder, then use Node.js to cd into the folder and run the following to install dependencies:

npm install

Now, start the development server:

npm start

Edit files in src/js and see them reflected in the browser.

Further Reading

More links to web audio, creative coding, and more:

License

MIT, see LICENSE.md for details.

workshop-web-audio's People

Contributors

mattdesl 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.