forked from Talon/tardis-bot
		
	Fix typo in sam require
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user