changed "Duration" references to "Length" in order to be consistent with TTSampleMatrix