In this thread
there is a playback template and a little demo project I made… You could try it and see how far it gets you…
Benji