post: generating subtitles for songs that ship without timestamps
Deploy / build (push) Successful in 30s
Deploy / build (push) Successful in 30s
Tutorial on turning untimed AI-generated audio into LRC + SRT: align ASR word timestamps against the KNOWN lyrics (SequenceMatcher) instead of trusting a transcript, then a governor that rejects impossible anchors, refills runs by unit-proportional duration, and enforces a 1.2 s minimum line gap. Ships 18 English songs (342 subtitle lines, mean anchor coverage 0.96, 9/18 fully anchored) with synced lyrics plus downloadable .srt per track. Documents both player bugs and the headless-Chrome numeric probe that finally caught them.
This commit is contained in:
1 parent
cf327211df
commit
92f38184fb
20 files changed
+2737
No files matched your search
@@ -0,0 +1,75 @@
|
||||
1
|
||||
00:00:10,691 --> 00:00:15,291
|
||||
Patter goes the summer rain upon the lotus leaf
|
||||
|
||||
2
|
||||
00:00:15,291 --> 00:00:19,891
|
||||
Washing all the dusty world and bringing cool relief
|
||||
|
||||
3
|
||||
00:00:19,891 --> 00:00:24,491
|
||||
Stepping on the wet bluestone beside the willow bridge
|
||||
|
||||
4
|
||||
00:00:24,491 --> 00:00:28,579
|
||||
Dragonflies are resting on the painted wooden ridge
|
||||
|
||||
5
|
||||
00:00:28,579 --> 00:00:31,899
|
||||
Fold a little paper boat and light a candlewick
|
||||
|
||||
6
|
||||
00:00:33,159 --> 00:00:37,840
|
||||
Make a wish before the current carries it so quick
|
||||
|
||||
7
|
||||
00:00:40,460 --> 00:00:44,840
|
||||
Floating down the lotus pond, a hundred lanterns glow
|
||||
|
||||
8
|
||||
00:00:46,380 --> 00:00:49,619
|
||||
Mirrored in the ripples where the silver fishes go
|
||||
|
||||
9
|
||||
00:00:49,619 --> 00:00:54,219
|
||||
Listen to the bamboo flute across the misty stream
|
||||
|
||||
10
|
||||
00:00:54,219 --> 00:01:00,460
|
||||
In the courtyard of the moon, we share a summer dream
|
||||
|
||||
11
|
||||
00:01:03,960 --> 00:01:08,719
|
||||
Silk fan in my little hand to chase the fireflies
|
||||
|
||||
12
|
||||
00:01:08,719 --> 00:01:13,359
|
||||
Red string braided in my hair beneath the lantern skies
|
||||
|
||||
13
|
||||
00:01:13,359 --> 00:01:18,219
|
||||
Grandma tells a fairy tale of rabbits in the moon
|
||||
|
||||
14
|
||||
00:01:18,219 --> 00:01:22,959
|
||||
While the sweet osmanthus flowers blossom in the June
|
||||
|
||||
15
|
||||
00:01:25,539 --> 00:01:30,019
|
||||
Floating down the lotus pond, a hundred lanterns glow
|
||||
|
||||
16
|
||||
00:01:30,019 --> 00:01:34,620
|
||||
Mirrored in the ripples where the silver fishes go
|
||||
|
||||
17
|
||||
00:01:34,620 --> 00:01:39,359
|
||||
Listen to the bamboo flute across the misty stream
|
||||
|
||||
18
|
||||
00:01:39,359 --> 00:01:45,359
|
||||
In the courtyard of the moon, we share a summer dream
|
||||
|
||||
19
|
||||
00:02:06,760 --> 00:02:09,360
|
||||
Red lanterns drifting far away...
|
||||
Reference in new issue
Block a user