You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
.gitignore | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
package-lock.json | 1 year ago | |
package.json | 1 year ago | |
pkg.js | 1 year ago | |
test.js | 1 year ago |
README.md
tikmp3
Tiktok TTS Voice retrieval in Node. Code is based off of a my friend's code.
example
const fs = require("fs");
const tik = require("tikmp3");
(async function() {
let buff = await tik.get("hello world, i'm the english female voice!");
fs.writeFileSync("./test-1.mp3", buff);
console.log("- english female voice test saved to ./test-1.mp3");
buff = await tik.get("hello world, i'm the english male voice!", "en_us_006");
fs.writeFileSync("./test-2.mp3", buff);
console.log("- english male voice test saved to ./test-2.mp3");
})();