On Github janmonschke / DevFest-Berlin-2014
Frontend Developer from Berlin
Not really a musical background but
passionate about music
motivation: learning new things (audio essentials), experiment
first three points mainly for playing and varying in features
bgsound is kind of the blink aka marquee element of the web ;)
Audio Data API gave raw audio access and some ways tom manipulate audio, but API was nut sufficient
Newest addition to the family: web audio API
create: literally! create sounds from waves
manipulate: a rich api to create custom filters easily
precision: timing is everything when dealing with more than one sound
Who feels comfortable with his knowledge about the physical basics of audio?
var context = new AudioContext(); var oscillator = context.createOscillator(); oscillator.connect(context.destination); oscillator.start();
var audio = context.createBufferSource(); // load a buffer via xhr audio.buffer = xhrBuffer; audio.connect(context.destination); // play with delay of one second audio.start(1);
Visualize different wave types
Demo: show track layout, each track has different type, name the three types
Control buttons on the top, timeline, skip things
control elements for each track
canvas previews in the track elements