Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web audio synthesis API?

Is there a web audio API for generating sounds with something like General MIDI synthesis? I just need simple clicks or pitches. The only web audio documentation I can find is for playback of embedded mp3/wav files, which I don't think is an ideal approach for what I want to do.

like image 202
Brian Davis Avatar asked Aug 19 '26 11:08

Brian Davis


1 Answers

You might find Tone.js helpful

On Github here: https://github.com/TONEnoTONE/Tone.js

also checkout this gist on javascript audio synthesis. Make sure to click the link to codepen and read the article article accompanying it.

like image 59
Chamilyan Avatar answered Aug 22 '26 00:08

Chamilyan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!