FolderItem.OpenAsSound Function

Opens the FolderItem to be read as a Macintosh System 7 sound file and returns its contents as a sound object. On Windows, OpenAsSound recognizes any sound format that QuickTime can play.

Syntax
result = FolderItem.OpenAsSound( )

Return Value
Result | Sound

# Notes

WAV files are played as DirectSound. This allows individual pan and volume settings for each sound. You can also play multiple sounds simultaneously. Nil is returned if the sound can't be read or isn't a sound file at all.