WIP Audio Thingies
This commit is contained in:
parent
a42a88ad6c
commit
a12d629a8a
8 changed files with 164 additions and 23 deletions
|
@ -707,8 +707,12 @@ const app = new Vue({
|
|||
let replaygain = self.parseSCTagToRG(tag)
|
||||
try {
|
||||
CiderAudio.audioNodes.gainNode.gain.value = (Math.min(Math.pow(10, (replaygain.gain / 20)), (1 / replaygain.peak)))
|
||||
} catch (e) {
|
||||
|
||||
} catch (e) {}
|
||||
if (app.cfg.advanced.AudioContext === true) {
|
||||
CiderAudio.audioNodes.gainNode.gain.value += (9 - app.cfg.audio.equalizer.vibrantBass)
|
||||
if (app.cfg.audio.maikiwiAudio.spatial === true) {
|
||||
CiderAudio.audioNodes.gainNode.gain.value += 10
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue