Merge branch 'develop' of https://github.com/ciderapp/Cider into develop
This commit is contained in:
commit
d89679436f
2 changed files with 17 additions and 5 deletions
|
@ -76,7 +76,8 @@ const CiderAudio = {
|
|||
}
|
||||
CiderAudio.equalizer()
|
||||
},
|
||||
normalizerOn: function (){},
|
||||
normalizerOn: function (){
|
||||
},
|
||||
normalizerOff: function (){
|
||||
CiderAudio.audioNodes.gainNode.gain.setTargetAtTime(1, CiderAudio.context.currentTime+ 1, 0.5);
|
||||
},
|
||||
|
@ -84,7 +85,7 @@ const CiderAudio = {
|
|||
spatialOn: function (){
|
||||
if (app.cfg.audio.maikiwiAudio.spatial === true) {
|
||||
CiderAudio.audioNodes.spatialNode = CiderAudio.context.createConvolver();
|
||||
|
||||
CiderAudio.audioNodes.spatialNode.normalize = true;
|
||||
switch (app.cfg.audio.maikiwiAudio.spatialType) {
|
||||
case 0:
|
||||
fetch('./audio/impulses/CiderSpatial_Conv.wav').then(async (impulseData) => {
|
||||
|
@ -108,8 +109,7 @@ const CiderAudio = {
|
|||
});
|
||||
app.cfg.audio.maikiwiAudio.spatialType = 0;
|
||||
break;
|
||||
}
|
||||
CiderAudio.audioNodes.spatialNode.normalize = true;
|
||||
}
|
||||
CiderAudio.audioNodes.spatialNode.connect(CiderAudio.context.destination);
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
</div>
|
||||
<div class="md-option-line" v-show="app.cfg.advanced.AudioContext === true">
|
||||
<div class="md-option-segment">
|
||||
Cider Origami Vocal Enhance/Remaster™️
|
||||
Cider Origami™️ Vocal Enhancer/Remasterer
|
||||
<br>
|
||||
<small>Re-textures the vocals by carving out the frequencies and adjusts them to the selected profile.<br>
|
||||
<b>Modern:</b>
|
||||
|
@ -169,10 +169,22 @@
|
|||
methods: {
|
||||
toggleSpatial: function () {
|
||||
if (app.cfg.audio.spatial) {
|
||||
if (app.cfg.audio.maikiwiAudio.spatial === false) {
|
||||
if (app.mk.volume - 0.2512 > 0) {app.mk.volume -= 0.2512}
|
||||
else {app.mk.volume = 0.0001}
|
||||
}
|
||||
CiderAudio.spatialOn()
|
||||
CiderAudio.hierarchical_loading();
|
||||
if (app.cfg.audio.maikiwiAudio.spatial === true) {
|
||||
if (app.mk.volume + 0.2512 < 1) {app.mk.volume += 0.2512}
|
||||
else {app.mk.volume = 1}
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (app.cfg.audio.maikiwiAudio.spatial === true) {
|
||||
if (app.mk.volume - 0.2512 > 0) {app.mk.volume -= 0.2512}
|
||||
else {app.mk.volume = 0.0001}
|
||||
}
|
||||
app.cfg.audio.maikiwiAudio.spatial = false;
|
||||
CiderAudio.spatialOff()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue