Sound generation in the browser using Web Audio and C#
summary
Shows how the Web Audio API is used from C# via Blazor wrappers to generate and analyze sound: creates an AudioContext with an OscillatorNode routed through a GainNode to speakers, starts/stops tones with randomized frequencies, and uses an AnalyserNode to compute a frequency spectrum and an averaged peak (~796). Demonstrates a new MediaStreamRecording wrapper (built last week) to record a click, retune it to 440 Hz, and reuse the sample as a keyboard instrument; library covers ~71% of the spec.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:14Web Audio API
- 4:06Blazor Web Audio library
- 4:28Sound generation demo in C#
- 6:59Media stream libraries
- 7:40Music keyboard demo
- 8:43Microphone input analysis
- 10:30Keyboard with recorded sounds
- 11:18Web Audio library future
related talks
22mWhat Happens When the Music Starts? The Architecture of Browser Audio
44mBeats in the Browser - Coding Music with JavaScript
46mMaking the Web Rock: The Web Audio API
38mEverybody dance now with Web Audio API
40mBeats in the Browser - Coding Music with JavaScript
09mDeclarative Web Audio API
30mSteve Kinney - SeattleJS Conference 2017
22mChanging Live Audio with the Web-Audio-Api
