prep for thanksgiving update

This commit is contained in:
Maikiwi 2022-11-20 18:29:29 -08:00
parent d890081c5f
commit 1fafabfd8d
5 changed files with 1160 additions and 910 deletions

View file

@ -514,7 +514,12 @@ export class BrowserWindow {
app.get("/audio/cideraudio.js", (_req, res) => {
if (existsSync(join(utils.getPath("externals"), "/audio.js"))) {
res.sendFile(join(utils.getPath("externals"), "/audio.js"));
if (utils.getStoreValue("audio.maikiwiAudio.cloud") == true) {
res.sendFile(join(utils.getPath("externals"), "/cloud/audio.js"));
}
else {
res.sendFile(join(utils.getPath("externals"), "/audio.js"));
}
} else {
res.sendFile(join(utils.getPath("srcPath"), "./renderer/audio/audio.js"));
}

View file

@ -149,6 +149,7 @@ export class Store {
Q: [2.5, 0.388, 5, 5, 2.5, 7.071, 14.14, 10, 7.071, 14.14, 8.409, 0.372, 7.071, 10, 16.82, 7.071, 28.28, 20, 8.409, 40, 40],
gain: [-0.34, 2.49, 0.23, -0.49, 0.23, -0.12, 0.32, -0.29, 0.33, 0.19, -0.18, -1.27, -0.11, 0.25, -0.18, -0.53, 0.34, 1.32, 1.78, 0.41, -0.28],
},
cloud: false
},
spatial: false,
spatial_properties: {