Skip to content
Sign upLog in

How do i stop music when the repl is stopped?

Profile icon

Currently, I'm using the

/audio library in nodejs to play music.
But, when I stop the repl, the music keeps playing.

What can I do to stop this?

You are viewing a single comment. View All
Profile icon

I'm not sure what your problem is specifically. Is this what your looking for....sound.pause();?