How to code music?
summary
Shows live coding music with JavaScript and Sonic Pi, with concrete demos: creating oscillators and synths, toggling frequency and amplitude (examples include 440 Hz (A4) and a 600→400 Hz change), building a web instrument in Angular using Tone.js sampler with cat/dog samples, and using the Web Audio API audio context and nodes. Sonic Pi examples use MIDI 0–127 notes and Sonic Pi live_loops for concurrency to play melody, drums and change instruments without stopping.
AI-written summary · about
chapters (6)
- 0:00Start
- 0:10How to code music?
- 2:35Sonic Pi Live Coding
- 2:45Gibber
- 16:47Web Audio API
- 18:16Tone.js in our app
related talks
37mHow to code music?
30mLive Coding Music with Sonic Pi
32mLive Coding Music Performance with Sonic Pi
37mSonic PI: live music, live coding
46mLive Coding Music: Can You Code? Become a Composer with WebAudio and WebMIDI!
15mProgramming as Performance: Live Coding with Sonic Pi
33mSounds, Synths, and Sonic Pi! Oh My!
39mSonic Pi Livecoding
