mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-12 01:17:39 +01:00
cleaning up audio module
This commit is contained in:
parent
ca9e6583c6
commit
f492da671e
@ -24,7 +24,6 @@ export { MODULE_NAME };
|
||||
const MODULE_NAME = 'Audio';
|
||||
const DEBUG_PREFIX = "<Audio module> ";
|
||||
const UPDATE_INTERVAL = 1000;
|
||||
const BGM_UPDATE_COOLDOWN = 10;
|
||||
|
||||
const FALLBACK_EXPRESSION = "neutral";
|
||||
const DEFAULT_EXPRESSIONS = [
|
||||
@ -63,7 +62,7 @@ const AMBIENT_FOLDER = "sounds/ambient/";
|
||||
const FALLBACK_BGMS = ["sounds/bgm/bgm_0.mp3"]; // TODO fetch them from folder default and custom
|
||||
|
||||
let characterMusics = {}; // Updated with module workers
|
||||
let ambientMusics = []; // Initialized only once
|
||||
//let ambientMusics = []; // Initialized only once
|
||||
|
||||
let currentCharacterBGM = null;
|
||||
let currentExpressionBGM = null;
|
||||
|
Loading…
Reference in New Issue
Block a user