Je serai absent(e) à partir du 12/23/2008 de retour le 12/31/2008.
Je répondrai à votre message dès mon retour.
Cordialement
Gc
This message and any attachments (the message) is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it
I want to make a clicking sound -- something similar to a clock tick or
metronome tick -- within a perl program. The code will accept a number of
beats per minute value, then play the .wav on each beat.
use Time::HiRes qw(usleep);
use Win32::Sound;
$microseconds = 500_000; # 120 beats/minute
Win32::Sound is already part of ActivePerl. It is *also* part of the
ActiveState repo if you are using ActivePerl 818 or later (but
you don't need to install it; you should already have it).
Cheers,
-Jan
From: perl-win32-users-boun...@listserv.activestate.com