shiveshnavin commited on
Commit
05eaa83
·
1 Parent(s): 53a0583

Caption perfection

Browse files
common-utils CHANGED
@@ -1 +1 @@
1
- Subproject commit f04e7958cda839b09d7b3bed344c0e0d98ced9ac
 
1
+ Subproject commit f4abf22de6b3c3f7f855ca38b25d1f57c8c83dcd
package-lock.json CHANGED
@@ -30,6 +30,7 @@
30
  "firebase-functions": "^4.4.1",
31
  "fs-extra": "^11.1.1",
32
  "i": "^0.3.7",
 
33
  "multi-db-orm": "^1.3.0",
34
  "npm": "^9.8.1",
35
  "path": "^0.12.7",
@@ -48,6 +49,9 @@
48
  "ws": "^8.13.0",
49
  "zod": "^3.21.4"
50
  },
 
 
 
51
  "engines": {
52
  "node": "16"
53
  }
@@ -60,7 +64,10 @@
60
  "@ffprobe-installer/ffprobe": "^2.1.1",
61
  "archiver": "^5.3.1",
62
  "axios": "^1.3.5",
 
63
  "fluent-ffmpeg": "^2.1.2",
 
 
64
  "node-fetch-commonjs": "^3.2.4",
65
  "nodejs-file-downloader": "^4.11.0",
66
  "otpauth": "^9.1.1",
@@ -4663,6 +4670,12 @@
4663
  "integrity": "sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==",
4664
  "optional": true
4665
  },
 
 
 
 
 
 
4666
  "node_modules/@types/long": {
4667
  "version": "4.0.2",
4668
  "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz",
@@ -10624,6 +10637,17 @@
10624
  "node": "*"
10625
  }
10626
  },
 
 
 
 
 
 
 
 
 
 
 
10627
  "node_modules/mongodb": {
10628
  "version": "3.7.4",
10629
  "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.7.4.tgz",
@@ -21823,6 +21847,12 @@
21823
  "integrity": "sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==",
21824
  "optional": true
21825
  },
 
 
 
 
 
 
21826
  "@types/long": {
21827
  "version": "4.0.2",
21828
  "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz",
@@ -23019,7 +23049,10 @@
23019
  "@ffprobe-installer/ffprobe": "^2.1.1",
23020
  "archiver": "^5.3.1",
23021
  "axios": "^1.3.5",
 
23022
  "fluent-ffmpeg": "^2.1.2",
 
 
23023
  "node-fetch-commonjs": "^3.2.4",
23024
  "nodejs-file-downloader": "^4.11.0",
23025
  "otpauth": "^9.1.1",
@@ -26300,6 +26333,14 @@
26300
  "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz",
26301
  "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w=="
26302
  },
 
 
 
 
 
 
 
 
26303
  "mongodb": {
26304
  "version": "3.7.4",
26305
  "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.7.4.tgz",
 
30
  "firebase-functions": "^4.4.1",
31
  "fs-extra": "^11.1.1",
32
  "i": "^0.3.7",
33
+ "lodash": "^4.17.21",
34
  "multi-db-orm": "^1.3.0",
35
  "npm": "^9.8.1",
36
  "path": "^0.12.7",
 
49
  "ws": "^8.13.0",
50
  "zod": "^3.21.4"
51
  },
52
+ "devDependencies": {
53
+ "@types/lodash": "^4.14.199"
54
+ },
55
  "engines": {
56
  "node": "16"
57
  }
 
64
  "@ffprobe-installer/ffprobe": "^2.1.1",
65
  "archiver": "^5.3.1",
66
  "axios": "^1.3.5",
67
+ "big-integer": "^1.6.51",
68
  "fluent-ffmpeg": "^2.1.2",
69
+ "lodash": "^4.17.21",
70
+ "moment-timezone": "^0.5.43",
71
  "node-fetch-commonjs": "^3.2.4",
72
  "nodejs-file-downloader": "^4.11.0",
73
  "otpauth": "^9.1.1",
 
4670
  "integrity": "sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==",
4671
  "optional": true
4672
  },
4673
+ "node_modules/@types/lodash": {
4674
+ "version": "4.14.199",
4675
+ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.199.tgz",
4676
+ "integrity": "sha512-Vrjz5N5Ia4SEzWWgIVwnHNEnb1UE1XMkvY5DGXrAeOGE9imk0hgTHh5GyDjLDJi9OTCn9oo9dXH1uToK1VRfrg==",
4677
+ "dev": true
4678
+ },
4679
  "node_modules/@types/long": {
4680
  "version": "4.0.2",
4681
  "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz",
 
10637
  "node": "*"
10638
  }
10639
  },
10640
+ "node_modules/moment-timezone": {
10641
+ "version": "0.5.43",
10642
+ "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.43.tgz",
10643
+ "integrity": "sha512-72j3aNyuIsDxdF1i7CEgV2FfxM1r6aaqJyLB2vwb33mXYyoyLly+F1zbWqhA3/bVIoJ4szlUoMbUnVdid32NUQ==",
10644
+ "dependencies": {
10645
+ "moment": "^2.29.4"
10646
+ },
10647
+ "engines": {
10648
+ "node": "*"
10649
+ }
10650
+ },
10651
  "node_modules/mongodb": {
10652
  "version": "3.7.4",
10653
  "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.7.4.tgz",
 
21847
  "integrity": "sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==",
21848
  "optional": true
21849
  },
21850
+ "@types/lodash": {
21851
+ "version": "4.14.199",
21852
+ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.199.tgz",
21853
+ "integrity": "sha512-Vrjz5N5Ia4SEzWWgIVwnHNEnb1UE1XMkvY5DGXrAeOGE9imk0hgTHh5GyDjLDJi9OTCn9oo9dXH1uToK1VRfrg==",
21854
+ "dev": true
21855
+ },
21856
  "@types/long": {
21857
  "version": "4.0.2",
21858
  "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz",
 
23049
  "@ffprobe-installer/ffprobe": "^2.1.1",
23050
  "archiver": "^5.3.1",
23051
  "axios": "^1.3.5",
23052
+ "big-integer": "^1.6.51",
23053
  "fluent-ffmpeg": "^2.1.2",
23054
+ "lodash": "^4.17.21",
23055
+ "moment-timezone": "^0.5.43",
23056
  "node-fetch-commonjs": "^3.2.4",
23057
  "nodejs-file-downloader": "^4.11.0",
23058
  "otpauth": "^9.1.1",
 
26333
  "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz",
26334
  "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w=="
26335
  },
26336
+ "moment-timezone": {
26337
+ "version": "0.5.43",
26338
+ "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.43.tgz",
26339
+ "integrity": "sha512-72j3aNyuIsDxdF1i7CEgV2FfxM1r6aaqJyLB2vwb33mXYyoyLly+F1zbWqhA3/bVIoJ4szlUoMbUnVdid32NUQ==",
26340
+ "requires": {
26341
+ "moment": "^2.29.4"
26342
+ }
26343
+ },
26344
  "mongodb": {
26345
  "version": "3.7.4",
26346
  "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.7.4.tgz",
package.json CHANGED
@@ -55,6 +55,7 @@
55
  "firebase-functions": "^4.4.1",
56
  "fs-extra": "^11.1.1",
57
  "i": "^0.3.7",
 
58
  "multi-db-orm": "^1.3.0",
59
  "npm": "^9.8.1",
60
  "path": "^0.12.7",
@@ -73,5 +74,8 @@
73
  "ws": "^8.13.0",
74
  "zod": "^3.21.4"
75
  },
76
- "packageManager": "npm@8.19.4"
77
- }
 
 
 
 
55
  "firebase-functions": "^4.4.1",
56
  "fs-extra": "^11.1.1",
57
  "i": "^0.3.7",
58
+ "lodash": "^4.17.21",
59
  "multi-db-orm": "^1.3.0",
60
  "npm": "^9.8.1",
61
  "path": "^0.12.7",
 
74
  "ws": "^8.13.0",
75
  "zod": "^3.21.4"
76
  },
77
+ "packageManager": "npm@8.19.4",
78
+ "devDependencies": {
79
+ "@types/lodash": "^4.14.199"
80
+ }
81
+ }
src/ig-reel/IGScene.tsx CHANGED
@@ -4,6 +4,7 @@ import React, { useEffect, useState } from 'react'
4
  import { loadFont } from "@remotion/google-fonts/MontserratAlternates";
5
  import { Series } from "remotion";
6
  import { RenderUtils } from '../RenderUtils';
 
7
 
8
  export const IGScene: React.FC<any> = (props: { script: any, item: any }) => {
9
  const { fontFamily } = loadFont();
@@ -20,8 +21,8 @@ export const IGScene: React.FC<any> = (props: { script: any, item: any }) => {
20
 
21
  useEffect(() => {
22
  let file = RenderUtils.getFileName(subtitle_file)
23
- // let subtitles = require('../../public/' + file)
24
- let subtitles = SUBTITLES
25
  let subtitlesClone = subtitles
26
  let subs = subtitles.words
27
 
@@ -97,43 +98,13 @@ export const IGScene: React.FC<any> = (props: { script: any, item: any }) => {
97
  let curSecond: Number = frame / fps
98
  let word = findCurrentWord(curSecond, subtitles)
99
  let group = findCurrentGroupByTime(curSecond, groups)
100
- item.curGroup = group
101
 
102
  return (
103
  <AbsoluteFill>
104
  <Audio volume={1.0} src={staticFile(audioPath)} />
105
- {/* <Title title={curSecond}></Title>
106
- <Title title={word?.start + ' --- ' + word?.end}></Title> */}
107
 
108
- <Title title={(word?.word || '_____')}></Title>
109
- <Title title={((item?.curGroup?.words)?.map(wod => wod.word).join(" ") || '_____')}></Title>
110
- {
111
 
112
- }
113
- {/* <Series>
114
- {
115
- subtitleGroups.map(curGroup => {
116
- let groupDuration = 0
117
- let group = curGroup.frames
118
- for (let i = 0; i < group.length; i++) {
119
- let frame = group[i]
120
- if (frame.end && frame.start) {
121
- groupDuration += frame.end - frame.start
122
- } else {
123
- let noOfCharacters = frame.endOffset - frame.startOffset
124
- groupDuration += noOfCharacters * averageCharsPs
125
- }
126
- }
127
- let groupDurationFps = meta.fps * groupDuration
128
-
129
- return (
130
- <Series.Sequence durationInFrames={groupDurationFps}>
131
- <SubTitleFrameGroup frames={group} />
132
- </Series.Sequence>
133
- )
134
- })
135
- }
136
- </Series> */}
137
  </AbsoluteFill >
138
  );
139
  };
@@ -232,11 +203,6 @@ function getGroupDuration(group, avgCps) {
232
  return groupDuration
233
  }
234
 
235
- const SubTitleFrameGroup: React.FC<{ title?: string, color: string }> = ({ frames }) => {
236
-
237
-
238
- };
239
-
240
  const Title: React.FC<{ title?: string, color?: string }> = ({ title = "test", color = "#fff" }) => {
241
 
242
  return (
@@ -244,2930 +210,3 @@ const Title: React.FC<{ title?: string, color?: string }> = ({ title = "test", c
244
  );
245
  };
246
 
247
-
248
- const SUBTITLES = {
249
- "transcript": "Before starting any HIIT workout, it's crucial to warm up your muscles and prepare your body for the intense activity ahead. Dynamic stretches, light cardio exercises, or mobility drills can help you warm up properly and reduce the risk of injury. Without a proper warm-up, you may experience discomfort or strains during the workout. Additionally, warming up increases your heart rate and circulation, allowing your muscles to receive the nutrients and oxygen they need to function optimally. Remember, a good warm-up session can make a significant difference in your overall workout performance. So don't forget to take the time to warm up properly before starting your HIIT workout",
250
- "words": [
251
- {
252
- "alignedWord": "before",
253
- "case": "success",
254
- "end": 0.3634285714285714,
255
- "endOffset": 6,
256
- "phones": [
257
- {
258
- "duration": 0.05,
259
- "phone": "b_B"
260
- },
261
- {
262
- "duration": 0.08,
263
- "phone": "ih_I"
264
- },
265
- {
266
- "duration": 0.08,
267
- "phone": "f_I"
268
- },
269
- {
270
- "duration": 0.04,
271
- "phone": "ao_I"
272
- },
273
- {
274
- "duration": 0.08,
275
- "phone": "r_E"
276
- }
277
- ],
278
- "start": 0,
279
- "startOffset": 0,
280
- "word": "Before",
281
- "idx": 0
282
- },
283
- {
284
- "alignedWord": "starting",
285
- "case": "success",
286
- "end": 0.81,
287
- "endOffset": 15,
288
- "phones": [
289
- {
290
- "duration": 0.05,
291
- "phone": "s_B"
292
- },
293
- {
294
- "duration": 0.08,
295
- "phone": "t_I"
296
- },
297
- {
298
- "duration": 0.08,
299
- "phone": "aa_I"
300
- },
301
- {
302
- "duration": 0.01,
303
- "phone": "r_I"
304
- },
305
- {
306
- "duration": 0.11,
307
- "phone": "t_I"
308
- },
309
- {
310
- "duration": 0.06,
311
- "phone": "ih_I"
312
- },
313
- {
314
- "duration": 0.09,
315
- "phone": "ng_E"
316
- }
317
- ],
318
- "start": 0.33,
319
- "startOffset": 7,
320
- "word": "starting",
321
- "idx": 1
322
- },
323
- {
324
- "alignedWord": "any",
325
- "case": "success",
326
- "end": 1.02,
327
- "endOffset": 19,
328
- "phones": [
329
- {
330
- "duration": 0.06,
331
- "phone": "eh_B"
332
- },
333
- {
334
- "duration": 0.07,
335
- "phone": "n_I"
336
- },
337
- {
338
- "duration": 0.08,
339
- "phone": "iy_E"
340
- }
341
- ],
342
- "start": 0.81,
343
- "startOffset": 16,
344
- "word": "any",
345
- "idx": 2
346
- },
347
- {
348
- "alignedWord": "<unk>",
349
- "case": "success",
350
- "end": 1.19,
351
- "endOffset": 24,
352
- "phones": [
353
- {
354
- "duration": 0.16,
355
- "phone": "oov_S"
356
- }
357
- ],
358
- "start": 1.03,
359
- "startOffset": 20,
360
- "word": "HIIT",
361
- "idx": 3
362
- },
363
- {
364
- "alignedWord": "workout",
365
- "case": "success",
366
- "end": 1.7999999999999998,
367
- "endOffset": 32,
368
- "phones": [
369
- {
370
- "duration": 0.11,
371
- "phone": "w_B"
372
- },
373
- {
374
- "duration": 0.08,
375
- "phone": "er_I"
376
- },
377
- {
378
- "duration": 0.08,
379
- "phone": "k_I"
380
- },
381
- {
382
- "duration": 0.12,
383
- "phone": "aw_I"
384
- },
385
- {
386
- "duration": 0.19,
387
- "phone": "t_E"
388
- }
389
- ],
390
- "start": 1.22,
391
- "startOffset": 25,
392
- "word": "workout",
393
- "idx": 4
394
- },
395
- {
396
- "alignedWord": "it's",
397
- "case": "success",
398
- "end": 2.19,
399
- "endOffset": 38,
400
- "phones": [
401
- {
402
- "duration": 0.06,
403
- "phone": "ih_B"
404
- },
405
- {
406
- "duration": 0.06,
407
- "phone": "t_I"
408
- },
409
- {
410
- "duration": 0.06,
411
- "phone": "s_E"
412
- }
413
- ],
414
- "start": 2.01,
415
- "startOffset": 34,
416
- "word": "it's",
417
- "idx": 5
418
- },
419
- {
420
- "alignedWord": "crucial",
421
- "case": "success",
422
- "end": 2.5,
423
- "endOffset": 46,
424
- "phones": [
425
- {
426
- "duration": 0.05,
427
- "phone": "k_B"
428
- },
429
- {
430
- "duration": 0.04,
431
- "phone": "r_I"
432
- },
433
- {
434
- "duration": 0.06,
435
- "phone": "uw_I"
436
- },
437
- {
438
- "duration": 0.07,
439
- "phone": "sh_I"
440
- },
441
- {
442
- "duration": 0.04,
443
- "phone": "ah_I"
444
- },
445
- {
446
- "duration": 0.05,
447
- "phone": "l_E"
448
- }
449
- ],
450
- "start": 2.19,
451
- "startOffset": 39,
452
- "word": "crucial",
453
- "idx": 6
454
- },
455
- {
456
- "alignedWord": "to",
457
- "case": "success",
458
- "end": 2.63,
459
- "endOffset": 49,
460
- "phones": [
461
- {
462
- "duration": 0.05,
463
- "phone": "t_B"
464
- },
465
- {
466
- "duration": 0.08,
467
- "phone": "uw_E"
468
- }
469
- ],
470
- "start": 2.5,
471
- "startOffset": 47,
472
- "word": "to",
473
- "idx": 7
474
- },
475
- {
476
- "alignedWord": "warm",
477
- "case": "success",
478
- "end": 2.86,
479
- "endOffset": 54,
480
- "phones": [
481
- {
482
- "duration": 0.04,
483
- "phone": "w_B"
484
- },
485
- {
486
- "duration": 0.06,
487
- "phone": "ao_I"
488
- },
489
- {
490
- "duration": 0.06,
491
- "phone": "r_I"
492
- },
493
- {
494
- "duration": 0.07,
495
- "phone": "m_E"
496
- }
497
- ],
498
- "start": 2.63,
499
- "startOffset": 50,
500
- "word": "warm",
501
- "idx": 8
502
- },
503
- {
504
- "alignedWord": "up",
505
- "case": "success",
506
- "end": 3.01,
507
- "endOffset": 57,
508
- "phones": [
509
- {
510
- "duration": 0.06,
511
- "phone": "ah_B"
512
- },
513
- {
514
- "duration": 0.09,
515
- "phone": "p_E"
516
- }
517
- ],
518
- "start": 2.86,
519
- "startOffset": 55,
520
- "word": "up",
521
- "idx": 9
522
- },
523
- {
524
- "alignedWord": "your",
525
- "case": "success",
526
- "end": 3.0799999999999996,
527
- "endOffset": 62,
528
- "phones": [
529
- {
530
- "duration": 0.01,
531
- "phone": "y_B"
532
- },
533
- {
534
- "duration": 0.01,
535
- "phone": "uh_I"
536
- },
537
- {
538
- "duration": 0.05,
539
- "phone": "r_E"
540
- }
541
- ],
542
- "start": 3.01,
543
- "startOffset": 58,
544
- "word": "your",
545
- "idx": 10
546
- },
547
- {
548
- "alignedWord": "muscles",
549
- "case": "success",
550
- "end": 3.48,
551
- "endOffset": 70,
552
- "phones": [
553
- {
554
- "duration": 0.03,
555
- "phone": "m_B"
556
- },
557
- {
558
- "duration": 0.09,
559
- "phone": "ah_I"
560
- },
561
- {
562
- "duration": 0.08,
563
- "phone": "s_I"
564
- },
565
- {
566
- "duration": 0.05,
567
- "phone": "ah_I"
568
- },
569
- {
570
- "duration": 0.07,
571
- "phone": "l_I"
572
- },
573
- {
574
- "duration": 0.08,
575
- "phone": "z_E"
576
- }
577
- ],
578
- "start": 3.08,
579
- "startOffset": 63,
580
- "word": "muscles",
581
- "idx": 11
582
- },
583
- {
584
- "alignedWord": "and",
585
- "case": "success",
586
- "end": 3.6599999999999997,
587
- "endOffset": 74,
588
- "phones": [
589
- {
590
- "duration": 0.08,
591
- "phone": "ah_B"
592
- },
593
- {
594
- "duration": 0.01,
595
- "phone": "n_I"
596
- },
597
- {
598
- "duration": 0.06,
599
- "phone": "d_E"
600
- }
601
- ],
602
- "start": 3.51,
603
- "startOffset": 71,
604
- "word": "and",
605
- "idx": 12
606
- },
607
- {
608
- "alignedWord": "prepare",
609
- "case": "success",
610
- "end": 3.97,
611
- "endOffset": 82,
612
- "phones": [
613
- {
614
- "duration": 0.04,
615
- "phone": "p_B"
616
- },
617
- {
618
- "duration": 0.03,
619
- "phone": "r_I"
620
- },
621
- {
622
- "duration": 0.03,
623
- "phone": "iy_I"
624
- },
625
- {
626
- "duration": 0.07,
627
- "phone": "p_I"
628
- },
629
- {
630
- "duration": 0.06,
631
- "phone": "eh_I"
632
- },
633
- {
634
- "duration": 0.08,
635
- "phone": "r_E"
636
- }
637
- ],
638
- "start": 3.66,
639
- "startOffset": 75,
640
- "word": "prepare",
641
- "idx": 13
642
- },
643
- {
644
- "alignedWord": "your",
645
- "case": "success",
646
- "end": 4.1000000000000005,
647
- "endOffset": 87,
648
- "phones": [
649
- {
650
- "duration": 0.07,
651
- "phone": "y_B"
652
- },
653
- {
654
- "duration": 0.01,
655
- "phone": "uh_I"
656
- },
657
- {
658
- "duration": 0.05,
659
- "phone": "r_E"
660
- }
661
- ],
662
- "start": 3.97,
663
- "startOffset": 83,
664
- "word": "your",
665
- "idx": 14
666
- },
667
- {
668
- "alignedWord": "body",
669
- "case": "success",
670
- "end": 4.35,
671
- "endOffset": 92,
672
- "phones": [
673
- {
674
- "duration": 0.05,
675
- "phone": "b_B"
676
- },
677
- {
678
- "duration": 0.06,
679
- "phone": "aa_I"
680
- },
681
- {
682
- "duration": 0.06,
683
- "phone": "d_I"
684
- },
685
- {
686
- "duration": 0.08,
687
- "phone": "iy_E"
688
- }
689
- ],
690
- "start": 4.1,
691
- "startOffset": 88,
692
- "word": "body",
693
- "idx": 15
694
- },
695
- {
696
- "alignedWord": "for",
697
- "case": "success",
698
- "end": 4.4799999999999995,
699
- "endOffset": 96,
700
- "phones": [
701
- {
702
- "duration": 0.06,
703
- "phone": "f_B"
704
- },
705
- {
706
- "duration": 0.07,
707
- "phone": "er_E"
708
- }
709
- ],
710
- "start": 4.35,
711
- "startOffset": 93,
712
- "word": "for",
713
- "idx": 16
714
- },
715
- {
716
- "alignedWord": "the",
717
- "case": "success",
718
- "end": 4.57,
719
- "endOffset": 100,
720
- "phones": [
721
- {
722
- "duration": 0.05,
723
- "phone": "dh_B"
724
- },
725
- {
726
- "duration": 0.04,
727
- "phone": "iy_E"
728
- }
729
- ],
730
- "start": 4.48,
731
- "startOffset": 97,
732
- "word": "the",
733
- "idx": 17
734
- },
735
- {
736
- "alignedWord": "intense",
737
- "case": "success",
738
- "end": 4.96,
739
- "endOffset": 108,
740
- "phones": [
741
- {
742
- "duration": 0.02,
743
- "phone": "ih_B"
744
- },
745
- {
746
- "duration": 0.05,
747
- "phone": "n_I"
748
- },
749
- {
750
- "duration": 0.06,
751
- "phone": "t_I"
752
- },
753
- {
754
- "duration": 0.07,
755
- "phone": "eh_I"
756
- },
757
- {
758
- "duration": 0.08,
759
- "phone": "n_I"
760
- },
761
- {
762
- "duration": 0.11,
763
- "phone": "s_E"
764
- }
765
- ],
766
- "start": 4.57,
767
- "startOffset": 101,
768
- "word": "intense",
769
- "idx": 18
770
- },
771
- {
772
- "alignedWord": "activity",
773
- "case": "success",
774
- "end": 5.34,
775
- "endOffset": 117,
776
- "phones": [
777
- {
778
- "duration": 0.01,
779
- "phone": "ae_B"
780
- },
781
- {
782
- "duration": 0.01,
783
- "phone": "k_I"
784
- },
785
- {
786
- "duration": 0.01,
787
- "phone": "t_I"
788
- },
789
- {
790
- "duration": 0.08,
791
- "phone": "ih_I"
792
- },
793
- {
794
- "duration": 0.06,
795
- "phone": "v_I"
796
- },
797
- {
798
- "duration": 0.05,
799
- "phone": "ih_I"
800
- },
801
- {
802
- "duration": 0.06,
803
- "phone": "t_I"
804
- },
805
- {
806
- "duration": 0.04,
807
- "phone": "iy_E"
808
- }
809
- ],
810
- "start": 5.02,
811
- "startOffset": 109,
812
- "word": "activity",
813
- "idx": 19
814
- },
815
- {
816
- "alignedWord": "ahead",
817
- "case": "success",
818
- "end": 5.7299999999999995,
819
- "endOffset": 123,
820
- "phones": [
821
- {
822
- "duration": 0.02,
823
- "phone": "ah_B"
824
- },
825
- {
826
- "duration": 0.07,
827
- "phone": "hh_I"
828
- },
829
- {
830
- "duration": 0.11,
831
- "phone": "eh_I"
832
- },
833
- {
834
- "duration": 0.19,
835
- "phone": "d_E"
836
- }
837
- ],
838
- "start": 5.34,
839
- "startOffset": 118,
840
- "word": "ahead",
841
- "idx": 20
842
- },
843
- {
844
- "alignedWord": "dynamic",
845
- "case": "success",
846
- "end": 6.7,
847
- "endOffset": 132,
848
- "phones": [
849
- {
850
- "duration": 0.08,
851
- "phone": "d_B"
852
- },
853
- {
854
- "duration": 0.09,
855
- "phone": "ay_I"
856
- },
857
- {
858
- "duration": 0.06,
859
- "phone": "n_I"
860
- },
861
- {
862
- "duration": 0.06,
863
- "phone": "ae_I"
864
- },
865
- {
866
- "duration": 0.03,
867
- "phone": "m_I"
868
- },
869
- {
870
- "duration": 0.06,
871
- "phone": "ih_I"
872
- },
873
- {
874
- "duration": 0.08,
875
- "phone": "k_E"
876
- }
877
- ],
878
- "start": 6.24,
879
- "startOffset": 125,
880
- "word": "Dynamic",
881
- "idx": 21
882
- },
883
- {
884
- "alignedWord": "stretches",
885
- "case": "success",
886
- "end": 7.3,
887
- "endOffset": 142,
888
- "phones": [
889
- {
890
- "duration": 0.03,
891
- "phone": "s_B"
892
- },
893
- {
894
- "duration": 0.07,
895
- "phone": "t_I"
896
- },
897
- {
898
- "duration": 0.04,
899
- "phone": "r_I"
900
- },
901
- {
902
- "duration": 0.08,
903
- "phone": "eh_I"
904
- },
905
- {
906
- "duration": 0.11,
907
- "phone": "ch_I"
908
- },
909
- {
910
- "duration": 0.06,
911
- "phone": "ih_I"
912
- },
913
- {
914
- "duration": 0.21,
915
- "phone": "z_E"
916
- }
917
- ],
918
- "start": 6.7,
919
- "startOffset": 133,
920
- "word": "stretches",
921
- "idx": 22
922
- },
923
- {
924
- "alignedWord": "light",
925
- "case": "success",
926
- "end": 7.83,
927
- "endOffset": 149,
928
- "phones": [
929
- {
930
- "duration": 0.1,
931
- "phone": "l_B"
932
- },
933
- {
934
- "duration": 0.07,
935
- "phone": "ay_I"
936
- },
937
- {
938
- "duration": 0.06,
939
- "phone": "t_E"
940
- }
941
- ],
942
- "start": 7.6,
943
- "startOffset": 144,
944
- "word": "light",
945
- "idx": 23
946
- },
947
- {
948
- "alignedWord": "cardio",
949
- "case": "success",
950
- "end": 8.16,
951
- "endOffset": 156,
952
- "phones": [
953
- {
954
- "duration": 0.07,
955
- "phone": "k_B"
956
- },
957
- {
958
- "duration": 0.04,
959
- "phone": "aa_I"
960
- },
961
- {
962
- "duration": 0.03,
963
- "phone": "r_I"
964
- },
965
- {
966
- "duration": 0.07,
967
- "phone": "d_I"
968
- },
969
- {
970
- "duration": 0.05,
971
- "phone": "iy_I"
972
- },
973
- {
974
- "duration": 0.07,
975
- "phone": "ow_E"
976
- }
977
- ],
978
- "start": 7.83,
979
- "startOffset": 150,
980
- "word": "cardio",
981
- "idx": 24
982
- },
983
- {
984
- "alignedWord": "exercises",
985
- "case": "success",
986
- "end": 8.91,
987
- "endOffset": 166,
988
- "phones": [
989
- {
990
- "duration": 0.07,
991
- "phone": "eh_B"
992
- },
993
- {
994
- "duration": 0.06,
995
- "phone": "k_I"
996
- },
997
- {
998
- "duration": 0.06,
999
- "phone": "s_I"
1000
- },
1001
- {
1002
- "duration": 0.02,
1003
- "phone": "er_I"
1004
- },
1005
- {
1006
- "duration": 0.11,
1007
- "phone": "s_I"
1008
- },
1009
- {
1010
- "duration": 0.1,
1011
- "phone": "ay_I"
1012
- },
1013
- {
1014
- "duration": 0.05,
1015
- "phone": "z_I"
1016
- },
1017
- {
1018
- "duration": 0.09,
1019
- "phone": "ih_I"
1020
- },
1021
- {
1022
- "duration": 0.19,
1023
- "phone": "z_E"
1024
- }
1025
- ],
1026
- "start": 8.16,
1027
- "startOffset": 157,
1028
- "word": "exercises",
1029
- "idx": 25
1030
- },
1031
- {
1032
- "alignedWord": "or",
1033
- "case": "success",
1034
- "end": 9.19,
1035
- "endOffset": 170,
1036
- "phones": [
1037
- {
1038
- "duration": 0.11,
1039
- "phone": "er_S"
1040
- }
1041
- ],
1042
- "start": 9.08,
1043
- "startOffset": 168,
1044
- "word": "or",
1045
- "idx": 26
1046
- },
1047
- {
1048
- "alignedWord": "mobility",
1049
- "case": "success",
1050
- "end": 9.629999999999999,
1051
- "endOffset": 179,
1052
- "phones": [
1053
- {
1054
- "duration": 0.05,
1055
- "phone": "m_B"
1056
- },
1057
- {
1058
- "duration": 0.06,
1059
- "phone": "ow_I"
1060
- },
1061
- {
1062
- "duration": 0.04,
1063
- "phone": "b_I"
1064
- },
1065
- {
1066
- "duration": 0.06,
1067
- "phone": "ih_I"
1068
- },
1069
- {
1070
- "duration": 0.03,
1071
- "phone": "l_I"
1072
- },
1073
- {
1074
- "duration": 0.07,
1075
- "phone": "ah_I"
1076
- },
1077
- {
1078
- "duration": 0.07,
1079
- "phone": "t_I"
1080
- },
1081
- {
1082
- "duration": 0.06,
1083
- "phone": "iy_E"
1084
- }
1085
- ],
1086
- "start": 9.19,
1087
- "startOffset": 171,
1088
- "word": "mobility",
1089
- "idx": 27
1090
- },
1091
- {
1092
- "alignedWord": "drills",
1093
- "case": "success",
1094
- "end": 9.89,
1095
- "endOffset": 186,
1096
- "phones": [
1097
- {
1098
- "duration": 0.07,
1099
- "phone": "d_B"
1100
- },
1101
- {
1102
- "duration": 0.03,
1103
- "phone": "r_I"
1104
- },
1105
- {
1106
- "duration": 0.05,
1107
- "phone": "ih_I"
1108
- },
1109
- {
1110
- "duration": 0.03,
1111
- "phone": "l_I"
1112
- },
1113
- {
1114
- "duration": 0.08,
1115
- "phone": "z_E"
1116
- }
1117
- ],
1118
- "start": 9.63,
1119
- "startOffset": 180,
1120
- "word": "drills",
1121
- "idx": 28
1122
- },
1123
- {
1124
- "alignedWord": "can",
1125
- "case": "success",
1126
- "end": 10.019999,
1127
- "endOffset": 190,
1128
- "phones": [
1129
- {
1130
- "duration": 0.02,
1131
- "phone": "k_B"
1132
- },
1133
- {
1134
- "duration": 0.05,
1135
- "phone": "ah_I"
1136
- },
1137
- {
1138
- "duration": 0.06,
1139
- "phone": "n_E"
1140
- }
1141
- ],
1142
- "start": 9.889999,
1143
- "startOffset": 187,
1144
- "word": "can",
1145
- "idx": 29
1146
- },
1147
- {
1148
- "alignedWord": "help",
1149
- "case": "success",
1150
- "end": 10.24,
1151
- "endOffset": 195,
1152
- "phones": [
1153
- {
1154
- "duration": 0.02,
1155
- "phone": "hh_B"
1156
- },
1157
- {
1158
- "duration": 0.05,
1159
- "phone": "eh_I"
1160
- },
1161
- {
1162
- "duration": 0.06,
1163
- "phone": "l_I"
1164
- },
1165
- {
1166
- "duration": 0.09,
1167
- "phone": "p_E"
1168
- }
1169
- ],
1170
- "start": 10.02,
1171
- "startOffset": 191,
1172
- "word": "help",
1173
- "idx": 30
1174
- },
1175
- {
1176
- "alignedWord": "you",
1177
- "case": "success",
1178
- "end": 10.35,
1179
- "endOffset": 199,
1180
- "phones": [
1181
- {
1182
- "duration": 0.04,
1183
- "phone": "y_B"
1184
- },
1185
- {
1186
- "duration": 0.07,
1187
- "phone": "uw_E"
1188
- }
1189
- ],
1190
- "start": 10.24,
1191
- "startOffset": 196,
1192
- "word": "you",
1193
- "idx": 31
1194
- },
1195
- {
1196
- "alignedWord": "warm",
1197
- "case": "success",
1198
- "end": 10.549999,
1199
- "endOffset": 204,
1200
- "phones": [
1201
- {
1202
- "duration": 0.07,
1203
- "phone": "w_B"
1204
- },
1205
- {
1206
- "duration": 0.03,
1207
- "phone": "ao_I"
1208
- },
1209
- {
1210
- "duration": 0.05,
1211
- "phone": "r_I"
1212
- },
1213
- {
1214
- "duration": 0.05,
1215
- "phone": "m_E"
1216
- }
1217
- ],
1218
- "start": 10.349999,
1219
- "startOffset": 200,
1220
- "word": "warm",
1221
- "idx": 32
1222
- },
1223
- {
1224
- "alignedWord": "up",
1225
- "case": "success",
1226
- "end": 10.65,
1227
- "endOffset": 207,
1228
- "phones": [
1229
- {
1230
- "duration": 0.04,
1231
- "phone": "ah_B"
1232
- },
1233
- {
1234
- "duration": 0.06,
1235
- "phone": "p_E"
1236
- }
1237
- ],
1238
- "start": 10.55,
1239
- "startOffset": 205,
1240
- "word": "up",
1241
- "idx": 33
1242
- },
1243
- {
1244
- "alignedWord": "properly",
1245
- "case": "success",
1246
- "end": 11,
1247
- "endOffset": 216,
1248
- "phones": [
1249
- {
1250
- "duration": 0.06,
1251
- "phone": "p_B"
1252
- },
1253
- {
1254
- "duration": 0.01,
1255
- "phone": "r_I"
1256
- },
1257
- {
1258
- "duration": 0.06,
1259
- "phone": "aa_I"
1260
- },
1261
- {
1262
- "duration": 0.05,
1263
- "phone": "p_I"
1264
- },
1265
- {
1266
- "duration": 0.05,
1267
- "phone": "er_I"
1268
- },
1269
- {
1270
- "duration": 0.05,
1271
- "phone": "l_I"
1272
- },
1273
- {
1274
- "duration": 0.06,
1275
- "phone": "iy_E"
1276
- }
1277
- ],
1278
- "start": 10.66,
1279
- "startOffset": 208,
1280
- "word": "properly",
1281
- "idx": 34
1282
- },
1283
- {
1284
- "alignedWord": "and",
1285
- "case": "success",
1286
- "end": 11.13,
1287
- "endOffset": 220,
1288
- "phones": [
1289
- {
1290
- "duration": 0.06,
1291
- "phone": "ah_B"
1292
- },
1293
- {
1294
- "duration": 0.01,
1295
- "phone": "n_I"
1296
- },
1297
- {
1298
- "duration": 0.06,
1299
- "phone": "d_E"
1300
- }
1301
- ],
1302
- "start": 11,
1303
- "startOffset": 217,
1304
- "word": "and",
1305
- "idx": 35
1306
- },
1307
- {
1308
- "alignedWord": "reduce",
1309
- "case": "success",
1310
- "end": 11.440000000000001,
1311
- "endOffset": 227,
1312
- "phones": [
1313
- {
1314
- "duration": 0.02,
1315
- "phone": "r_B"
1316
- },
1317
- {
1318
- "duration": 0.06,
1319
- "phone": "ih_I"
1320
- },
1321
- {
1322
- "duration": 0.09,
1323
- "phone": "d_I"
1324
- },
1325
- {
1326
- "duration": 0.08,
1327
- "phone": "uw_I"
1328
- },
1329
- {
1330
- "duration": 0.06,
1331
- "phone": "s_E"
1332
- }
1333
- ],
1334
- "start": 11.13,
1335
- "startOffset": 221,
1336
- "word": "reduce",
1337
- "idx": 36
1338
- },
1339
- {
1340
- "alignedWord": "the",
1341
- "case": "success",
1342
- "end": 11.549999999999999,
1343
- "endOffset": 231,
1344
- "phones": [
1345
- {
1346
- "duration": 0.05,
1347
- "phone": "dh_B"
1348
- },
1349
- {
1350
- "duration": 0.06,
1351
- "phone": "ah_E"
1352
- }
1353
- ],
1354
- "start": 11.44,
1355
- "startOffset": 228,
1356
- "word": "the",
1357
- "idx": 37
1358
- },
1359
- {
1360
- "alignedWord": "risk",
1361
- "case": "success",
1362
- "end": 11.81,
1363
- "endOffset": 236,
1364
- "phones": [
1365
- {
1366
- "duration": 0.04,
1367
- "phone": "r_B"
1368
- },
1369
- {
1370
- "duration": 0.09,
1371
- "phone": "ih_I"
1372
- },
1373
- {
1374
- "duration": 0.09,
1375
- "phone": "s_I"
1376
- },
1377
- {
1378
- "duration": 0.04,
1379
- "phone": "k_E"
1380
- }
1381
- ],
1382
- "start": 11.55,
1383
- "startOffset": 232,
1384
- "word": "risk",
1385
- "idx": 38
1386
- },
1387
- {
1388
- "alignedWord": "of",
1389
- "case": "success",
1390
- "end": 11.909999,
1391
- "endOffset": 239,
1392
- "phones": [
1393
- {
1394
- "duration": 0.05,
1395
- "phone": "ah_B"
1396
- },
1397
- {
1398
- "duration": 0.05,
1399
- "phone": "v_E"
1400
- }
1401
- ],
1402
- "start": 11.809999,
1403
- "startOffset": 237,
1404
- "word": "of",
1405
- "idx": 39
1406
- },
1407
- {
1408
- "alignedWord": "injury",
1409
- "case": "success",
1410
- "end": 12.39,
1411
- "endOffset": 246,
1412
- "phones": [
1413
- {
1414
- "duration": 0.05,
1415
- "phone": "ih_B"
1416
- },
1417
- {
1418
- "duration": 0.07,
1419
- "phone": "n_I"
1420
- },
1421
- {
1422
- "duration": 0.08,
1423
- "phone": "jh_I"
1424
- },
1425
- {
1426
- "duration": 0.1,
1427
- "phone": "er_I"
1428
- },
1429
- {
1430
- "duration": 0.18,
1431
- "phone": "iy_E"
1432
- }
1433
- ],
1434
- "start": 11.91,
1435
- "startOffset": 240,
1436
- "word": "injury",
1437
- "idx": 40
1438
- },
1439
- {
1440
- "alignedWord": "without",
1441
- "case": "success",
1442
- "end": 13.209999999999999,
1443
- "endOffset": 255,
1444
- "phones": [
1445
- {
1446
- "duration": 0.08,
1447
- "phone": "w_B"
1448
- },
1449
- {
1450
- "duration": 0.04,
1451
- "phone": "ih_I"
1452
- },
1453
- {
1454
- "duration": 0.06,
1455
- "phone": "th_I"
1456
- },
1457
- {
1458
- "duration": 0.06,
1459
- "phone": "aw_I"
1460
- },
1461
- {
1462
- "duration": 0.05,
1463
- "phone": "t_E"
1464
- }
1465
- ],
1466
- "start": 12.92,
1467
- "startOffset": 248,
1468
- "word": "Without",
1469
- "idx": 41
1470
- },
1471
- {
1472
- "alignedWord": "a",
1473
- "case": "success",
1474
- "end": 13.260000000000002,
1475
- "endOffset": 257,
1476
- "phones": [
1477
- {
1478
- "duration": 0.05,
1479
- "phone": "ah_S"
1480
- }
1481
- ],
1482
- "start": 13.21,
1483
- "startOffset": 256,
1484
- "word": "a",
1485
- "idx": 42
1486
- },
1487
- {
1488
- "alignedWord": "proper",
1489
- "case": "success",
1490
- "end": 13.549999,
1491
- "endOffset": 264,
1492
- "phones": [
1493
- {
1494
- "duration": 0.07,
1495
- "phone": "p_B"
1496
- },
1497
- {
1498
- "duration": 0.05,
1499
- "phone": "r_I"
1500
- },
1501
- {
1502
- "duration": 0.07,
1503
- "phone": "aa_I"
1504
- },
1505
- {
1506
- "duration": 0.05,
1507
- "phone": "p_I"
1508
- },
1509
- {
1510
- "duration": 0.05,
1511
- "phone": "er_E"
1512
- }
1513
- ],
1514
- "start": 13.259999,
1515
- "startOffset": 258,
1516
- "word": "proper",
1517
- "idx": 43
1518
- },
1519
- {
1520
- "alignedWord": "warm",
1521
- "case": "success",
1522
- "end": 13.759999,
1523
- "endOffset": 269,
1524
- "phones": [
1525
- {
1526
- "duration": 0.07,
1527
- "phone": "w_B"
1528
- },
1529
- {
1530
- "duration": 0.06,
1531
- "phone": "ao_I"
1532
- },
1533
- {
1534
- "duration": 0.05,
1535
- "phone": "r_I"
1536
- },
1537
- {
1538
- "duration": 0.03,
1539
- "phone": "m_E"
1540
- }
1541
- ],
1542
- "start": 13.549999,
1543
- "startOffset": 265,
1544
- "word": "warm",
1545
- "idx": 44
1546
- },
1547
- {
1548
- "alignedWord": "up",
1549
- "case": "success",
1550
- "end": 14.049999,
1551
- "endOffset": 272,
1552
- "phones": [
1553
- {
1554
- "duration": 0.08,
1555
- "phone": "ah_B"
1556
- },
1557
- {
1558
- "duration": 0.21,
1559
- "phone": "p_E"
1560
- }
1561
- ],
1562
- "start": 13.759999,
1563
- "startOffset": 270,
1564
- "word": "up",
1565
- "idx": 45
1566
- },
1567
- {
1568
- "alignedWord": "you",
1569
- "case": "success",
1570
- "end": 14.309999,
1571
- "endOffset": 277,
1572
- "phones": [
1573
- {
1574
- "duration": 0.12,
1575
- "phone": "y_B"
1576
- },
1577
- {
1578
- "duration": 0.05,
1579
- "phone": "uw_E"
1580
- }
1581
- ],
1582
- "start": 14.139999,
1583
- "startOffset": 274,
1584
- "word": "you",
1585
- "idx": 46
1586
- },
1587
- {
1588
- "alignedWord": "may",
1589
- "case": "success",
1590
- "end": 14.489999,
1591
- "endOffset": 281,
1592
- "phones": [
1593
- {
1594
- "duration": 0.09,
1595
- "phone": "m_B"
1596
- },
1597
- {
1598
- "duration": 0.09,
1599
- "phone": "ey_E"
1600
- }
1601
- ],
1602
- "start": 14.309999,
1603
- "startOffset": 278,
1604
- "word": "may",
1605
- "idx": 47
1606
- },
1607
- {
1608
- "alignedWord": "experience",
1609
- "case": "success",
1610
- "end": 14.93,
1611
- "endOffset": 292,
1612
- "phones": [
1613
- {
1614
- "duration": 0.01,
1615
- "phone": "ih_B"
1616
- },
1617
- {
1618
- "duration": 0.05,
1619
- "phone": "k_I"
1620
- },
1621
- {
1622
- "duration": 0.06,
1623
- "phone": "s_I"
1624
- },
1625
- {
1626
- "duration": 0.03,
1627
- "phone": "p_I"
1628
- },
1629
- {
1630
- "duration": 0.1,
1631
- "phone": "ih_I"
1632
- },
1633
- {
1634
- "duration": 0.05,
1635
- "phone": "r_I"
1636
- },
1637
- {
1638
- "duration": 0.03,
1639
- "phone": "iy_I"
1640
- },
1641
- {
1642
- "duration": 0.03,
1643
- "phone": "ah_I"
1644
- },
1645
- {
1646
- "duration": 0.07,
1647
- "phone": "n_I"
1648
- },
1649
- {
1650
- "duration": 0.01,
1651
- "phone": "s_E"
1652
- }
1653
- ],
1654
- "start": 14.49,
1655
- "startOffset": 282,
1656
- "word": "experience",
1657
- "idx": 48
1658
- },
1659
- {
1660
- "alignedWord": "discomfort",
1661
- "case": "success",
1662
- "end": 15.449999,
1663
- "endOffset": 303,
1664
- "phones": [
1665
- {
1666
- "duration": 0.01,
1667
- "phone": "d_B"
1668
- },
1669
- {
1670
- "duration": 0.01,
1671
- "phone": "ih_I"
1672
- },
1673
- {
1674
- "duration": 0.11,
1675
- "phone": "s_I"
1676
- },
1677
- {
1678
- "duration": 0.06,
1679
- "phone": "k_I"
1680
- },
1681
- {
1682
- "duration": 0.05,
1683
- "phone": "ah_I"
1684
- },
1685
- {
1686
- "duration": 0.07,
1687
- "phone": "m_I"
1688
- },
1689
- {
1690
- "duration": 0.06,
1691
- "phone": "f_I"
1692
- },
1693
- {
1694
- "duration": 0.05,
1695
- "phone": "er_I"
1696
- },
1697
- {
1698
- "duration": 0.1,
1699
- "phone": "t_E"
1700
- }
1701
- ],
1702
- "start": 14.929999,
1703
- "startOffset": 293,
1704
- "word": "discomfort",
1705
- "idx": 49
1706
- },
1707
- {
1708
- "alignedWord": "or",
1709
- "case": "success",
1710
- "end": 15.64,
1711
- "endOffset": 306,
1712
- "phones": [
1713
- {
1714
- "duration": 0.08,
1715
- "phone": "ao_B"
1716
- },
1717
- {
1718
- "duration": 0.06,
1719
- "phone": "r_E"
1720
- }
1721
- ],
1722
- "start": 15.5,
1723
- "startOffset": 304,
1724
- "word": "or",
1725
- "idx": 50
1726
- },
1727
- {
1728
- "alignedWord": "strains",
1729
- "case": "success",
1730
- "end": 15.989999,
1731
- "endOffset": 314,
1732
- "phones": [
1733
- {
1734
- "duration": 0.05,
1735
- "phone": "s_B"
1736
- },
1737
- {
1738
- "duration": 0.05,
1739
- "phone": "t_I"
1740
- },
1741
- {
1742
- "duration": 0.06,
1743
- "phone": "r_I"
1744
- },
1745
- {
1746
- "duration": 0.06,
1747
- "phone": "ey_I"
1748
- },
1749
- {
1750
- "duration": 0.06,
1751
- "phone": "n_I"
1752
- },
1753
- {
1754
- "duration": 0.07,
1755
- "phone": "z_E"
1756
- }
1757
- ],
1758
- "start": 15.639999,
1759
- "startOffset": 307,
1760
- "word": "strains",
1761
- "idx": 51
1762
- },
1763
- {
1764
- "alignedWord": "during",
1765
- "case": "success",
1766
- "end": 16.21,
1767
- "endOffset": 321,
1768
- "phones": [
1769
- {
1770
- "duration": 0.05,
1771
- "phone": "d_B"
1772
- },
1773
- {
1774
- "duration": 0.09,
1775
- "phone": "er_I"
1776
- },
1777
- {
1778
- "duration": 0.03,
1779
- "phone": "ih_I"
1780
- },
1781
- {
1782
- "duration": 0.05,
1783
- "phone": "ng_E"
1784
- }
1785
- ],
1786
- "start": 15.99,
1787
- "startOffset": 315,
1788
- "word": "during",
1789
- "idx": 52
1790
- },
1791
- {
1792
- "alignedWord": "the",
1793
- "case": "success",
1794
- "end": 16.309999,
1795
- "endOffset": 325,
1796
- "phones": [
1797
- {
1798
- "duration": 0.04,
1799
- "phone": "dh_B"
1800
- },
1801
- {
1802
- "duration": 0.06,
1803
- "phone": "ah_E"
1804
- }
1805
- ],
1806
- "start": 16.209999,
1807
- "startOffset": 322,
1808
- "word": "the",
1809
- "idx": 53
1810
- },
1811
- {
1812
- "alignedWord": "workout",
1813
- "case": "success",
1814
- "end": 16.839999000000002,
1815
- "endOffset": 333,
1816
- "phones": [
1817
- {
1818
- "duration": 0.08,
1819
- "phone": "w_B"
1820
- },
1821
- {
1822
- "duration": 0.09,
1823
- "phone": "er_I"
1824
- },
1825
- {
1826
- "duration": 0.08,
1827
- "phone": "k_I"
1828
- },
1829
- {
1830
- "duration": 0.09,
1831
- "phone": "aw_I"
1832
- },
1833
- {
1834
- "duration": 0.19,
1835
- "phone": "t_E"
1836
- }
1837
- ],
1838
- "start": 16.309999,
1839
- "startOffset": 326,
1840
- "word": "workout",
1841
- "idx": 54
1842
- },
1843
- {
1844
- "alignedWord": "additionally",
1845
- "case": "success",
1846
- "end": 18.11,
1847
- "endOffset": 347,
1848
- "phones": [
1849
- {
1850
- "duration": 0.1,
1851
- "phone": "ah_B"
1852
- },
1853
- {
1854
- "duration": 0.08,
1855
- "phone": "d_I"
1856
- },
1857
- {
1858
- "duration": 0.06,
1859
- "phone": "ih_I"
1860
- },
1861
- {
1862
- "duration": 0.1,
1863
- "phone": "sh_I"
1864
- },
1865
- {
1866
- "duration": 0.01,
1867
- "phone": "ah_I"
1868
- },
1869
- {
1870
- "duration": 0.05,
1871
- "phone": "n_I"
1872
- },
1873
- {
1874
- "duration": 0.07,
1875
- "phone": "ah_I"
1876
- },
1877
- {
1878
- "duration": 0.09,
1879
- "phone": "l_I"
1880
- },
1881
- {
1882
- "duration": 0.21,
1883
- "phone": "iy_E"
1884
- }
1885
- ],
1886
- "start": 17.34,
1887
- "startOffset": 335,
1888
- "word": "Additionally",
1889
- "idx": 55
1890
- },
1891
- {
1892
- "alignedWord": "warming",
1893
- "case": "success",
1894
- "end": 18.57,
1895
- "endOffset": 356,
1896
- "phones": [
1897
- {
1898
- "duration": 0.12,
1899
- "phone": "w_B"
1900
- },
1901
- {
1902
- "duration": 0.06,
1903
- "phone": "ao_I"
1904
- },
1905
- {
1906
- "duration": 0.04,
1907
- "phone": "r_I"
1908
- },
1909
- {
1910
- "duration": 0.03,
1911
- "phone": "m_I"
1912
- },
1913
- {
1914
- "duration": 0.07,
1915
- "phone": "ih_I"
1916
- },
1917
- {
1918
- "duration": 0.07,
1919
- "phone": "ng_E"
1920
- }
1921
- ],
1922
- "start": 18.18,
1923
- "startOffset": 349,
1924
- "word": "warming",
1925
- "idx": 56
1926
- },
1927
- {
1928
- "alignedWord": "up",
1929
- "case": "success",
1930
- "end": 18.69,
1931
- "endOffset": 359,
1932
- "phones": [
1933
- {
1934
- "duration": 0.05,
1935
- "phone": "ah_B"
1936
- },
1937
- {
1938
- "duration": 0.07,
1939
- "phone": "p_E"
1940
- }
1941
- ],
1942
- "start": 18.57,
1943
- "startOffset": 357,
1944
- "word": "up",
1945
- "idx": 57
1946
- },
1947
- {
1948
- "alignedWord": "increases",
1949
- "case": "success",
1950
- "end": 19.190001,
1951
- "endOffset": 369,
1952
- "phones": [
1953
- {
1954
- "duration": 0.06,
1955
- "phone": "ih_B"
1956
- },
1957
- {
1958
- "duration": 0.06,
1959
- "phone": "n_I"
1960
- },
1961
- {
1962
- "duration": 0.05,
1963
- "phone": "k_I"
1964
- },
1965
- {
1966
- "duration": 0.07,
1967
- "phone": "r_I"
1968
- },
1969
- {
1970
- "duration": 0.04,
1971
- "phone": "iy_I"
1972
- },
1973
- {
1974
- "duration": 0.06,
1975
- "phone": "s_I"
1976
- },
1977
- {
1978
- "duration": 0.07,
1979
- "phone": "ih_I"
1980
- },
1981
- {
1982
- "duration": 0.09,
1983
- "phone": "z_E"
1984
- }
1985
- ],
1986
- "start": 18.690001,
1987
- "startOffset": 360,
1988
- "word": "increases",
1989
- "idx": 58
1990
- },
1991
- {
1992
- "alignedWord": "your",
1993
- "case": "success",
1994
- "end": 19.289999,
1995
- "endOffset": 374,
1996
- "phones": [
1997
- {
1998
- "duration": 0.02,
1999
- "phone": "y_B"
2000
- },
2001
- {
2002
- "duration": 0.04,
2003
- "phone": "uh_I"
2004
- },
2005
- {
2006
- "duration": 0.04,
2007
- "phone": "r_E"
2008
- }
2009
- ],
2010
- "start": 19.189999,
2011
- "startOffset": 370,
2012
- "word": "your",
2013
- "idx": 59
2014
- },
2015
- {
2016
- "alignedWord": "heart",
2017
- "case": "success",
2018
- "end": 19.499999000000003,
2019
- "endOffset": 380,
2020
- "phones": [
2021
- {
2022
- "duration": 0.06,
2023
- "phone": "hh_B"
2024
- },
2025
- {
2026
- "duration": 0.07,
2027
- "phone": "aa_I"
2028
- },
2029
- {
2030
- "duration": 0.02,
2031
- "phone": "r_I"
2032
- },
2033
- {
2034
- "duration": 0.06,
2035
- "phone": "t_E"
2036
- }
2037
- ],
2038
- "start": 19.289999,
2039
- "startOffset": 375,
2040
- "word": "heart",
2041
- "idx": 60
2042
- },
2043
- {
2044
- "alignedWord": "rate",
2045
- "case": "success",
2046
- "end": 19.819999000000003,
2047
- "endOffset": 385,
2048
- "phones": [
2049
- {
2050
- "duration": 0.12,
2051
- "phone": "r_B"
2052
- },
2053
- {
2054
- "duration": 0.06,
2055
- "phone": "ey_I"
2056
- },
2057
- {
2058
- "duration": 0.13,
2059
- "phone": "t_E"
2060
- }
2061
- ],
2062
- "start": 19.509999000000004,
2063
- "startOffset": 381,
2064
- "word": "rate",
2065
- "idx": 61
2066
- },
2067
- {
2068
- "alignedWord": "and",
2069
- "case": "success",
2070
- "end": 19.969999,
2071
- "endOffset": 389,
2072
- "phones": [
2073
- {
2074
- "duration": 0.03,
2075
- "phone": "ah_B"
2076
- },
2077
- {
2078
- "duration": 0.04,
2079
- "phone": "n_I"
2080
- },
2081
- {
2082
- "duration": 0.06,
2083
- "phone": "d_E"
2084
- }
2085
- ],
2086
- "start": 19.839999000000002,
2087
- "startOffset": 386,
2088
- "word": "and",
2089
- "idx": 62
2090
- },
2091
- {
2092
- "alignedWord": "circulation",
2093
- "case": "success",
2094
- "end": 20.759999000000004,
2095
- "endOffset": 401,
2096
- "phones": [
2097
- {
2098
- "duration": 0.08,
2099
- "phone": "s_B"
2100
- },
2101
- {
2102
- "duration": 0.05,
2103
- "phone": "er_I"
2104
- },
2105
- {
2106
- "duration": 0.06,
2107
- "phone": "k_I"
2108
- },
2109
- {
2110
- "duration": 0.01,
2111
- "phone": "y_I"
2112
- },
2113
- {
2114
- "duration": 0.04,
2115
- "phone": "ah_I"
2116
- },
2117
- {
2118
- "duration": 0.08,
2119
- "phone": "l_I"
2120
- },
2121
- {
2122
- "duration": 0.06,
2123
- "phone": "ey_I"
2124
- },
2125
- {
2126
- "duration": 0.09,
2127
- "phone": "sh_I"
2128
- },
2129
- {
2130
- "duration": 0.06,
2131
- "phone": "ah_I"
2132
- },
2133
- {
2134
- "duration": 0.26,
2135
- "phone": "n_E"
2136
- }
2137
- ],
2138
- "start": 19.969999,
2139
- "startOffset": 390,
2140
- "word": "circulation",
2141
- "idx": 63
2142
- },
2143
- {
2144
- "case": "not-found-in-audio",
2145
- "endOffset": 411,
2146
- "startOffset": 403,
2147
- "word": "allowing",
2148
- "idx": 64,
2149
- "start": 20.759999000000004,
2150
- "end": 21.244570428571432
2151
- },
2152
- {
2153
- "case": "not-found-in-audio",
2154
- "endOffset": 416,
2155
- "startOffset": 412,
2156
- "word": "your",
2157
- "idx": 65,
2158
- "start": 21.244570428571432,
2159
- "end": 21.486856142857146
2160
- },
2161
- {
2162
- "case": "not-found-in-audio",
2163
- "endOffset": 424,
2164
- "startOffset": 417,
2165
- "word": "muscles",
2166
- "idx": 66,
2167
- "start": 21.486856142857146,
2168
- "end": 21.910856142857146
2169
- },
2170
- {
2171
- "case": "not-found-in-audio",
2172
- "endOffset": 427,
2173
- "startOffset": 425,
2174
- "word": "to",
2175
- "idx": 67,
2176
- "start": 21.910856142857146,
2177
- "end": 22.031999000000003
2178
- },
2179
- {
2180
- "case": "not-found-in-audio",
2181
- "endOffset": 435,
2182
- "startOffset": 428,
2183
- "word": "receive",
2184
- "idx": 68,
2185
- "start": 22.031999000000003,
2186
- "end": 22.455999000000002
2187
- },
2188
- {
2189
- "case": "not-found-in-audio",
2190
- "endOffset": 439,
2191
- "startOffset": 436,
2192
- "word": "the",
2193
- "idx": 69,
2194
- "start": 22.455999000000002,
2195
- "end": 22.637713285714288
2196
- },
2197
- {
2198
- "case": "not-found-in-audio",
2199
- "endOffset": 449,
2200
- "startOffset": 440,
2201
- "word": "nutrients",
2202
- "idx": 70,
2203
- "start": 22.637713285714288,
2204
- "end": 23.182856142857144
2205
- },
2206
- {
2207
- "case": "not-found-in-audio",
2208
- "endOffset": 453,
2209
- "startOffset": 450,
2210
- "word": "and",
2211
- "idx": 71,
2212
- "start": 23.182856142857144,
2213
- "end": 23.36457042857143
2214
- },
2215
- {
2216
- "case": "not-found-in-audio",
2217
- "endOffset": 460,
2218
- "startOffset": 454,
2219
- "word": "oxygen",
2220
- "idx": 72,
2221
- "start": 23.36457042857143,
2222
- "end": 23.727999
2223
- },
2224
- {
2225
- "case": "not-found-in-audio",
2226
- "endOffset": 465,
2227
- "startOffset": 461,
2228
- "word": "they",
2229
- "idx": 73,
2230
- "start": 23.727999,
2231
- "end": 23.970284714285715
2232
- },
2233
- {
2234
- "case": "not-found-in-audio",
2235
- "endOffset": 470,
2236
- "startOffset": 466,
2237
- "word": "need",
2238
- "idx": 74,
2239
- "start": 23.970284714285715,
2240
- "end": 24.21257042857143
2241
- },
2242
- {
2243
- "case": "not-found-in-audio",
2244
- "endOffset": 473,
2245
- "startOffset": 471,
2246
- "word": "to",
2247
- "idx": 75,
2248
- "start": 24.21257042857143,
2249
- "end": 24.333713285714285
2250
- },
2251
- {
2252
- "case": "not-found-in-audio",
2253
- "endOffset": 482,
2254
- "startOffset": 474,
2255
- "word": "function",
2256
- "idx": 76,
2257
- "start": 24.333713285714285,
2258
- "end": 24.818284714285713
2259
- },
2260
- {
2261
- "alignedWord": "<unk>",
2262
- "case": "success",
2263
- "end": 24.77,
2264
- "endOffset": 492,
2265
- "phones": [
2266
- {
2267
- "duration": 3.84,
2268
- "phone": "oov_S"
2269
- }
2270
- ],
2271
- "start": 20.93,
2272
- "startOffset": 483,
2273
- "word": "optimally",
2274
- "idx": 77
2275
- },
2276
- {
2277
- "alignedWord": "remember",
2278
- "case": "success",
2279
- "end": 25.88,
2280
- "endOffset": 502,
2281
- "phones": [
2282
- {
2283
- "duration": 0.08,
2284
- "phone": "r_B"
2285
- },
2286
- {
2287
- "duration": 0.06,
2288
- "phone": "iy_I"
2289
- },
2290
- {
2291
- "duration": 0.05,
2292
- "phone": "m_I"
2293
- },
2294
- {
2295
- "duration": 0.08,
2296
- "phone": "eh_I"
2297
- },
2298
- {
2299
- "duration": 0.08,
2300
- "phone": "m_I"
2301
- },
2302
- {
2303
- "duration": 0.05,
2304
- "phone": "b_I"
2305
- },
2306
- {
2307
- "duration": 0.16,
2308
- "phone": "er_E"
2309
- }
2310
- ],
2311
- "start": 25.32,
2312
- "startOffset": 494,
2313
- "word": "Remember",
2314
- "idx": 78
2315
- },
2316
- {
2317
- "alignedWord": "a",
2318
- "case": "success",
2319
- "end": 26.11,
2320
- "endOffset": 505,
2321
- "phones": [
2322
- {
2323
- "duration": 0.09,
2324
- "phone": "ah_S"
2325
- }
2326
- ],
2327
- "start": 26.02,
2328
- "startOffset": 504,
2329
- "word": "a",
2330
- "idx": 79
2331
- },
2332
- {
2333
- "alignedWord": "good",
2334
- "case": "success",
2335
- "end": 26.31,
2336
- "endOffset": 510,
2337
- "phones": [
2338
- {
2339
- "duration": 0.07,
2340
- "phone": "g_B"
2341
- },
2342
- {
2343
- "duration": 0.05,
2344
- "phone": "uh_I"
2345
- },
2346
- {
2347
- "duration": 0.08,
2348
- "phone": "d_E"
2349
- }
2350
- ],
2351
- "start": 26.11,
2352
- "startOffset": 506,
2353
- "word": "good",
2354
- "idx": 80
2355
- },
2356
- {
2357
- "alignedWord": "warm",
2358
- "case": "success",
2359
- "end": 26.509998999999997,
2360
- "endOffset": 515,
2361
- "phones": [
2362
- {
2363
- "duration": 0.06,
2364
- "phone": "w_B"
2365
- },
2366
- {
2367
- "duration": 0.03,
2368
- "phone": "ao_I"
2369
- },
2370
- {
2371
- "duration": 0.05,
2372
- "phone": "r_I"
2373
- },
2374
- {
2375
- "duration": 0.06,
2376
- "phone": "m_E"
2377
- }
2378
- ],
2379
- "start": 26.309998999999998,
2380
- "startOffset": 511,
2381
- "word": "warm",
2382
- "idx": 81
2383
- },
2384
- {
2385
- "alignedWord": "up",
2386
- "case": "success",
2387
- "end": 26.659999999999997,
2388
- "endOffset": 518,
2389
- "phones": [
2390
- {
2391
- "duration": 0.08,
2392
- "phone": "ah_B"
2393
- },
2394
- {
2395
- "duration": 0.07,
2396
- "phone": "p_E"
2397
- }
2398
- ],
2399
- "start": 26.509999999999998,
2400
- "startOffset": 516,
2401
- "word": "up",
2402
- "idx": 82
2403
- },
2404
- {
2405
- "alignedWord": "session",
2406
- "case": "success",
2407
- "end": 27.03,
2408
- "endOffset": 526,
2409
- "phones": [
2410
- {
2411
- "duration": 0.07,
2412
- "phone": "s_B"
2413
- },
2414
- {
2415
- "duration": 0.07,
2416
- "phone": "eh_I"
2417
- },
2418
- {
2419
- "duration": 0.08,
2420
- "phone": "sh_I"
2421
- },
2422
- {
2423
- "duration": 0.07,
2424
- "phone": "ah_I"
2425
- },
2426
- {
2427
- "duration": 0.08,
2428
- "phone": "n_E"
2429
- }
2430
- ],
2431
- "start": 26.66,
2432
- "startOffset": 519,
2433
- "word": "session",
2434
- "idx": 83
2435
- },
2436
- {
2437
- "alignedWord": "can",
2438
- "case": "success",
2439
- "end": 27.17,
2440
- "endOffset": 530,
2441
- "phones": [
2442
- {
2443
- "duration": 0.07,
2444
- "phone": "k_B"
2445
- },
2446
- {
2447
- "duration": 0.04,
2448
- "phone": "ah_I"
2449
- },
2450
- {
2451
- "duration": 0.03,
2452
- "phone": "n_E"
2453
- }
2454
- ],
2455
- "start": 27.03,
2456
- "startOffset": 527,
2457
- "word": "can",
2458
- "idx": 84
2459
- },
2460
- {
2461
- "alignedWord": "make",
2462
- "case": "success",
2463
- "end": 27.360000000000003,
2464
- "endOffset": 535,
2465
- "phones": [
2466
- {
2467
- "duration": 0.05,
2468
- "phone": "m_B"
2469
- },
2470
- {
2471
- "duration": 0.09,
2472
- "phone": "ey_I"
2473
- },
2474
- {
2475
- "duration": 0.05,
2476
- "phone": "k_E"
2477
- }
2478
- ],
2479
- "start": 27.17,
2480
- "startOffset": 531,
2481
- "word": "make",
2482
- "idx": 85
2483
- },
2484
- {
2485
- "alignedWord": "a",
2486
- "case": "success",
2487
- "end": 27.4,
2488
- "endOffset": 537,
2489
- "phones": [
2490
- {
2491
- "duration": 0.04,
2492
- "phone": "ah_S"
2493
- }
2494
- ],
2495
- "start": 27.36,
2496
- "startOffset": 536,
2497
- "word": "a",
2498
- "idx": 86
2499
- },
2500
- {
2501
- "alignedWord": "significant",
2502
- "case": "success",
2503
- "end": 27.9,
2504
- "endOffset": 549,
2505
- "phones": [
2506
- {
2507
- "duration": 0.06,
2508
- "phone": "s_B"
2509
- },
2510
- {
2511
- "duration": 0.05,
2512
- "phone": "ih_I"
2513
- },
2514
- {
2515
- "duration": 0.06,
2516
- "phone": "g_I"
2517
- },
2518
- {
2519
- "duration": 0.04,
2520
- "phone": "n_I"
2521
- },
2522
- {
2523
- "duration": 0.04,
2524
- "phone": "ih_I"
2525
- },
2526
- {
2527
- "duration": 0.05,
2528
- "phone": "f_I"
2529
- },
2530
- {
2531
- "duration": 0.07,
2532
- "phone": "ih_I"
2533
- },
2534
- {
2535
- "duration": 0.03,
2536
- "phone": "k_I"
2537
- },
2538
- {
2539
- "duration": 0.04,
2540
- "phone": "ah_I"
2541
- },
2542
- {
2543
- "duration": 0.04,
2544
- "phone": "n_I"
2545
- },
2546
- {
2547
- "duration": 0.02,
2548
- "phone": "t_E"
2549
- }
2550
- ],
2551
- "start": 27.4,
2552
- "startOffset": 538,
2553
- "word": "significant",
2554
- "idx": 87
2555
- },
2556
- {
2557
- "alignedWord": "difference",
2558
- "case": "success",
2559
- "end": 28.299999999999997,
2560
- "endOffset": 560,
2561
- "phones": [
2562
- {
2563
- "duration": 0.03,
2564
- "phone": "d_B"
2565
- },
2566
- {
2567
- "duration": 0.1,
2568
- "phone": "ih_I"
2569
- },
2570
- {
2571
- "duration": 0.07,
2572
- "phone": "f_I"
2573
- },
2574
- {
2575
- "duration": 0.03,
2576
- "phone": "r_I"
2577
- },
2578
- {
2579
- "duration": 0.04,
2580
- "phone": "ah_I"
2581
- },
2582
- {
2583
- "duration": 0.05,
2584
- "phone": "n_I"
2585
- },
2586
- {
2587
- "duration": 0.08,
2588
- "phone": "s_E"
2589
- }
2590
- ],
2591
- "start": 27.9,
2592
- "startOffset": 550,
2593
- "word": "difference",
2594
- "idx": 88
2595
- },
2596
- {
2597
- "alignedWord": "in",
2598
- "case": "success",
2599
- "end": 28.439998999999997,
2600
- "endOffset": 563,
2601
- "phones": [
2602
- {
2603
- "duration": 0.07,
2604
- "phone": "ih_B"
2605
- },
2606
- {
2607
- "duration": 0.06,
2608
- "phone": "n_E"
2609
- }
2610
- ],
2611
- "start": 28.309998999999998,
2612
- "startOffset": 561,
2613
- "word": "in",
2614
- "idx": 89
2615
- },
2616
- {
2617
- "alignedWord": "your",
2618
- "case": "success",
2619
- "end": 28.56,
2620
- "endOffset": 568,
2621
- "phones": [
2622
- {
2623
- "duration": 0.03,
2624
- "phone": "y_B"
2625
- },
2626
- {
2627
- "duration": 0.04,
2628
- "phone": "uh_I"
2629
- },
2630
- {
2631
- "duration": 0.05,
2632
- "phone": "r_E"
2633
- }
2634
- ],
2635
- "start": 28.439999999999998,
2636
- "startOffset": 564,
2637
- "word": "your",
2638
- "idx": 90
2639
- },
2640
- {
2641
- "alignedWord": "overall",
2642
- "case": "success",
2643
- "end": 28.869998999999996,
2644
- "endOffset": 576,
2645
- "phones": [
2646
- {
2647
- "duration": 0.06,
2648
- "phone": "ow_B"
2649
- },
2650
- {
2651
- "duration": 0.1,
2652
- "phone": "v_I"
2653
- },
2654
- {
2655
- "duration": 0.06,
2656
- "phone": "er_I"
2657
- },
2658
- {
2659
- "duration": 0.03,
2660
- "phone": "ao_I"
2661
- },
2662
- {
2663
- "duration": 0.06,
2664
- "phone": "l_E"
2665
- }
2666
- ],
2667
- "start": 28.559998999999998,
2668
- "startOffset": 569,
2669
- "word": "overall",
2670
- "idx": 91
2671
- },
2672
- {
2673
- "alignedWord": "workout",
2674
- "case": "success",
2675
- "end": 29.249999999999996,
2676
- "endOffset": 584,
2677
- "phones": [
2678
- {
2679
- "duration": 0.09,
2680
- "phone": "w_B"
2681
- },
2682
- {
2683
- "duration": 0.07,
2684
- "phone": "er_I"
2685
- },
2686
- {
2687
- "duration": 0.08,
2688
- "phone": "k_I"
2689
- },
2690
- {
2691
- "duration": 0.07,
2692
- "phone": "aw_I"
2693
- },
2694
- {
2695
- "duration": 0.07,
2696
- "phone": "t_E"
2697
- }
2698
- ],
2699
- "start": 28.869999999999997,
2700
- "startOffset": 577,
2701
- "word": "workout",
2702
- "idx": 92
2703
- },
2704
- {
2705
- "alignedWord": "performance",
2706
- "case": "success",
2707
- "end": 29.93,
2708
- "endOffset": 596,
2709
- "phones": [
2710
- {
2711
- "duration": 0.06,
2712
- "phone": "p_B"
2713
- },
2714
- {
2715
- "duration": 0.05,
2716
- "phone": "er_I"
2717
- },
2718
- {
2719
- "duration": 0.08,
2720
- "phone": "f_I"
2721
- },
2722
- {
2723
- "duration": 0.05,
2724
- "phone": "ao_I"
2725
- },
2726
- {
2727
- "duration": 0.05,
2728
- "phone": "r_I"
2729
- },
2730
- {
2731
- "duration": 0.05,
2732
- "phone": "m_I"
2733
- },
2734
- {
2735
- "duration": 0.05,
2736
- "phone": "ah_I"
2737
- },
2738
- {
2739
- "duration": 0.08,
2740
- "phone": "n_I"
2741
- },
2742
- {
2743
- "duration": 0.21,
2744
- "phone": "s_E"
2745
- }
2746
- ],
2747
- "start": 29.25,
2748
- "startOffset": 585,
2749
- "word": "performance",
2750
- "idx": 93
2751
- },
2752
- {
2753
- "alignedWord": "so",
2754
- "case": "success",
2755
- "end": 30.71,
2756
- "endOffset": 600,
2757
- "phones": [
2758
- {
2759
- "duration": 0.11,
2760
- "phone": "s_B"
2761
- },
2762
- {
2763
- "duration": 0.06,
2764
- "phone": "ow_E"
2765
- }
2766
- ],
2767
- "start": 30.54,
2768
- "startOffset": 598,
2769
- "word": "So",
2770
- "idx": 94
2771
- },
2772
- {
2773
- "alignedWord": "don't",
2774
- "case": "success",
2775
- "end": 30.970000000000002,
2776
- "endOffset": 606,
2777
- "phones": [
2778
- {
2779
- "duration": 0.07,
2780
- "phone": "d_B"
2781
- },
2782
- {
2783
- "duration": 0.08,
2784
- "phone": "ow_I"
2785
- },
2786
- {
2787
- "duration": 0.05,
2788
- "phone": "n_I"
2789
- },
2790
- {
2791
- "duration": 0.06,
2792
- "phone": "t_E"
2793
- }
2794
- ],
2795
- "start": 30.71,
2796
- "startOffset": 601,
2797
- "word": "don't",
2798
- "idx": 95
2799
- },
2800
- {
2801
- "alignedWord": "forget",
2802
- "case": "success",
2803
- "end": 31.239999,
2804
- "endOffset": 613,
2805
- "phones": [
2806
- {
2807
- "duration": 0.04,
2808
- "phone": "f_B"
2809
- },
2810
- {
2811
- "duration": 0.05,
2812
- "phone": "er_I"
2813
- },
2814
- {
2815
- "duration": 0.06,
2816
- "phone": "g_I"
2817
- },
2818
- {
2819
- "duration": 0.06,
2820
- "phone": "eh_I"
2821
- },
2822
- {
2823
- "duration": 0.06,
2824
- "phone": "t_E"
2825
- }
2826
- ],
2827
- "start": 30.969999,
2828
- "startOffset": 607,
2829
- "word": "forget",
2830
- "idx": 96
2831
- },
2832
- {
2833
- "alignedWord": "to",
2834
- "case": "success",
2835
- "end": 31.36,
2836
- "endOffset": 616,
2837
- "phones": [
2838
- {
2839
- "duration": 0.06,
2840
- "phone": "t_B"
2841
- },
2842
- {
2843
- "duration": 0.05,
2844
- "phone": "ih_E"
2845
- }
2846
- ],
2847
- "start": 31.25,
2848
- "startOffset": 614,
2849
- "word": "to",
2850
- "idx": 97
2851
- },
2852
- {
2853
- "alignedWord": "take",
2854
- "case": "success",
2855
- "end": 31.59,
2856
- "endOffset": 621,
2857
- "phones": [
2858
- {
2859
- "duration": 0.07,
2860
- "phone": "t_B"
2861
- },
2862
- {
2863
- "duration": 0.1,
2864
- "phone": "ey_I"
2865
- },
2866
- {
2867
- "duration": 0.06,
2868
- "phone": "k_E"
2869
- }
2870
- ],
2871
- "start": 31.36,
2872
- "startOffset": 617,
2873
- "word": "take",
2874
- "idx": 98
2875
- },
2876
- {
2877
- "alignedWord": "the",
2878
- "case": "success",
2879
- "end": 31.68,
2880
- "endOffset": 625,
2881
- "phones": [
2882
- {
2883
- "duration": 0.05,
2884
- "phone": "dh_B"
2885
- },
2886
- {
2887
- "duration": 0.04,
2888
- "phone": "ah_E"
2889
- }
2890
- ],
2891
- "start": 31.59,
2892
- "startOffset": 622,
2893
- "word": "the",
2894
- "idx": 99
2895
- },
2896
- {
2897
- "alignedWord": "time",
2898
- "case": "success",
2899
- "end": 31.939999000000004,
2900
- "endOffset": 630,
2901
- "phones": [
2902
- {
2903
- "duration": 0.07,
2904
- "phone": "t_B"
2905
- },
2906
- {
2907
- "duration": 0.13,
2908
- "phone": "ay_I"
2909
- },
2910
- {
2911
- "duration": 0.06,
2912
- "phone": "m_E"
2913
- }
2914
- ],
2915
- "start": 31.679999000000002,
2916
- "startOffset": 626,
2917
- "word": "time",
2918
- "idx": 100
2919
- },
2920
- {
2921
- "alignedWord": "to",
2922
- "case": "success",
2923
- "end": 32.08,
2924
- "endOffset": 633,
2925
- "phones": [
2926
- {
2927
- "duration": 0.07,
2928
- "phone": "t_B"
2929
- },
2930
- {
2931
- "duration": 0.07,
2932
- "phone": "uw_E"
2933
- }
2934
- ],
2935
- "start": 31.939999999999998,
2936
- "startOffset": 631,
2937
- "word": "to",
2938
- "idx": 101
2939
- },
2940
- {
2941
- "alignedWord": "warm",
2942
- "case": "success",
2943
- "end": 32.3,
2944
- "endOffset": 638,
2945
- "phones": [
2946
- {
2947
- "duration": 0.05,
2948
- "phone": "w_B"
2949
- },
2950
- {
2951
- "duration": 0.06,
2952
- "phone": "ao_I"
2953
- },
2954
- {
2955
- "duration": 0.06,
2956
- "phone": "r_I"
2957
- },
2958
- {
2959
- "duration": 0.05,
2960
- "phone": "m_E"
2961
- }
2962
- ],
2963
- "start": 32.08,
2964
- "startOffset": 634,
2965
- "word": "warm",
2966
- "idx": 102
2967
- },
2968
- {
2969
- "alignedWord": "up",
2970
- "case": "success",
2971
- "end": 32.409999,
2972
- "endOffset": 641,
2973
- "phones": [
2974
- {
2975
- "duration": 0.06,
2976
- "phone": "ah_B"
2977
- },
2978
- {
2979
- "duration": 0.05,
2980
- "phone": "p_E"
2981
- }
2982
- ],
2983
- "start": 32.299999,
2984
- "startOffset": 639,
2985
- "word": "up",
2986
- "idx": 103
2987
- },
2988
- {
2989
- "alignedWord": "properly",
2990
- "case": "success",
2991
- "end": 32.77,
2992
- "endOffset": 650,
2993
- "phones": [
2994
- {
2995
- "duration": 0.05,
2996
- "phone": "p_B"
2997
- },
2998
- {
2999
- "duration": 0.02,
3000
- "phone": "r_I"
3001
- },
3002
- {
3003
- "duration": 0.06,
3004
- "phone": "aa_I"
3005
- },
3006
- {
3007
- "duration": 0.04,
3008
- "phone": "p_I"
3009
- },
3010
- {
3011
- "duration": 0.06,
3012
- "phone": "er_I"
3013
- },
3014
- {
3015
- "duration": 0.05,
3016
- "phone": "l_I"
3017
- },
3018
- {
3019
- "duration": 0.07,
3020
- "phone": "iy_E"
3021
- }
3022
- ],
3023
- "start": 32.42,
3024
- "startOffset": 642,
3025
- "word": "properly",
3026
- "idx": 104
3027
- },
3028
- {
3029
- "alignedWord": "before",
3030
- "case": "success",
3031
- "end": 33.019999999999996,
3032
- "endOffset": 657,
3033
- "phones": [
3034
- {
3035
- "duration": 0.04,
3036
- "phone": "b_B"
3037
- },
3038
- {
3039
- "duration": 0.08,
3040
- "phone": "ih_I"
3041
- },
3042
- {
3043
- "duration": 0.05,
3044
- "phone": "f_I"
3045
- },
3046
- {
3047
- "duration": 0.02,
3048
- "phone": "ao_I"
3049
- },
3050
- {
3051
- "duration": 0.06,
3052
- "phone": "r_E"
3053
- }
3054
- ],
3055
- "start": 32.769999999999996,
3056
- "startOffset": 651,
3057
- "word": "before",
3058
- "idx": 105
3059
- },
3060
- {
3061
- "alignedWord": "starting",
3062
- "case": "success",
3063
- "end": 33.379999999999995,
3064
- "endOffset": 666,
3065
- "phones": [
3066
- {
3067
- "duration": 0.04,
3068
- "phone": "s_B"
3069
- },
3070
- {
3071
- "duration": 0.07,
3072
- "phone": "t_I"
3073
- },
3074
- {
3075
- "duration": 0.06,
3076
- "phone": "aa_I"
3077
- },
3078
- {
3079
- "duration": 0.01,
3080
- "phone": "r_I"
3081
- },
3082
- {
3083
- "duration": 0.09,
3084
- "phone": "t_I"
3085
- },
3086
- {
3087
- "duration": 0.03,
3088
- "phone": "ih_I"
3089
- },
3090
- {
3091
- "duration": 0.06,
3092
- "phone": "ng_E"
3093
- }
3094
- ],
3095
- "start": 33.019999999999996,
3096
- "startOffset": 658,
3097
- "word": "starting",
3098
- "idx": 106
3099
- },
3100
- {
3101
- "alignedWord": "your",
3102
- "case": "success",
3103
- "end": 33.5,
3104
- "endOffset": 671,
3105
- "phones": [
3106
- {
3107
- "duration": 0.04,
3108
- "phone": "y_B"
3109
- },
3110
- {
3111
- "duration": 0.02,
3112
- "phone": "uh_I"
3113
- },
3114
- {
3115
- "duration": 0.06,
3116
- "phone": "r_E"
3117
- }
3118
- ],
3119
- "start": 33.38,
3120
- "startOffset": 667,
3121
- "word": "your",
3122
- "idx": 107
3123
- },
3124
- {
3125
- "alignedWord": "<unk>",
3126
- "case": "success",
3127
- "end": 33.64,
3128
- "endOffset": 676,
3129
- "phones": [
3130
- {
3131
- "duration": 0.14,
3132
- "phone": "oov_S"
3133
- }
3134
- ],
3135
- "start": 33.5,
3136
- "startOffset": 672,
3137
- "word": "HIIT",
3138
- "idx": 108
3139
- },
3140
- {
3141
- "alignedWord": "workout",
3142
- "case": "success",
3143
- "end": 34.149999,
3144
- "endOffset": 684,
3145
- "phones": [
3146
- {
3147
- "duration": 0.1,
3148
- "phone": "w_B"
3149
- },
3150
- {
3151
- "duration": 0.08,
3152
- "phone": "er_I"
3153
- },
3154
- {
3155
- "duration": 0.1,
3156
- "phone": "k_I"
3157
- },
3158
- {
3159
- "duration": 0.1,
3160
- "phone": "aw_I"
3161
- },
3162
- {
3163
- "duration": 0.09,
3164
- "phone": "t_E"
3165
- }
3166
- ],
3167
- "start": 33.679999,
3168
- "startOffset": 677,
3169
- "word": "workout",
3170
- "idx": 109
3171
- }
3172
- ]
3173
- }
 
4
  import { loadFont } from "@remotion/google-fonts/MontserratAlternates";
5
  import { Series } from "remotion";
6
  import { RenderUtils } from '../RenderUtils';
7
+ import MotivationalSubtitles from '../subtitles/motivational_Subtitles';
8
 
9
  export const IGScene: React.FC<any> = (props: { script: any, item: any }) => {
10
  const { fontFamily } = loadFont();
 
21
 
22
  useEffect(() => {
23
  let file = RenderUtils.getFileName(subtitle_file)
24
+ let subtitles = require('../../public/' + file)
25
+ // let subtitles = SUBTITLES
26
  let subtitlesClone = subtitles
27
  let subs = subtitles.words
28
 
 
98
  let curSecond: Number = frame / fps
99
  let word = findCurrentWord(curSecond, subtitles)
100
  let group = findCurrentGroupByTime(curSecond, groups)
 
101
 
102
  return (
103
  <AbsoluteFill>
104
  <Audio volume={1.0} src={staticFile(audioPath)} />
 
 
105
 
106
+ <MotivationalSubtitles position='center' group={group} word={word} />
 
 
107
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  </AbsoluteFill >
109
  );
110
  };
 
203
  return groupDuration
204
  }
205
 
 
 
 
 
 
206
  const Title: React.FC<{ title?: string, color?: string }> = ({ title = "test", color = "#fff" }) => {
207
 
208
  return (
 
210
  );
211
  };
212
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/ig-reel/Types.ts ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ export interface Word {
2
+ start: Number
3
+ end: Number
4
+ phenomes: Array<any>
5
+ startOffset: Number
6
+ endOffset: Number
7
+ idx: Number
8
+ sentence_end: Boolean
9
+ case: "success" | "failure"
10
+ alignedWord: String
11
+ word: String
12
+ }
13
+
14
+
15
+ export interface Group {
16
+ words: Word[]
17
+ start: Number
18
+ end: Number
19
+ }
src/subtitles/motivational_Subtitles.tsx ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, { useEffect, useState } from 'react'
2
+ import * as Montserrat from "@remotion/google-fonts/Lato";
3
+ import { AbsoluteFill, Img, Series, spring, useCurrentFrame, useVideoConfig } from "remotion";
4
+ import { Group, Word } from '../ig-reel/Types';
5
+ import _ from 'lodash'
6
+
7
+
8
+ const MotivationalSubtitles: React.FC<{ group: Group, word: Word, position: 'top' | 'center' | 'bottom' }> = ({ group, word: curWord, position = 'center' }) => {
9
+
10
+ let { fontFamily } = Montserrat.loadFont("normal", {
11
+ weights: ['900']
12
+ })
13
+
14
+ const frame = useCurrentFrame();
15
+ const { fps } = useVideoConfig();
16
+
17
+ const scale = spring({
18
+ fps,
19
+ frame,
20
+ });
21
+
22
+ const baseStyle = {
23
+ borderRadius: '2rem', // Increased border radius for more rounding
24
+ borderLeftWidth: '4px', // Thicker left border
25
+ borderRightWidth: '4px', // Thicker right border
26
+ color: '#fff',
27
+ textShadow: '0px 0px 50px #000, 0px 0px 50px #000',
28
+ padding: '0.2rem 1.5rem', // Adjust padding as needed
29
+ };
30
+
31
+ const highlightStyle = {
32
+ backgroundColor: '#8B008B', // Purple background color
33
+ color: '#fff',
34
+ textShadow: '0px 0px 50px #000, 0px 0px 50px #000',
35
+ borderColor: '#fff', // Border color (you can adjust the color)
36
+ borderStyle: 'solid', // Border style
37
+ transition: 'background-color 0.3s ease', // Smooth transition for background color
38
+ };
39
+
40
+ return (
41
+
42
+
43
+ <div
44
+ className="min-h-screen flex items-center justify-center"
45
+ style={{
46
+ display: 'flex',
47
+ height: '100%',
48
+ fontSize: '7em',
49
+ }}
50
+ >
51
+ <div
52
+ className="p-6 rounded-lg"
53
+ style={{
54
+ justifyContent: 'center',
55
+ alignContent: 'center',
56
+ overflow: 'auto',
57
+ display: 'flex',
58
+ flexWrap: 'wrap', // Add flex-wrap to allow multiple lines
59
+ maxWidth: '100%', // Add max-width to restrict width to screen size
60
+ }}
61
+ >
62
+ {group?.words && curWord &&
63
+ group?.words?.map((word, index) => {
64
+ let wordStyle = _.clone(baseStyle)
65
+ if (word?.idx == curWord?.idx) {
66
+ Object.assign(wordStyle, highlightStyle)
67
+ }
68
+ return (
69
+ <span
70
+ key={index}
71
+ className="white-text-shadow"
72
+ style={{
73
+ ...wordStyle,
74
+ fontFamily,
75
+ }}
76
+ >
77
+ {word?.word?.toUpperCase()}
78
+ </span>
79
+ );
80
+ })}
81
+ </div>
82
+ </div >
83
+
84
+ );
85
+ };
86
+ export default MotivationalSubtitles