node-red-contrib-tts-ultimate 2.0.9 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/ttsultimate/ttsultimate.html +14 -0
- package/ttsultimate/ttsultimate.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.paypal.me/techtoday)
|
|
4
4
|
|
|
5
|
+
<p>
|
|
6
|
+
<b>Version 2.0.10</b> November 2024<br/>
|
|
7
|
+
- ElevenLabs V2: now you can set the additional parameters for the voice.<br/>
|
|
8
|
+
</p>
|
|
5
9
|
<p>
|
|
6
10
|
<b>Version 2.0.9</b> November 2024<br/>
|
|
7
11
|
- Fixed little issue with music queue management.<br/>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red-contrib-tts-ultimate",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.10",
|
|
4
4
|
"description": "Transforms the text in speech and hear it using Sonos player or generate an audio file to be used with third parties nodes. Works with voices from Amazon, Google (without credentials as well), Microsoft TTS Azure, ElevenLabs.io TTS or your own voice. You can also only create a TTS file to be read by third party nodes. Update of the popular SonosPollyTTS node.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -41,6 +41,14 @@
|
|
|
41
41
|
<label for="node-input-elevenlabsSimilarity_boost"><i class="fa fa-volume-up"></i> Similarity boost</label>
|
|
42
42
|
<input type="text" id="node-input-elevenlabsSimilarity_boost" style="width:60px"> (Default 0.5)
|
|
43
43
|
</div>
|
|
44
|
+
<div class="form-row">
|
|
45
|
+
<label for="node-input-elevenlabsStyle"><i class="fa fa-volume-up"></i> Style Exaggeration </label>
|
|
46
|
+
<input type="text" id="node-input-elevenlabsStyle" style="width:60px"> (Default 0.0)
|
|
47
|
+
</div>
|
|
48
|
+
<div class="form-row">
|
|
49
|
+
<label></label>
|
|
50
|
+
<input type="checkbox" id="node-input-elevenlabsUse_speaker_boost" style="margin-left: 0px; vertical-align: top; width: auto !important;"> <label style="width:auto !important;"> Speaker boost</label>
|
|
51
|
+
</div>
|
|
44
52
|
</div>
|
|
45
53
|
<div class="form-row" id="divSSML">
|
|
46
54
|
<label></label>
|
|
@@ -142,6 +150,8 @@
|
|
|
142
150
|
unmuteIfMuted: { value: true },
|
|
143
151
|
elevenlabsStability: { value: "0.5", required: false },
|
|
144
152
|
elevenlabsSimilarity_boost: { value: "0.5", required: false },
|
|
153
|
+
elevenlabsStyle: { value: "0.0", required: false },
|
|
154
|
+
elevenlabsUse_speaker_boost: { value: true, required: false },
|
|
145
155
|
},
|
|
146
156
|
inputs: 1,
|
|
147
157
|
outputs: 2,
|
|
@@ -537,6 +547,10 @@
|
|
|
537
547
|
| Enable SSML | Enable the SSML XML notation. Please be aware, not all the TTS engines supports that.|
|
|
538
548
|
| Rate | Only avaiable if you choose Google TTS Engine (with credentials). Specifies the speech speed (Between 0.25 and 4.0, default 1). |
|
|
539
549
|
| Pitch | Only avaiable if you choose Google TTS Engine (with credentials). Specifies the speech pitch (Between -20.0 and 20.0, default 0). |
|
|
550
|
+
| Stability | Only avaiable with Elevenlabs. Please refer to Elevenlabs.io description. Values from 0 to 1 (for example 0.2, 0.7, etc.) |
|
|
551
|
+
| Similarity | Only avaiable with Elevenlabs. Please refer to Elevenlabs.io description. Values from 0 to 1 (for example 0.2, 0.7, etc.) |
|
|
552
|
+
| Style Exaggeration | Only avaiable with Elevenlabs. Please refer to Elevenlabs.io description. Values from 0 to 1 (for example 0.2, 0.7, etc.)|
|
|
553
|
+
| Speaker boost | Only avaiable with Elevenlabs. Please refer to Elevenlabs.io description. Values from 0 to 1 (for example 0.2, 0.7, etc.) |
|
|
540
554
|
| Hailing | Before the first TTS message of the message queues, the node will play an "hailing" sound. You can select the hailing, upload your own, or totally disable it. |
|
|
541
555
|
| Upload hail | It allows you to upload your own hailing file. |
|
|
542
556
|
| Player | Select the player. If you select not to use a player, the node will output a msg with an array of files, ready to be played by third party nodes. In case you select No player, only output file name, you'll get a message with an additional property filesArray, containing an array of all mp3 files ready to be played with third party nodes. Please see below the OUTPUT MESSAGES FROM THE NODE section. |
|
|
@@ -687,7 +687,9 @@ module.exports = function (RED) {
|
|
|
687
687
|
model_id: "eleven_multilingual_v2",
|
|
688
688
|
voice_settings: {
|
|
689
689
|
stability: config.elevenlabsStability,
|
|
690
|
-
similarity_boost: config.elevenlabsSimilarity_boost
|
|
690
|
+
similarity_boost: config.elevenlabsSimilarity_boost,
|
|
691
|
+
style: config.elevenlabsStyle || 0,
|
|
692
|
+
use_speaker_boost: config.elevenlabsUse_speaker_boost === undefined ? true : config.elevenlabsUse_speaker_boost
|
|
691
693
|
}
|
|
692
694
|
};
|
|
693
695
|
// Download or read from cache
|