I created a Python script with AI which stitches the decoded parts of a Cinema DTS CD to one large multi channel audio file.
Features:
It works good so far, but there are several CDs which have serious mastering errors. I even found one without a signal tone and one with a DC offset (!). So don't expect that all CDs can be merged without problems. There are some parameters to play with to accept lower correlation or remove longer silence before the signal tone.
CinemaDTSFileProcessor
Features:
- Detecting the signal tone and removing unneeded silence
- Detecting overlap by correlation (with detection of inverted parts)
- Short cross fade for reducing audible errors
- Merging of the files
- Extraction of LFE including clipping protection and custom LFE gain (optional)
- Slowdown to 23.976 FPS and resample to 48 kHz (optional)
It works good so far, but there are several CDs which have serious mastering errors. I even found one without a signal tone and one with a DC offset (!). So don't expect that all CDs can be merged without problems. There are some parameters to play with to accept lower correlation or remove longer silence before the signal tone.
CinemaDTSFileProcessor


