SillyTavern/public/scripts/extensions/audio
Tony Ribeiro c9783640c0
Dynamic Audio UI: more controls (#1127)
* Added control to audio ui to select bgm/ambient and lock selection to overide dynamic audio update. Load both assets and char specific audio assets

* correct ambient label and default value when no assets available.

* add padding in audio select

* Correct audio change of background ambient when locked. Updated CSS of audio ui for mobile friendly.

* add space between mixer

* Add checkbox to enable dynamic bgm/ambient switch

* correct background ambient fadout

* continue debuging ambient audio update

* finish debuging

* Fix BGM console error on first run. Reformat plugin code

* Changed audio bgm lock into loop on/off. Added random pick button for bgm. Moved ambient lock button to right.

* Add mouse wheel event handler on volume controls

* Change bgm select to only contain current chat character bgm (solo/group). When enable expression bgm is off, any of the char+asset bgm can play next if not looping.

* Corrected bgm looping at start. Force random to play another song if there is any.

* Format code

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-09-20 21:36:50 +03:00
..
index.js Dynamic Audio UI: more controls (#1127) 2023-09-20 21:36:50 +03:00
manifest.json update audio manifest 2023-08-23 18:58:54 +02:00
style.css Dynamic Audio UI: more controls (#1127) 2023-09-20 21:36:50 +03:00
window.html Dynamic Audio UI: more controls (#1127) 2023-09-20 21:36:50 +03:00