The length of the whole document, at the sample rate of the source.
@override Duration get duration => Duration( microseconds: (document.lengthInSamples * Duration.microsecondsPerSecond / sampleRate) .round(), );