I wrote my private alarm_clock using repeated .wav files to announce
that (1) the clock started and (2) the specified time had elapsed.
For (1), which is too protracted:
3.times do |i|
system “wv_player.exe”, DING
For (2), which works fine for my purposes:
system “wv_player.exe”, ALARM_BELL
The two constants are defined:
ALARM_BELL = ENV[“WINDIR”] + “\Media\chimes.wav”
DING = ENV[“WINDIR”] + “\Media\ding.wav”
Is there away to play a few DINGs faster? If not, I’ll post on a
Windows site to get a suggestion for something better to feed to
Windows Wave Player or maybe Windows Media Player.
I’m running WinXP-Pro/SP2, Ruby 1.8.2-15, Rails 1.1.6.