VoxCPM icon indicating copy to clipboard operation
VoxCPM copied to clipboard

Support word and punctuation timestamps

Open gad2103 opened this issue 2 months ago • 2 comments

There are versions of other open tts models that provide timestamps of words like kokoro. This can be a very useful feature for syncing visuals of the text with it's readout.

Would be happy to help if I can

gad2103 avatar Dec 11 '25 05:12 gad2103

@gad2103 Hi, thx for your suggestion. Because VoxCPM is an autoregressive model, it's difficult to accurately obtain the timestamp for each word during generation. You might need an external timestamp alignment tool. If you complete the post-processing code for timestamp alignment, please feel free to submit a Pull Request.

liuxin99 avatar Dec 11 '25 06:12 liuxin99

Highly recommend stable-ts for this, it's the most accurate forced alignment tool that I've seen so far

vytskalt avatar Jan 06 '26 19:01 vytskalt