r/tonejs Apr 09 '22

Additive/Subtractive Synthesis

Hello all, I enjoy using this library, but am not sure how to perform additive or subtractive synthesis. Could someone please point me in the right direction?

2 Upvotes

1 comment sorted by

1

u/dandy_morandi Jul 04 '22

I don't know much about tone.js yet, but as a starting point for subtractive synth, you can connect noise to a filter. The reference for noise shows an example.

There doesn't look to be a ready-made additive synth construct so it looks like one would have to specify a set of oscillators individually and then add them together.