voicemix 1.1.8 → 1.2.2
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/index.js +1 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -157,9 +157,7 @@ export class VoiceMix {
|
|
|
157
157
|
|
|
158
158
|
say(text) {
|
|
159
159
|
this.text = text;
|
|
160
|
-
|
|
161
|
-
const textForFilename = text.replace(/\[.*?\]/g, '').trim();
|
|
162
|
-
return this.file(this._filename(textForFilename));
|
|
160
|
+
return this.file(this._filename(text));
|
|
163
161
|
}
|
|
164
162
|
|
|
165
163
|
file(fileName) {
|
|
@@ -235,7 +233,6 @@ export class VoiceMix {
|
|
|
235
233
|
prosodyRate: request.prosodyRate,
|
|
236
234
|
prosodyPitch: request.prosodyPitch
|
|
237
235
|
});
|
|
238
|
-
console.log(text);
|
|
239
236
|
|
|
240
237
|
return await this.provider.save(
|
|
241
238
|
request.ttsId,
|
package/package.json
CHANGED