beeper icon indicating copy to clipboard operation
beeper copied to clipboard

When using the glass tone (macintosh) the delays do not work correctly

Open computamike opened this issue 6 years ago • 1 comments

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 (?)

computamike avatar Nov 06 '18 12:11 computamike

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.

computamike avatar Nov 06 '18 12:11 computamike