The protocol handling was already there. What was missing was hooking it up to a sound file in the user interface.