From 57d37a7b0b9fbd0693946a1f8537d653b15de1d0 Mon Sep 17 00:00:00 2001 From: Talon Date: Sat, 3 Jul 2021 17:11:28 +0200 Subject: [PATCH] Fix typo in sam require --- tts/sam/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tts/sam/index.js b/tts/sam/index.js index e3b2f15..dd56658 100644 --- a/tts/sam/index.js +++ b/tts/sam/index.js @@ -11,7 +11,7 @@ module.exports = class extends BaseEngine { return 'en'; } async getSpeechFile(text, filepath, voice = this.getDefaultVoice(), params = {}) { - let sam = new samjs(); + let sam = new Sam(); const buf = sam.buf8(text); const file = new wavefile.WaveFile(); file.fromScratch(1, 22050, 8, buf);