mattdesl / workshop-web-audio Goto Github PK
View Code? Open in Web Editor NEWWeb Audio workshop with Frontend Masters
Home Page: https://frontendmasters.com/courses/web-audio/
License: MIT License
Web Audio workshop with Frontend Masters
Home Page: https://frontendmasters.com/courses/web-audio/
License: MIT License
Shouldn't analyserTarget be defined at the start, along with
let audioContext;
let analyserNode;
let analyserData;
let gainNode;
let audio;
let isFloat = false;
let interval;
in https://github.com/mattdesl/workshop-web-audio/blob/main/src/js/05-waveform-advanced.js
Was getting this error use to using r14 instead or r13:
Uncaught (in promise) Error: DEPRECATED: The polyphony count is no longer the first argument.
at ti (Tone.js:1)
at new ra (Tone.js:21)
at p5.sketch.setup (VM61 observablehq-376:78)
To fix that I changed synth = new Tone.PolySynth(numRows, Tone.DuoSynth);
to: synth = new Tone.PolySynth({numRows}, Tone.DuoSynth);
The polygon function has the number of sides hard coded.
function polygon(x, y, radius, sides = 3, angle = 0) {
And should be: function polygon(x, y, radius, sides, angle = 0) {
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.