SoundPlayer Object

Description

Plays wav sounds, either from a file or a blob in memory.

Methods

PlaySoundFile

PlaySound

Example

Set sp = CreateObject("Toolsack.SoundPlayer")
sp.PlaySoundFile "C:\temp\snd.wav", false
 
Set fi = CreateObject("Toolsack.FileIO")
Set b = fi.LoadFileBinary("C:\temp\snd.wav")
sp.PlaySound b
 

Samples

Make Wav - Creates a wav from scratch, then plays it.

Articles



We always want to hear your feedback. Send to feedback@toolsack.com.
© 2000-2001 Toolsack Software Ltd.