-
-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy path🌈 IndexTTS-2 integration.json
More file actions
1264 lines (1264 loc) · 31.1 KB
/
🌈 IndexTTS-2 integration.json
File metadata and controls
1264 lines (1264 loc) · 31.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"id": "4a7cdb14-f535-4923-861b-59ba2c7ee043",
"revision": 0,
"last_node_id": 133,
"last_link_id": 232,
"nodes": [
{
"id": 121,
"type": "PreviewAny",
"pos": [
-790.7774047851562,
1898.1563720703125
],
"size": [
486.6275634765625,
420.8500061035156
],
"flags": {},
"order": 25,
"mode": 4,
"inputs": [
{
"name": "source",
"type": "*",
"link": 232
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "PreviewAny"
},
"widgets_values": []
},
{
"id": 65,
"type": "PrimitiveStringMultiline",
"pos": [
-2271.832275390625,
389.4394836425781
],
"size": [
310.7043762207031,
224.9416046142578
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
179
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "PrimitiveStringMultiline",
"widget_ue_connectable": {}
},
"widgets_values": [
"On Tuesdays, the pigeons held parliament. [pause:5s] They debated the ethics of breadcrumbs and the metaphysics of flight. \nOne particularly philosophical pigeon named Thistle believed gravity was just a suggestion.\nHe once floated for three minutes straight, fueled by sheer conviction and a gust of rebellious wind."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 124,
"type": "QwenEmotionNode",
"pos": [
-2611.97314453125,
1681.879638671875
],
"size": [
400,
200
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "emotion_control",
"type": "EMOTION_CONTROL",
"links": [
220
]
}
],
"properties": {
"cnr_id": "chatterbox_srt_voice",
"ver": "5e4c39b3d25a437f83dd71cf21b2fad282eda9e1",
"Node name for S&R": "QwenEmotionNode"
},
"widgets_values": [
"qwen0.6bemo4-merge",
"Happy character speaking: {seg}"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 130,
"type": "CharacterVoicesNode",
"pos": [
-2454.496337890625,
1921.8170166015625
],
"size": [
232.96051025390625,
146.08004760742188
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "opt_audio_input",
"shape": 7,
"type": "AUDIO",
"link": null
}
],
"outputs": [
{
"name": "opt_narrator",
"type": "NARRATOR_VOICE",
"links": [
221
]
},
{
"name": "character_name",
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "tts_audio_suite",
"ver": "ee95cad1f155eceb1442723c7f351949b30361e3",
"Node name for S&R": "CharacterVoicesNode"
},
"widgets_values": [
"voices_examples/David_Attenborough CC3.wav",
""
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 126,
"type": "Reroute",
"pos": [
-2188.42724609375,
1047.9219970703125
],
"size": [
75,
26
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 219
}
],
"outputs": [
{
"name": "",
"type": "EMOTION_CONTROL",
"links": [
223
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#323",
"bgcolor": "#535"
},
{
"id": 47,
"type": "UnifiedTTSTextNode",
"pos": [
-1096.805419921875,
1056.0970458984375
],
"size": [
400,
379.5921325683594
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "TTS_engine",
"type": "TTS_ENGINE",
"link": 217
},
{
"name": "opt_narrator",
"shape": 7,
"type": "*",
"link": 225
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 182
}
],
"outputs": [
{
"name": "audio",
"type": "AUDIO",
"links": [
93
]
},
{
"name": "generation_info",
"type": "STRING",
"links": [
100
]
}
],
"properties": {
"cnr_id": "tts_audio_suite",
"ver": "ee95cad1f155eceb1442723c7f351949b30361e3",
"Node name for S&R": "UnifiedTTSTextNode"
},
"widgets_values": [
"Hello! This is unified TTS with character switching support.\n[Alice] Hi there! I'm Alice speaking with the selected TTS engine.\n[Bob] And I'm Bob! This works with any TTS engine.\nBack to the main narrator voice for the conclusion.",
"none",
1552347959,
"fixed",
true,
400,
"auto",
100,
true,
0
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 99,
"type": "Reroute",
"pos": [
-1310.1611328125,
1099.2926025390625
],
"size": [
75,
26
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"widget": {
"name": "value"
},
"link": 227
}
],
"outputs": [
{
"name": "",
"type": "STRING",
"links": [
182
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#232",
"bgcolor": "#353"
},
{
"id": 51,
"type": "CharacterVoicesNode",
"pos": [
-1415.2496337890625,
1236.7845458984375
],
"size": [
232.96051025390625,
146.08004760742188
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "opt_audio_input",
"shape": 7,
"type": "AUDIO",
"link": null
}
],
"outputs": [
{
"name": "opt_narrator",
"type": "NARRATOR_VOICE",
"links": [
225
]
},
{
"name": "character_name",
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "tts_audio_suite",
"ver": "ee95cad1f155eceb1442723c7f351949b30361e3",
"Node name for S&R": "CharacterVoicesNode"
},
"widgets_values": [
"voices_examples/David_Attenborough CC3.wav",
""
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 50,
"type": "PreviewAny",
"pos": [
-637.6661987304688,
1254.6448974609375
],
"size": [
552.7586059570312,
174.5865936279297
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 100
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.57",
"Node name for S&R": "PreviewAny"
},
"widgets_values": []
},
{
"id": 15,
"type": "PreviewAudio",
"pos": [
-629.1116943359375,
1053.526611328125
],
"size": [
442.4916687011719,
88
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "audio",
"type": "AUDIO",
"link": 93
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.39",
"Node name for S&R": "PreviewAudio",
"widget_ue_connectable": {}
},
"widgets_values": [],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 129,
"type": "Reroute",
"pos": [
-2032.5596923828125,
1235.5533447265625
],
"size": [
75,
26
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 222
}
],
"outputs": [
{
"name": "",
"type": "AUDIO",
"links": null
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#323",
"bgcolor": "#535"
},
{
"id": 128,
"type": "Reroute",
"pos": [
-2068.419677734375,
1168.3067626953125
],
"size": [
75,
26
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 221
}
],
"outputs": [
{
"name": "",
"type": "NARRATOR_VOICE",
"links": null
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#323",
"bgcolor": "#535"
},
{
"id": 127,
"type": "Reroute",
"pos": [
-2116.24169921875,
1104.413330078125
],
"size": [
75,
26
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 220
}
],
"outputs": [
{
"name": "",
"type": "EMOTION_CONTROL",
"links": null
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#323",
"bgcolor": "#535"
},
{
"id": 132,
"type": "Reroute",
"pos": [
-1608.490478515625,
709.7468872070312
],
"size": [
75,
26
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"widget": {
"name": "value"
},
"link": 228
}
],
"outputs": [
{
"name": "",
"type": "STRING",
"links": [
227
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#232",
"bgcolor": "#353"
},
{
"id": 98,
"type": "Reroute",
"pos": [
-1764.9373779296875,
659.0769653320312
],
"size": [
75,
26
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"widget": {
"name": "value"
},
"link": 179
}
],
"outputs": [
{
"name": "",
"type": "STRING",
"links": [
228
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#232",
"bgcolor": "#353"
},
{
"id": 100,
"type": "Reroute",
"pos": [
-1765.823974609375,
724.1932373046875
],
"size": [
75,
26
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 183
}
],
"outputs": [
{
"name": "",
"type": "STRING",
"links": []
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#232",
"bgcolor": "#353"
},
{
"id": 82,
"type": "PrimitiveStringMultiline",
"pos": [
-2610.144775390625,
722.1431274414062
],
"size": [
659.7203369140625,
226.72232055664062
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
183
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "PrimitiveStringMultiline",
"widget_ue_connectable": {}
},
"widgets_values": [
"On Tuesdays, the pigeons held parliament.\n[Alice:crestfallen_original] They debated the ethics of breadcrumbs and the metaphysics of flight. \n[Bob:Alice] One particularly philosophical pigeon named Thistle believed gravity was just a suggestion.\n[Cowboy:crestfallen_original] He once floated for three minutes straight, fueled by sheer conviction and a gust of rebellious wind."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 53,
"type": "Reroute",
"pos": [
-1484.7437744140625,
1770.8671875
],
"size": [
75,
26
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 229
}
],
"outputs": [
{
"name": "",
"type": "TTS_ENGINE",
"links": [
230
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#222",
"bgcolor": "#000"
},
{
"id": 79,
"type": "PreviewAudio",
"pos": [
-746.4139404296875,
1771.3372802734375
],
"size": [
441.48828125,
88
],
"flags": {},
"order": 24,
"mode": 4,
"inputs": [
{
"name": "audio",
"type": "AUDIO",
"link": 231
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.39",
"Node name for S&R": "PreviewAudio",
"widget_ue_connectable": {}
},
"widgets_values": [],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 57,
"type": "MarkdownNote",
"pos": [
-1729.11279296875,
1874.3709716796875
],
"size": [
343.0154724121094,
178.18296813964844
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"# **FROM v4 and up!**\n\nUnified nodes:\n- 🎤 **TTS Text**: Direct text-to-speech module \n- 🔄 **Voice Changer**: Voice transformation \n- 📺 **TTS SRT**: Subtitle-compatible TTS output \n\nThese nodes are now **engine-agnostic**, meaning you can plug in **Chatterbox**, **F5**, or future engines seamlessly.\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 125,
"type": "IndexTTSEmotionOptionsNode",
"pos": [
-2558.6396484375,
1048.947998046875
],
"size": [
340,
580
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "emotion_control",
"type": "EMOTION_CONTROL",
"links": [
219
]
}
],
"properties": {
"cnr_id": "chatterbox_srt_voice",
"ver": "5e4c39b3d25a437f83dd71cf21b2fad282eda9e1",
"Node name for S&R": "IndexTTSEmotionOptionsNode"
},
"widgets_values": [
0.17,
0.29,
0.86,
0.73,
0.94,
0.15,
0.05,
0.31
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 56,
"type": "MarkdownNote",
"pos": [
-1477.187255859375,
1444.6717529296875
],
"size": [
340.41461181640625,
179.46453857421875
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"# 🎭 **Reference Audio Tips**\n\n1- You can connect any audio from a **Load Audio Core** node directly for **zero-shot voice cloning**\n \n2- or use the **🎭 Character Voices** feature to load a narrator from your `Voices` folder."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 115,
"type": "MarkdownNote",
"pos": [
-3089.947265625,
1001.278564453125
],
"size": [
461.39898681640625,
450.9547119140625
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"# [IndexTTS-2 Emotion Control Guide](https://github.com/diodiogod/TTS-Audio-Suite/blob/main/docs/IndexTTS2_Emotion_Control_Guide.md)\n\nIndexTTS-2 features advanced emotion control capabilities that allow you to precisely control the emotional expression of generated speech. This guide covers all available emotion control methods and their applications.\n\n## Overview\n\nIndexTTS-2 supports multiple emotion control methods that can be combined for sophisticated emotional expression:\n\n- **Direct Audio Reference**: Use any audio file as an emotion reference\n- **Character Voices**: Use character audio references from the Character Voices node\n- **Emotion Vectors**: Manual 8-emotion slider control with precise values\n- **Text Emotion**: AI-powered QwenEmotion analysis from text descriptions with dynamic templates\n- **Character Tag Emotions**: Per-character emotion control using `[Character:emotion_ref]` syntax\n\n## Emotion Control Priority\n\nYou can only connect to the Engine node one source of control emotion: Either audio, text, or vectors.\n\nWhen using tags on the text iself, **Character tag emotions** (highest priority) - `[Alice:angry_bob]` overrides all other emotion control settings for that character segment\n\n## Method 1: Direct Audio Reference\n\nConnect any audio file directly to the IndexTTS-2 Engine's `emotion_control` input.\n\n**How it works:**\n\n- IndexTTS-2 analyzes the emotional characteristics of your reference audio\n- The emotional style is applied to all generated speech\n- Works with any audio format (WAV, MP3, etc.)\n\n**Best practices:**\n\n- Use audio clips with clear emotional expression\n- Choose audio with consistent voice characteristics for best results\n- Avoid background music or noise\n\n**Example:**\n\n```\nAUDIO node → IndexTTS-2 Engine (emotion_control)\n```\n\n## Method 2: Character Voices Audio Reference\n\nUse the `opt_narrator` output from the 🎭 Character Voices node as an emotion reference.\n\n**Setup:**\n\n1. Add a 🎭 Character Voices node\n2. Select a voice with the desired emotional expression\n3. Connect `opt_narrator` output to IndexTTS-2 Engine `emotion_control` input\n\n**Advantages:**\n\n- Leverages your existing voice library\n- Consistent character-based emotions\n- Easy to manage and organize\n\n**Example workflow:**\n\n```\n🎭 Character Voices (David_Attenborough) → opt_narrator → IndexTTS-2 Engine (emotion_control)\n```\n\n## Method 3: Emotion Vectors\n\nUse the 🌈 IndexTTS-2 Emotion Vectors node for precise manual control over 8 different emotions.\n\n**Available emotions:**\n\n- **Happy**: Joy, excitement, positivity (0.0-1.2)\n- **Angry**: Aggression, frustration, intensity (0.0-1.2)\n- **Sad**: Melancholy, sorrow, downcast tone (0.0-1.2)\n- **Surprised**: Amazement, shock, wonder (0.0-1.2)\n- **Afraid**: Fear, anxiety, nervousness (0.0-1.2)\n- **Disgusted**: Revulsion, displeasure, rejection (0.0-1.2)\n- **Calm**: Peaceful, relaxed, steady (0.0-1.2)\n- **Melancholic**: Thoughtful sadness, wistfulness (0.0-1.2)\n\n**Usage tips:**\n\n- Values above 1.0 create more intense emotional expression BUT MAY interfear with the cloned voice resemblance\n- Combine multiple emotions for complex feelings (e.g., 0.8 Happy + 0.3 Surprised = excited joy)\n- Start with single emotions, then experiment with combinations\n- Use the `random` buttom to get a completely random emotion pattern. Might be too strong.\n\n## Method 4: Text Emotion (Dynamic Analysis)\n\nUse the 🌈 IndexTTS-2 Text Emotion node for AI-powered emotion analysis with dynamic templates.\n\n### Static Text Emotion\n\nProvide a simple emotion description that applies to all text segments:\n\n```\nInput: \"angry and frustrated\"\nResult: All speech generated with angry, frustrated emotion\n```\n\n### Dynamic Templates with {seg}\n\nUse the `{seg}` placeholder for contextual, per-segment emotion analysis:\n\n**Template examples:**\n\n- `\"Happy character speaking: {seg}\"` - Cheerful narrator\n- `\"Angry boss yelling: {seg}\"` - Aggressive authority figure\n- `\"Calm meditation guide: {seg}\"` - Peaceful instructor\n- `\"Excited game show host: {seg}\"` - Energetic presenter\n\n**How dynamic templates work:**\n\n1. IndexTTS-2 processes each text segment separately\n2. `{seg}` gets replaced with the actual segment text\n3. QwenEmotion analyzes the combined context + content\n4. Unique emotion vector generated for each segment\n\n**Example:**\n\n```\nTemplate: \"Worried parent speaking: {seg}\"\nSegment: \"Where have you been?\"\nAnalysis: \"Worried parent speaking: Where have you been?\"\nResult: Anxious, concerned vocal expression\n```\n\n---\n\n## Character Tag Emotion Control\n\nControl emotions per character using inline tags in your text: `[Character:emotion_ref]`\n\n**Syntax:**\n\n```\n[CharacterName:emotion_reference]\n```\n\n**emotion_reference options:**\n\n- Any character name from your voices library (uses that character's voice as emotion)\n- Custom emotion references\n\n**Examples:**\n\n```\nHello everyone! [Alice:happy_sarah] I'm so excited to be here today!\n[Bob:angry_tom] That's completely unacceptable behavior.\n[Narrator:David] Meanwhile, in a distant galaxy...\n\n*assuming happy_sarah, angry_tom and David are alias or character voices in yout folder with that name\n```\n\n\\*assuming happy_sarah, angry_tom and David are alias or character voices in yout folder with that name\n\n\n\n**Character tag priority:**\n\n- Character tags override ALL other emotion settings for that specific character\n- Other characters use global emotion settings\n- Allows mixing different emotions in the same audio\n\n## Emotion Alpha Control\n\nThe `emotion_alpha` parameter on the IndexTTS-2 Engine controls the intensity of emotion application:\n\n**Values:**\n\n- **0.0**: No emotion applied (neutral voice)\n- **0.5**: 50% emotion blend (subtle emotional influence)\n- **1.0**: Full emotion intensity (standard recommended setting)\n- **1.5**: 150% enhanced emotion (more dramatic)\n- **2.0**: Maximum emotion intensity (very dramatic)\n\n## Practical Workflow Examples\n\n### Example 1: Multi-Character Drama with Individual Emotions\n\n```text\n[Alice:happy_sarah] Welcome to our cooking show!\n[Bob:serious_narrator] Today we'll be making pasta.\n[Alice:excited_sarah] I can't wait to get started!\n```\n\n**Setup:**\n\n- No global emotion control needed\n- Each character gets individual emotion via tags\n- `emotion_alpha=1.0` for more expressiveness\n\n### Example 2: Mixed Emotion Control\n\n**Global setup:**\n\n- 🌈 IndexTTS-2 Text Emotion: `\"Cheerful host presenting: {seg}\"`\n- `emotion_alpha=0.8`\n\n**Text with overrides:**\n\n```text\nWelcome to our show! [Bob:serious_narrator] But first, a serious announcement.\n[Alice:excited_sarah] Now back to our regular programming!\n```\n\n**Result:**\n\n- Default segments use cheerful host emotion\n- Bob's line uses serious narrator emotion (overrides global)\n- Alice's line uses excited emotion (overrides global)\n\n---\n\nThis comprehensive emotion control system gives you unprecedented flexibility in creating expressive, emotionally rich TTS audio for any application."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 133,
"type": "UnifiedTTSSRTNode",
"pos": [
-1243.004150390625,
1768.7225341796875
],
"size": [
404.7402648925781,
545.216796875
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "TTS_engine",
"type": "TTS_ENGINE",
"link": 230
},
{
"name": "opt_narrator",
"shape": 7,
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "audio",
"type": "AUDIO",
"links": [
231
]
},
{
"name": "generation_info",
"type": "STRING",
"links": [
232
]
},
{
"name": "timing_report",
"type": "STRING",
"links": null
},
{
"name": "Adjusted_SRT",
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "chatterbox_srt_voice",
"ver": "5e4c39b3d25a437f83dd71cf21b2fad282eda9e1",
"Node name for S&R": "UnifiedTTSSRTNode"
},
"widgets_values": [
"1\n00:00:01,000 --> 00:00:04,000\nHello! This is unified SRT TTS with character switching.\n\n2\n00:00:04,500 --> 00:00:09,500\n[Alice:crestfallen_original] Hi there! I'm Alice speaking with precise timing.\n\n3\n00:00:10,000 --> 00:00:14,000\n[Bob:crestfallen_original] And I'm Bob! The audio matches these exact SRT timings.",
"voices_examples/Clint_Eastwood CC3 (enhanced2).wav",
2519695028,
"fixed",
"smart_natural",
true,
0.01,
1,
0.5,
2,
0
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 123,
"type": "IndexTTSEngineNode",
"pos": [
-1903.6300048828125,
1051.2659912109375
],
"size": [
331.431640625,
442
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "emotion_control",
"shape": 7,
"type": "*",
"link": 223
}
],
"outputs": [
{
"name": "TTS_engine",
"type": "TTS_ENGINE",
"links": [
217,
229
]
}
],
"properties": {
"cnr_id": "chatterbox_srt_voice",
"ver": "5e4c39b3d25a437f83dd71cf21b2fad282eda9e1",
"Node name for S&R": "IndexTTSEngineNode"
},
"widgets_values": [
"IndexTTS-2",
"auto",
0.7,
false,
120,
200,
0.8,
0.8,
30,
true,
0,
3,
9.5,
1500,
true,
true,
"auto"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 131,
"type": "LoadAudio",
"pos": [
-2491.009765625,
2123.96484375
],
"size": [
270,
136
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "AUDIO",
"type": "AUDIO",