Should be pretty easy to do in the kernel, then. Provided that the "events" are something you can control. For example, if you want it to play certain sounds every time you select a certain menu item, you probably can't do that because the player executable is not under your control.
_________________________
Tony Fabris