Commit Graph

141 Commits

Author SHA1 Message Date
valadaptive c893e2165e Enable no-prototype-builtins lint 2023-12-02 12:10:31 -05:00
Cohee a91694ebbc Change audio format check 2023-12-02 18:41:54 +02:00
valadaptive b023312117 Enable no-useless-escape lint 2023-12-02 10:32:26 -05:00
valadaptive 9204a31d32 Enable no-self-assign lint 2023-12-02 10:32:07 -05:00
valadaptive c05aee8e72 Enable no-unsafe-negation lint
This actually fixes a bug--the old code was negating "audioData.type"
2023-12-02 10:32:07 -05:00
Cohee 16527710b3 Make less obtrusive 2023-11-28 19:24:26 +02:00
Cohee a1098a4f31 Merge branch 'staging' into silerott-add-session-handling 2023-11-28 18:25:31 +02:00
Cohee f809d80ba2 Improve XTTS text processing 2023-11-28 16:56:50 +02:00
Cohee ffc4f22012 Add provider-specific TTS processing: XTTS - replace ellipsis, Novel - remove tildes. 2023-11-27 13:25:49 +02:00
Danil Boldyrev fbc72085f8 Hindi Support for XTTS 2023-11-24 20:16:49 +03:00
Cohee f802fe1797 Fix xtts separator 2023-11-22 17:47:58 +02:00
Danil Boldyrev bcad0d4e51 add XTTS 2023-11-21 13:16:56 +03:00
Cohee 1dc1b926c4 Fix TTS issues with streaming 2023-11-19 16:56:12 +02:00
Cohee 323b338cdd Add images to quiet prompts if inlining enabled 2023-11-17 01:30:32 +02:00
Cohee 6f061adc1e Add OpenAI TTS provider 2023-11-12 02:28:03 +02:00
Cohee 1f89e5a02a Merge branch 'release' into staging 2023-11-09 23:30:12 +02:00
Cohee f2a96427a8 TTS: add slash command to speak 2023-11-09 02:57:40 +02:00
Cohee ca1c0e35b1 TTS: force speak on first message in new chat 2023-11-09 01:30:54 +02:00
smirgol 4f0935c494 better deep clone of message object. re-initalize ttsLastMessage after changing chats 2023-11-08 19:08:42 +01:00
smirgol 91266c831c fix tts re-trigger for complete/autocomplete/delete
fix re-trigger tts from start if text was added to chat by auto-continue
fix re-trigger tts from start if text was added by continue button
fix re-trigger of tts when message(s) got deleted
2023-11-08 16:40:47 +01:00
smirgol 3346420527 fix api endpoint to match the current definition 2023-10-29 19:58:02 +01:00
smirgol b46f89b345 add missing session handling to silerotts 2023-10-29 17:18:21 +01:00
Cohee df85218fa7 Merge branch 'release' into staging 2023-10-23 00:27:15 +03:00
Cory Gross 5b2fff07b8
Fix race condition duplicates TTS UI if autoload chat enabled 2023-10-22 08:54:25 -07:00
Cohee 0517f1bbbc Fix elevenlabs multi-model 2023-10-22 14:46:54 +03:00
Cohee f49f9c1f96 Merge branch 'release' into staging 2023-10-22 14:01:33 +03:00
Cory Gross 348805af74
Fix TTS autogen chkbox set by elevenlabs multilingual setting 2023-10-21 22:33:28 -07:00
Cohee 421cda2ef0 Move RVC plugin to external repository 2023-10-15 17:27:11 +03:00
city-unit 0033090a93
Idle Response / Continuous Generation (#1132)
* Initial idle stuff

* Much closer, can now quietly send as user to get a char response.

* Tweaks

* Better, reset the count of getting a message back, don't send while prompt is waiting.

* Allow selecting who is being prompted

* Comments and cleaup

* Remove char name for the moment (needs something here probably)

* Add random time period and "Always add character's name to prompt" respect

* Tooltips

* Load/unload listeners

* Reduce log spam

* Add inline prompt inclusion

* Add full loud prompting

* Comments

* Fix instruct newline (I think)

* Don't reset count on continue

* add quietToLoud for script.js

* add quietToLoud for slashcommands.js

* Keep instruct directives

* Removed some logging, don't do the Novel formatting if Q2L

* Logspam begone.

* Removed a bit more logging

* Add alignment style

* Reformat files. Add comments

* Reorder extensions

* Fix repeat logic to prompt once then only repeat the number specified

* Make repeat count more clear

---------

Co-authored-by: RossAscends <124905043+RossAscends@users.noreply.github.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-09-17 22:00:10 +03:00
Cohee d34f7d3e1a Replace multigen with auto-continue 2023-09-15 21:34:41 +03:00
Cohee 599904d589 Move NovelAI endpoints to separate file 2023-09-15 17:54:13 +03:00
Cohee 09fc42a787 Lock extensions display order in top and context menus 2023-09-13 01:40:01 +03:00
Cohee bbed147ce5 Clean up browser logs 2023-09-05 18:23:24 +03:00
Cohee 0888cff254 Fix TTS speaking with disabled voice 2023-09-04 14:21:22 +03:00
Jasonnor 6d2caf94bf TTS: Avoid default voice selector display itself 2023-09-03 23:38:34 +08:00
Jasonnor f91e1dfd86 TTS: Set character default voice from `disabled` to `default` (#1077)
## Features and improvements
- TTS Extension
  - Set character default voice from `disabled` to `DEFAULT_VOICE_MARKER`
  - Add `DEFAULT_VOICE_MARKER` option for all characters
  - Set default `DEFAULT_VOICE_MARKER` voice as `disabled`

## Related issues
- #1077
2023-09-03 01:27:54 +08:00
Cohee 79dcfa6c51 #1077 Add ability to set default voice 2023-09-01 17:58:33 +03:00
Cohee 78bfbb09f6 Add option to enable user message narration 2023-08-29 15:27:22 +03:00
Cohee 5acb7402b9 Merge branch 'ouoertheo/tts-ui-voicemap' of https://github.com/ouoertheo/SillyTavern into ouoertheo/tts-ui-voicemap 2023-08-28 21:58:49 +03:00
Cohee ac78d51d59 Change all TTS providers loading to async 2023-08-28 21:58:46 +03:00
Cohee b51511b99f Fixed Novel custom voices not saving 2023-08-28 21:46:41 +03:00
ouoertheo 42a8907547 Merge branch 'ouoertheo/tts-ui-voicemap' of https://github.com/ouoertheo/SillyTavern into ouoertheo/tts-ui-voicemap 2023-08-27 20:52:54 -05:00
ouoertheo d8843274b1 merge voicemap to settings rather than overwrite 2023-08-27 20:47:44 -05:00
ouoertheo 3ae7a6741f
Merge branch 'staging' into ouoertheo/tts-ui-voicemap 2023-08-26 11:44:58 -05:00
ouoertheo 765751aae0 fix voice map, name changes, add readme 2023-08-25 22:52:55 -05:00
ouoertheo b3a4787db6 name changes 2023-08-25 22:52:26 -05:00
ouoertheo d03af9b41d name updates, complete custom voices 2023-08-25 22:51:58 -05:00
ouoertheo 1417aa12f1 fix bug with function call context 2023-08-25 08:51:35 -05:00
ouoertheo 3ab9aee195 elevenlabs connect button 2023-08-25 08:45:37 -05:00
ouoertheo 44cd4287cb coqui voices, change how provider settings save 2023-08-25 08:27:43 -05:00
Tony Ribeiro 7437b23fa2
Merge branch 'SillyTavern:staging' into staging 2023-08-24 01:43:10 +02:00
Cohee b1c1ac465c Merge branch 'release' into staging 2023-08-23 21:37:52 +03:00
ouoertheo 5b43fe25e8 update checkReady. add voiceMap ui select 2023-08-23 08:27:53 -05:00
ouoertheo 56fcf1cbb8 add ready flag 2023-08-22 08:30:33 -05:00
ouoertheo 24b6261f46 add ready flag, add custom voice feature 2023-08-22 08:30:17 -05:00
Tony Ribeiro 84e397c429 - Audio
- refactored dynamic bgm to handle solo and group chat
        - added bgm cooldown variable, user can custom in the ui
2023-08-21 23:33:31 +02:00
Tony Ribeiro 61827d6cf8 - RVC
- Added user to character list for mapping
    - Audio
        - Corrected initialization of extension settings
        - reduce debug logs
    - Coqui:
        - Added user to character list for mapping
2023-08-21 23:33:31 +02:00
Tony Ribeiro 58b33240a2 Add initialization of audio module key in extension settings. 2023-08-21 23:33:31 +02:00
Tony Ribeiro c39e4ce274 Prototype of RVC+classification pipeline 2023-08-21 23:33:30 +02:00
Cohee 1da5ea5280 #988 Experimental fix for 11labs 2023-08-21 14:40:38 +03:00
Tony Ribeiro 16f3949e0b merging with myself :p 2023-08-17 21:39:19 +02:00
Tony Ribeiro a5c95c7151 Added full coqui-api model list available via new origin in Coqui UI: Coqui API (Experimental). Some model might not work, need to be tested. 2023-08-17 21:33:06 +02:00
Cohee 50005b5617 Reformat rvc/tts plugins 2023-08-17 12:05:17 +03:00
Tony Ribeiro a07637aa43 Coqui TTS UI, added a button to remove choosen character from the voice map. Fixed the request spam to extras when there is no local coqui model or no rvc model in extras folder. 2023-08-17 01:16:57 +02:00
Tony Ribeiro 6dce566cb9 Coqui TTS UI, corrected hiding model div when origin select is none 2023-08-16 21:31:51 +02:00
Tony Ribeiro 735066fe10 Added Coqui TTS extension option to use local models (no language/no speakers) 2023-08-16 19:19:13 +02:00
Tony Ribeiro 3cb2b7a4a9
Merge branch 'SillyTavern:staging' into staging 2023-08-15 21:15:45 +02:00
Tony Ribeiro 84845ae911 Updated RVC UI to allow per characters settings without manual voice map text. 2023-08-15 21:15:31 +02:00
Cohee ba8fa8bd0c Merge branch 'release' into staging 2023-08-15 21:38:51 +03:00
joe f0d208f929 Add speed-speech due to fast processing time 2023-08-15 19:37:15 +09:00
joe 36c6f57d96 Added stop to lip sync when user stops TTS early 2023-08-15 19:25:42 +09:00
Tony Ribeiro f97cc5694d refresh character even when module is not detected 2023-08-14 05:14:21 +02:00
Tony Ribeiro 213099dd6d removed debug messages 2023-08-14 05:05:10 +02:00
Tony Ribeiro 5816d2d6a6 Correct typo in tts index file that cause tts provider settings to be destroyed. 2023-08-14 05:03:42 +02:00
Tony Ribeiro 40d4123f08 Correct typo in tts index file that cause tts provider settings to be destroyed. 2023-08-14 04:59:11 +02:00
Tony Ribeiro e97863a0da Merge branch 'staging' of https://github.com/Tony-sama/SillyTavern into staging 2023-08-14 04:03:34 +02:00
Tony Ribeiro c414606c81 Finished new version of coqui TTS UI. 2023-08-14 04:03:28 +02:00
Tony Ribeiro fdc9349f68
Merge branch 'SillyTavern:staging' into staging 2023-08-14 04:01:32 +02:00
Cohee c0bc425c8b Debounce manager changes 2023-08-13 18:43:17 +03:00
Tony Ribeiro e60f91ce42 Finished unefficient full coqui pipeline, UI generated through request to extras. Need to be pruned 2023-08-13 02:18:46 +02:00
Tony Ribeiro 395de0fab8 Started refactoring of Coqui-tts extension. 2023-08-12 06:05:39 +02:00
joe 9fec82bd31 Add / Update talking lips animations 2023-08-11 14:43:53 +09:00
joe 5feebd4897 live2d -> talking head 2023-08-11 06:55:05 +09:00
joe e4f22fdc99 live2d -> talkinghead 2023-08-11 06:52:14 +09:00
Tony Ribeiro 8bea721721 Add extension for RVC postprocessing of TTS audio using ST extras 2023-08-09 03:30:26 +02:00
Cohee 16b45f1ea9 Reformat new code 2023-07-31 20:56:05 +03:00
joe 0c919bf32d Talking Animation 2023-07-31 18:21:32 +09:00
joe 99a18be5fc Fix for dropdown list not populating 2023-07-27 20:04:01 +09:00
Cohee 62e5f71cf9 Reformat coqui code 2023-07-26 22:57:05 +03:00
joe ce3d76d662 Coqui TTS Addition 2023-07-25 09:59:08 +09:00
Cohee edd41989fd Initial commit 2023-07-20 20:32:15 +03:00