Trigger Single Sound
If we don't need a continuously playing audiofile and just want to trigger a single sound we can use the AudioPlayCHOP
. It also return true
while the sound is playing which can be handy for example muting other sounds or executing functionality.