ofDoc > sound > ofSoundPlayer

ofSoundPlayerfile

Functions

ofSoundPlayerclass

Plays sound files.

ofSoundPlayer handles simple playback of sound files, with controls for volume, pan, speed, seeking and multiplay. This is a common cross-platform sound player interface which is inherited by each of the platform-specific sound player implementations.

Functions

play ()
stop ()
setPan ()
setLoop ()
getPan ()