The beep sound could be cut short.
@@ -281,7 +281,11 @@ func beep() {
}
go func() {
<-otoReady
otoContext.NewPlayer(bytes.NewReader(beepSample)).Play()
p := otoContext.NewPlayer(bytes.NewReader(beepSample))
p.Play()
for p.IsPlaying() {
time.Sleep(time.Second)
}()
The note is not visible to the blocked user.