chore: Prettified Code
[ci skip]
This commit is contained in:
parent
1fafabfd8d
commit
6ac1bfff7c
3 changed files with 3 additions and 4 deletions
|
@ -516,8 +516,7 @@ export class BrowserWindow {
|
||||||
if (existsSync(join(utils.getPath("externals"), "/audio.js"))) {
|
if (existsSync(join(utils.getPath("externals"), "/audio.js"))) {
|
||||||
if (utils.getStoreValue("audio.maikiwiAudio.cloud") == true) {
|
if (utils.getStoreValue("audio.maikiwiAudio.cloud") == true) {
|
||||||
res.sendFile(join(utils.getPath("externals"), "/cloud/audio.js"));
|
res.sendFile(join(utils.getPath("externals"), "/cloud/audio.js"));
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
res.sendFile(join(utils.getPath("externals"), "/audio.js"));
|
res.sendFile(join(utils.getPath("externals"), "/audio.js"));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -149,7 +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],
|
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],
|
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
|
cloud: false,
|
||||||
},
|
},
|
||||||
spatial: false,
|
spatial: false,
|
||||||
spatial_properties: {
|
spatial_properties: {
|
||||||
|
|
|
@ -257,7 +257,7 @@ const CiderAudio = {
|
||||||
if (!filters || filters.length === 0) {
|
if (!filters || filters.length === 0) {
|
||||||
let filterlessGain = 1;
|
let filterlessGain = 1;
|
||||||
|
|
||||||
CiderAudio.audioNodes.intelliGainComp.gain.exponentialRampToValueAtTime(1.0, CiderAudio.context.currentTime + 0.3)
|
CiderAudio.audioNodes.intelliGainComp.gain.exponentialRampToValueAtTime(1.0, CiderAudio.context.currentTime + 0.3);
|
||||||
console.debug(`[Cider][Audio] IntelliGainComp: 0 dB (1.0)`);
|
console.debug(`[Cider][Audio] IntelliGainComp: 0 dB (1.0)`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue