audio editor

I'm new to Matplotlib and not sure if it's right for my application.

I would like to build a simple audio (sound file) editor with the use of Matplotlib. It will plot a waveform, hence the usefulness of matplotlib. I will also need the user to be able to select regions of the waveform by dragging the mouse or perhaps by clicking at the start and end. I want the regions to be highlighted.

I also need a playback cursor.. a line that travels along the waveform as it gets played back.

So is there a way to add to Matplotlib custom responses to drags and clicks? Something like an animated playback cursor (moving line)? Can these be based on natural features of Matplotlib or would I have to hack it?