integrating sound and logging