문제

I have a cuesheet from EAC and a FLAC file with the full album in. Im trying to make a little python script to play the file, there for i need to be able to set the position where to start in the flac file.

How do i get from the CueSheet format MM:SS:FF to samples?

도움이 되었습니까?

해결책

Each minute contains 60 seconds (obviously); each second contains 75 frames; and each frame contains 588 samples.

So the calculation would be something like this...

offset = ((((minutes * 60) + seconds) * 75) + frames) * 588
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top