Some work on the custom sound handler