Skip to content

mattdesl/workshop-web-audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Web Audio workshop with Frontend Masters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published