How to generate a simple sound using javascript? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 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
Fonjic
Fonjic - avatar
2 Respuestas
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
Fonjic
Fonjic - avatar