Play sound in a specific number of loops