Let's explore how to create different types of synths in Tone.js. Synths are used to generate sound using oscillators and envelopes. Tone.js provides many types like Synth
, AMSynth
, FMSynth
, and MonoSynth
.
Tone.start()
on user interaction (like a button click) to unlock audio playback in most browsers.
oscillator.type
, envelope
settings, and chaining effects like delay
or reverb
!
Explore the full API on the official Tone.js site or try building a mini drum machine with MembraneSynth
.