beep-browser
v1.0.2
Published
An utility to play sounds on the browser
Maintainers
Readme
Beeper-browser
Usage
import beep from "beep-browser";
Just call:
beep()
You can specify a pitch, default is A4 (440 Hz)
beep(880)
A delay is the second argument, useful if you want multiple pitches, if you want perfectly chain them, use 200ms
beep(440)
beep(880, 200)You can finally specify the time, here's one second:
beep(440, 0, 1000)
