Table of Contents

spoolsoundfile

Plays an AIFF sound file from a thread using the original sound file player.

Synopsis

spoolsoundfile <sound file> [<num repeats>]

Description

Plays an AIFF sound file using a thread to manage playback.

This example creates a background thread that runs independently from the foreground task. You can communicate with it via signals. This could be built into a fancier soundfile server using messages.

This example uses the original Sound File Player in music.lib. See tsp_spoolsoundfile for an example using the Advanced Sound Player to do the same thing.

Arguments

Associated Files

spoolsoundfile.c

Location

examples/Audio

See Also

playsoundfile, tsp_spoolsoundfile