beeper
beeper copied to clipboard
When using the glass tone (macintosh) the delays do not work correctly
The following Morse code beep using the glass tone doesn't work correctly as there is a problem if a beep tone takes longer than 500ms beeper('----***')
It seems that the pause happens while the sample bell is playing - instead perhaps the pause should happen after the sample plays (?)
Writing the terminal bell character doesn't appear to give any information (about whether the sample is still playing etc) - however we might be able to find the sample that will be played, and inspect that to find out how long the sample is - and append that to the pause time.
I'm currently developing on Mac (not a mac user so this is all a bit strange to me) - but it seems that the alert is stored in /Users/<UserName>/Library/Preferences/.GlobalPreferences
for example : "com.apple.sound.beep.sound" = "/System/Library/Sounds/Funk.aiff";
locating that sound using finder and we can get information about that file.