How to generate a simple sound using javascript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to generate a simple sound using javascript?

I'seen some code to use sound oscilator, but i wanted something really simple, like, a line of code (or just some) to beep in a frequency. is there a way to do that using javascript?

5th Sep 2019, 11:27 PM
Francisco Egsonovich
Francisco Egsonovich - avatar
2 Answers
6th Sep 2019, 12:54 AM
Calviղ
Calviղ - avatar
0
ok, it is good, but it generates a clickable square to produce the sound. How do I make the aound start automatically?
12th Sep 2019, 11:09 PM
Francisco Egsonovich
Francisco Egsonovich - avatar