@mintplex-labs/piper-tts-web
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -1,2 +0,2 @@ | ||
export type VoiceId = 'ar_JO-kareem-low' | 'ar_JO-kareem-medium' | 'ca_ES-upc_ona-medium' | 'ca_ES-upc_ona-x_low' | 'ca_ES-upc_pau-x_low' | 'cs_CZ-jirka-low' | 'cs_CZ-jirka-medium' | 'da_DK-talesyntese-medium' | 'de_DE-eva_k-x_low' | 'de_DE-karlsson-low' | 'de_DE-kerstin-low' | 'de_DE-mls-medium' | 'de_DE-pavoque-low' | 'de_DE-ramona-low' | 'de_DE-thorsten-high' | 'de_DE-thorsten-low' | 'de_DE-thorsten-medium' | 'de_DE-thorsten_emotional-medium' | 'el_GR-rapunzelina-low' | 'en_GB-alan-low' | 'en_GB-alan-medium' | 'en_GB-alba-medium' | 'en_GB-aru-medium' | 'en_GB-cori-high' | 'en_GB-cori-medium' | 'en_GB-jenny_dioco-medium' | 'en_GB-northern_english_male-medium' | 'en_GB-semaine-medium' | 'en_GB-southern_english_female-low' | 'en_GB-vctk-medium' | 'en_US-amy-low' | 'en_US-amy-medium' | 'en_US-arctic-medium' | 'en_US-danny-low' | 'en_US-hfc_female-medium' | 'en_US-hfc_male-medium' | 'en_US-joe-medium' | 'en_US-kathleen-low' | 'en_US-kristin-medium' | 'en_US-kusal-medium' | 'en_US-l2arctic-medium' | 'en_US-lessac-high' | 'en_US-lessac-low' | 'en_US-lessac-medium' | 'en_US-libritts-high' | 'en_US-libritts_r-medium' | 'en_US-ljspeech-high' | 'en_US-ljspeech-medium' | 'en_US-ryan-high' | 'en_US-ryan-low' | 'en_US-ryan-medium' | 'es_ES-carlfm-x_low' | 'es_ES-davefx-medium' | 'es_ES-mls_10246-low' | 'es_ES-mls_9972-low' | 'es_ES-sharvard-medium' | 'es_MX-ald-medium' | 'es_MX-claude-high' | 'fa_IR-amir-medium' | 'fa_IR-gyro-medium' | 'fi_FI-harri-low' | 'fi_FI-harri-medium' | 'fr_FR-gilles-low' | 'fr_FR-mls-medium' | 'fr_FR-mls_1840-low' | 'fr_FR-siwis-low' | 'fr_FR-siwis-medium' | 'fr_FR-tom-medium' | 'fr_FR-upmc-medium' | 'hu_HU-anna-medium' | 'hu_HU-berta-medium' | 'hu_HU-imre-medium' | 'is_IS-bui-medium' | 'is_IS-salka-medium' | 'is_IS-steinn-medium' | 'is_IS-ugla-medium' | 'it_IT-riccardo-x_low' | 'ka_GE-natia-medium' | 'kk_KZ-iseke-x_low' | 'kk_KZ-issai-high' | 'kk_KZ-raya-x_low' | 'lb_LU-marylux-medium' | 'ne_NP-google-medium' | 'ne_NP-google-x_low' | 'nl_BE-nathalie-medium' | 'nl_BE-nathalie-x_low' | 'nl_BE-rdh-medium' | 'nl_BE-rdh-x_low' | 'nl_NL-mls-medium' | 'nl_NL-mls_5809-low' | 'nl_NL-mls_7432-low' | 'no_NO-talesyntese-medium' | 'pl_PL-darkman-medium' | 'pl_PL-gosia-medium' | 'pl_PL-mc_speech-medium' | 'pl_PL-mls_6892-low' | 'pt_BR-edresson-low' | 'pt_BR-faber-medium' | 'pt_PT-tugão-medium' | 'ro_RO-mihai-medium' | 'ru_RU-denis-medium' | 'ru_RU-dmitri-medium' | 'ru_RU-irina-medium' | 'ru_RU-ruslan-medium' | 'sk_SK-lili-medium' | 'sl_SI-artur-medium' | 'sr_RS-serbski_institut-medium' | 'sv_SE-nst-medium' | 'sw_CD-lanfrica-medium' | 'tr_TR-dfki-medium' | 'tr_TR-fahrettin-medium' | 'tr_TR-fettah-medium' | 'uk_UA-lada-x_low' | 'uk_UA-ukrainian_tts-medium' | 'vi_VN-25hours_single-low' | 'vi_VN-vais1000-medium' | 'vi_VN-vivos-x_low' | 'zh_CN-huayan-medium' | 'zh_CN-huayan-x_low'; | ||
export type VoiceId = string | 'ar_JO-kareem-low' | 'ar_JO-kareem-medium' | 'ca_ES-upc_ona-medium' | 'ca_ES-upc_ona-x_low' | 'ca_ES-upc_pau-x_low' | 'cs_CZ-jirka-low' | 'cs_CZ-jirka-medium' | 'da_DK-talesyntese-medium' | 'de_DE-eva_k-x_low' | 'de_DE-karlsson-low' | 'de_DE-kerstin-low' | 'de_DE-mls-medium' | 'de_DE-pavoque-low' | 'de_DE-ramona-low' | 'de_DE-thorsten-high' | 'de_DE-thorsten-low' | 'de_DE-thorsten-medium' | 'de_DE-thorsten_emotional-medium' | 'el_GR-rapunzelina-low' | 'en_GB-alan-low' | 'en_GB-alan-medium' | 'en_GB-alba-medium' | 'en_GB-aru-medium' | 'en_GB-cori-high' | 'en_GB-cori-medium' | 'en_GB-jenny_dioco-medium' | 'en_GB-northern_english_male-medium' | 'en_GB-semaine-medium' | 'en_GB-southern_english_female-low' | 'en_GB-vctk-medium' | 'en_US-amy-low' | 'en_US-amy-medium' | 'en_US-arctic-medium' | 'en_US-danny-low' | 'en_US-hfc_female-medium' | 'en_US-hfc_male-medium' | 'en_US-joe-medium' | 'en_US-kathleen-low' | 'en_US-kristin-medium' | 'en_US-kusal-medium' | 'en_US-l2arctic-medium' | 'en_US-lessac-high' | 'en_US-lessac-low' | 'en_US-lessac-medium' | 'en_US-libritts-high' | 'en_US-libritts_r-medium' | 'en_US-ljspeech-high' | 'en_US-ljspeech-medium' | 'en_US-ryan-high' | 'en_US-ryan-low' | 'en_US-ryan-medium' | 'es_ES-carlfm-x_low' | 'es_ES-davefx-medium' | 'es_ES-mls_10246-low' | 'es_ES-mls_9972-low' | 'es_ES-sharvard-medium' | 'es_MX-ald-medium' | 'es_MX-claude-high' | 'fa_IR-amir-medium' | 'fa_IR-gyro-medium' | 'fi_FI-harri-low' | 'fi_FI-harri-medium' | 'fr_FR-gilles-low' | 'fr_FR-mls-medium' | 'fr_FR-mls_1840-low' | 'fr_FR-siwis-low' | 'fr_FR-siwis-medium' | 'fr_FR-tom-medium' | 'fr_FR-upmc-medium' | 'hu_HU-anna-medium' | 'hu_HU-berta-medium' | 'hu_HU-imre-medium' | 'is_IS-bui-medium' | 'is_IS-salka-medium' | 'is_IS-steinn-medium' | 'is_IS-ugla-medium' | 'it_IT-riccardo-x_low' | 'ka_GE-natia-medium' | 'kk_KZ-iseke-x_low' | 'kk_KZ-issai-high' | 'kk_KZ-raya-x_low' | 'lb_LU-marylux-medium' | 'ne_NP-google-medium' | 'ne_NP-google-x_low' | 'nl_BE-nathalie-medium' | 'nl_BE-nathalie-x_low' | 'nl_BE-rdh-medium' | 'nl_BE-rdh-x_low' | 'nl_NL-mls-medium' | 'nl_NL-mls_5809-low' | 'nl_NL-mls_7432-low' | 'no_NO-talesyntese-medium' | 'pl_PL-darkman-medium' | 'pl_PL-gosia-medium' | 'pl_PL-mc_speech-medium' | 'pl_PL-mls_6892-low' | 'pt_BR-edresson-low' | 'pt_BR-faber-medium' | 'pt_PT-tugão-medium' | 'ro_RO-mihai-medium' | 'ru_RU-denis-medium' | 'ru_RU-dmitri-medium' | 'ru_RU-irina-medium' | 'ru_RU-ruslan-medium' | 'sk_SK-lili-medium' | 'sl_SI-artur-medium' | 'sr_RS-serbski_institut-medium' | 'sv_SE-nst-medium' | 'sw_CD-lanfrica-medium' | 'tr_TR-dfki-medium' | 'tr_TR-fahrettin-medium' | 'tr_TR-fettah-medium' | 'uk_UA-lada-x_low' | 'uk_UA-ukrainian_tts-medium' | 'vi_VN-25hours_single-low' | 'vi_VN-vais1000-medium' | 'vi_VN-vivos-x_low' | 'zh_CN-huayan-medium' | 'zh_CN-huayan-x_low'; | ||
export type CountryCode = 'ar_JO' | 'ca_ES' | 'cs_CZ' | 'da_DK' | 'de_DE' | 'el_GR' | 'en_GB' | 'en_US' | 'es_ES' | 'es_MX' | 'fa_IR' | 'fi_FI' | 'fr_FR' | 'hu_HU' | 'is_IS' | 'it_IT' | 'ka_GE' | 'kk_KZ' | 'lb_LU' | 'ne_NP' | 'nl_BE' | 'nl_NL' | 'no_NO' | 'pl_PL' | 'pt_BR' | 'pt_PT' | 'ro_RO' | 'ru_RU' | 'sk_SK' | 'sl_SI' | 'sr_RS' | 'sv_SE' | 'sw_CD' | 'tr_TR' | 'uk_UA' | 'vi_VN' | 'zh_CN'; | ||
@@ -6,6 +6,6 @@ export type FileKey = `${string}/${VoiceId}.onnx` | `${string}/${VoiceId}.onnx.json` | `${string}/MODEL_CARD`; | ||
export type Voice = { | ||
key: VoiceId; | ||
key: VoiceId | string; | ||
name: string; | ||
language: { | ||
code: CountryCode; | ||
code: CountryCode | string; | ||
family: string; | ||
@@ -17,3 +17,3 @@ region: string; | ||
}; | ||
quality: Quality; | ||
quality: Quality | string; | ||
num_speakers: number; | ||
@@ -20,0 +20,0 @@ speaker_id_map: Record<string, number>; |
import { Voice } from './types'; | ||
/** | ||
* Retrieves all available voices from huggingface | ||
* Retrieves all available voices from huggingface and falls back to local cache. | ||
* @returns | ||
*/ | ||
export declare function voices(): Promise<Voice[]>; |
{ | ||
"name": "@mintplex-labs/piper-tts-web", | ||
"private": false, | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Fork of @diffusion-studio/vits-web for easier built-in PiperTTS use.", | ||
@@ -11,3 +11,3 @@ "type": "module", | ||
], | ||
"module": "./dist/vits-web.js", | ||
"module": "./dist/piper-tts-web.js", | ||
"types": "./dist/index.d.ts", | ||
@@ -17,3 +17,3 @@ "author": "team@mintplexlabs.com", | ||
".": { | ||
"import": "./dist/vits-web.js", | ||
"import": "./dist/piper-tts-web.js", | ||
"types": "./dist/index.d.ts" | ||
@@ -49,6 +49,8 @@ } | ||
"preview": "vite preview", | ||
"test": "npx playwright test --project=chromium" | ||
"test": "npx playwright test --project=chromium", | ||
"verify": "yarn build && cd scripts && node refresh-and-validate.mjs && cd .." | ||
}, | ||
"devDependencies": { | ||
"@playwright/test": "^1.35.1", | ||
"object-deep-compare": "^1.2.0", | ||
"typescript": "^5.2.2", | ||
@@ -55,0 +57,0 @@ "vite": "^5.3.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
444694
16
15159
5
7