> Robert Meek wrote:
>> The first is in regards to playing a simple sound file, ( Wav ),
>> at one second intervals.  Right now after trying some of the related
>> methods and parameters, I'm using
>> 'PlaySound(PChar(SelIntervalWavFile), 0, SND_ASYNC);' and a wav file
>> that just plays a beep.  Other methods related to this one either
>> cycle out of synch or skip seconds, and though this one seems to
>> keep up with my timing event, the first couple beeps play late.  I'm
>> not sure where the majority of the problem lies, but I believe it's
>> due to having to load and re-load the file.  Is there anyway of
>> loading such a file into memory before the countdown begins and
>> stays there so that this problem is eliminated?


If all you need is a "beep", you could try my Toneburst component:

  http://www.david-taylor.myby.co.uk/software/audio.html#ToneBurst

No files required.  Duration, frequency, rise and fall times are 
adjustable, and it's with source.

David
-- 
SatSignal software - quality software written to your requirements
Web:  http://www.satsignal.eu
Email:  [EMAIL PROTECTED] 


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to