animate marker moving across plot

I want to plot audio data (samples versus time), and then animate a marker moving across
the plot while the audio is played back. The marker should stay in sync
with the audio data that is being played at that moment. Is there a way to do this using the animation capabilities of matplotlib? If I could sync the movement of the market with an accurate timer (like a QTimer in Qt) it should be good enough.