generalization of the transcription display and dtw tools