wip audiolabs slider
This commit is contained in:
parent
13ffb07436
commit
34d9652fc8
5 changed files with 790 additions and 416 deletions
|
@ -69,7 +69,7 @@
|
||||||
"youtube-search-without-api-key": "^1.0.7"
|
"youtube-search-without-api-key": "^1.0.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/discord-rpc": "^4.0.0",
|
"@types/discord-rpc": "4.0.0",
|
||||||
"@types/express": "^4.17.13",
|
"@types/express": "^4.17.13",
|
||||||
"@types/qrcode-terminal": "^0.12.0",
|
"@types/qrcode-terminal": "^0.12.0",
|
||||||
"@types/ws": "^8.5.1",
|
"@types/ws": "^8.5.1",
|
||||||
|
|
|
@ -40,7 +40,8 @@ const CiderAudio = {
|
||||||
analogWarmth: null
|
analogWarmth: null
|
||||||
}
|
}
|
||||||
} catch (e) { }
|
} catch (e) { }
|
||||||
CiderAudio.source.connect(CiderAudio.context.destination);} catch(e){}
|
CiderAudio.source.connect(CiderAudio.context.destination);
|
||||||
|
} catch (e) { }
|
||||||
},
|
},
|
||||||
connectContext: function (mediaElem) {
|
connectContext: function (mediaElem) {
|
||||||
if (!CiderAudio.context) {
|
if (!CiderAudio.context) {
|
||||||
|
@ -68,18 +69,26 @@ const CiderAudio = {
|
||||||
{
|
{
|
||||||
"id": "420signature",
|
"id": "420signature",
|
||||||
"file": './audio/impulses/CiderSpatial_v69.420_Audiophile.wav',
|
"file": './audio/impulses/CiderSpatial_v69.420_Audiophile.wav',
|
||||||
|
"name": "Signature (Classic)",
|
||||||
|
"description": "",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "420signature-B",
|
"id": "420signature-B",
|
||||||
"file": './audio/impulses/CiderSpatial_v69.420_Audiophile_B.wav',
|
"file": './audio/impulses/CiderSpatial_v69.420_Audiophile_B.wav',
|
||||||
|
"name": "Signature (Focused)",
|
||||||
|
"description": "",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "standard",
|
"id": "standard",
|
||||||
"file": './audio/impulses/CiderSpatial_v69_Standard.wav',
|
"file": './audio/impulses/CiderSpatial_v69_Standard.wav',
|
||||||
|
"name": "Minimal",
|
||||||
|
"description": "",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "audiophile",
|
"id": "audiophile",
|
||||||
"file": './audio/impulses/CiderSpatial_v69_Audiophile.wav'
|
"file": './audio/impulses/CiderSpatial_v69_Audiophile.wav',
|
||||||
|
"name": "Expansive",
|
||||||
|
"description": "",
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
spatialOn: function () {
|
spatialOn: function () {
|
||||||
|
@ -97,7 +106,8 @@ const CiderAudio = {
|
||||||
}
|
}
|
||||||
fetch(spatialProfile.file).then(async (impulseData) => {
|
fetch(spatialProfile.file).then(async (impulseData) => {
|
||||||
let bufferedImpulse = await impulseData.arrayBuffer();
|
let bufferedImpulse = await impulseData.arrayBuffer();
|
||||||
CiderAudio.audioNodes.spatialNode.buffer = await CiderAudio.context.decodeAudioData(bufferedImpulse);});
|
CiderAudio.audioNodes.spatialNode.buffer = await CiderAudio.context.decodeAudioData(bufferedImpulse);
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -117,7 +127,8 @@ const CiderAudio = {
|
||||||
up: 'acoustic-ceiling-tiles',
|
up: 'acoustic-ceiling-tiles',
|
||||||
};
|
};
|
||||||
CiderAudio.audioNodes.spatialNode.setRoomProperties(roomDimensions, roomMaterials);
|
CiderAudio.audioNodes.spatialNode.setRoomProperties(roomDimensions, roomMaterials);
|
||||||
CiderAudio.audioNodes.spatialInput = CiderAudio.audioNodes.spatialNode.createSource();}
|
CiderAudio.audioNodes.spatialInput = CiderAudio.audioNodes.spatialNode.createSource();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
spatialOff: function () {
|
spatialOff: function () {
|
||||||
CiderAudio.hierarchical_loading();
|
CiderAudio.hierarchical_loading();
|
||||||
|
@ -254,7 +265,8 @@ const CiderAudio = {
|
||||||
const audioData = data.audioBuffer;
|
const audioData = data.audioBuffer;
|
||||||
const bufferSize = data.bufferSize;
|
const bufferSize = data.bufferSize;
|
||||||
if ((audioData[0]).some(item => item !== 0) || (audioData[0]).some(item => item !== 0)) {
|
if ((audioData[0]).some(item => item !== 0) || (audioData[0]).some(item => item !== 0)) {
|
||||||
ipcRenderer.send('writeWAV', audioData[0], audioData[1], bufferSize);}
|
ipcRenderer.send('writeWAV', audioData[0], audioData[1], bufferSize);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case "stop":
|
case "stop":
|
||||||
break;
|
break;
|
||||||
|
@ -267,11 +279,13 @@ const CiderAudio = {
|
||||||
clearInterval(searchInt);
|
clearInterval(searchInt);
|
||||||
}
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
} else {if (CiderAudio.audioNodes.recorderNode != null && CiderAudio.context != null) {
|
} else {
|
||||||
|
if (CiderAudio.audioNodes.recorderNode != null && CiderAudio.context != null) {
|
||||||
CiderAudio.audioNodes.recorderNode.parameters.get('isRecording').setValueAtTime(1, CiderAudio.context.currentTime);
|
CiderAudio.audioNodes.recorderNode.parameters.get('isRecording').setValueAtTime(1, CiderAudio.context.currentTime);
|
||||||
// CiderAudio.audioNodes.recorderNode = null;
|
// CiderAudio.audioNodes.recorderNode = null;
|
||||||
// CiderAudio.ccON = false;
|
// CiderAudio.ccON = false;
|
||||||
}}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
stopAudio() {
|
stopAudio() {
|
||||||
|
@ -329,15 +343,18 @@ const CiderAudio = {
|
||||||
switch (hierarchy) {
|
switch (hierarchy) {
|
||||||
case 3:
|
case 3:
|
||||||
try {
|
try {
|
||||||
CiderAudio.audioNodes.analogWarmth[WARMTH_FREQUENCIES.length-1].connect(CiderAudio.audioNodes.llpw[0]);} catch(e){}
|
CiderAudio.audioNodes.analogWarmth[WARMTH_FREQUENCIES.length - 1].connect(CiderAudio.audioNodes.llpw[0]);
|
||||||
|
} catch (e) { }
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
try {
|
try {
|
||||||
CiderAudio.audioNodes.analogWarmth[WARMTH_FREQUENCIES.length-1].connect(CiderAudio.audioNodes.vibrantbassNode[0]);} catch(e){}
|
CiderAudio.audioNodes.analogWarmth[WARMTH_FREQUENCIES.length - 1].connect(CiderAudio.audioNodes.vibrantbassNode[0]);
|
||||||
|
} catch (e) { }
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
try {
|
try {
|
||||||
CiderAudio.audioNodes.analogWarmth[WARMTH_FREQUENCIES.length-1].connect(CiderAudio.audioNodes.audioBands[0]);} catch(e){}
|
CiderAudio.audioNodes.analogWarmth[WARMTH_FREQUENCIES.length - 1].connect(CiderAudio.audioNodes.audioBands[0]);
|
||||||
|
} catch (e) { }
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
try { CiderAudio.audioNodes.analogWarmth[WARMTH_FREQUENCIES.length - 1].connect(CiderAudio.context.destination); } catch (e) { }
|
try { CiderAudio.audioNodes.analogWarmth[WARMTH_FREQUENCIES.length - 1].connect(CiderAudio.context.destination); } catch (e) { }
|
||||||
|
@ -363,7 +380,8 @@ const CiderAudio = {
|
||||||
CiderAudio.audioNodes.llpw[0].normalize = false;
|
CiderAudio.audioNodes.llpw[0].normalize = false;
|
||||||
fetch('./audio/impulses/CAP_Natural.wav').then(async (impulseData) => {
|
fetch('./audio/impulses/CAP_Natural.wav').then(async (impulseData) => {
|
||||||
let bufferedImpulse = await impulseData.arrayBuffer();
|
let bufferedImpulse = await impulseData.arrayBuffer();
|
||||||
CiderAudio.audioNodes.llpw[0].buffer = await CiderAudio.context.decodeAudioData(bufferedImpulse);});
|
CiderAudio.audioNodes.llpw[0].buffer = await CiderAudio.context.decodeAudioData(bufferedImpulse);
|
||||||
|
});
|
||||||
|
|
||||||
switch (hierarchy) {
|
switch (hierarchy) {
|
||||||
case 2:
|
case 2:
|
||||||
|
@ -442,7 +460,8 @@ const CiderAudio = {
|
||||||
CiderAudio.audioNodes.llpw[0].normalize = false;
|
CiderAudio.audioNodes.llpw[0].normalize = false;
|
||||||
fetch('./audio/impulses/CAP_Natural.wav').then(async (impulseData) => {
|
fetch('./audio/impulses/CAP_Natural.wav').then(async (impulseData) => {
|
||||||
let bufferedImpulse = await impulseData.arrayBuffer();
|
let bufferedImpulse = await impulseData.arrayBuffer();
|
||||||
CiderAudio.audioNodes.llpw[0].buffer = await CiderAudio.context.decodeAudioData(bufferedImpulse);});
|
CiderAudio.audioNodes.llpw[0].buffer = await CiderAudio.context.decodeAudioData(bufferedImpulse);
|
||||||
|
});
|
||||||
|
|
||||||
switch (hierarchy) {
|
switch (hierarchy) {
|
||||||
case 2:
|
case 2:
|
||||||
|
@ -485,7 +504,8 @@ const CiderAudio = {
|
||||||
switch (hierarchy) {
|
switch (hierarchy) {
|
||||||
case 0:
|
case 0:
|
||||||
try {
|
try {
|
||||||
CiderAudio.audioNodes.vibrantbassNode[0].connect(CiderAudio.context.destination);} catch(e){}
|
CiderAudio.audioNodes.vibrantbassNode[0].connect(CiderAudio.context.destination);
|
||||||
|
} catch (e) { }
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
try { CiderAudio.audioNodes.vibrantbassNode[0].connect(CiderAudio.audioNodes.audioBands[0]); } catch (e) { }
|
try { CiderAudio.audioNodes.vibrantbassNode[0].connect(CiderAudio.audioNodes.audioBands[0]); } catch (e) { }
|
||||||
|
@ -909,7 +929,8 @@ const CiderAudio = {
|
||||||
switch (hierarchy) {
|
switch (hierarchy) {
|
||||||
case 0:
|
case 0:
|
||||||
try {
|
try {
|
||||||
CiderAudio.audioNodes.audioBands[BANDS.length-1].connect(CiderAudio.context.destination);} catch(e){}
|
CiderAudio.audioNodes.audioBands[BANDS.length - 1].connect(CiderAudio.context.destination);
|
||||||
|
} catch (e) { }
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
205
src/renderer/less/bootstrap.less
vendored
205
src/renderer/less/bootstrap.less
vendored
|
@ -7768,3 +7768,208 @@ fieldset:disabled .btn {
|
||||||
padding: 1rem 1rem;
|
padding: 1rem 1rem;
|
||||||
color : #212529;
|
color : #212529;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// carousel
|
||||||
|
.carousel {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel.pointer-event {
|
||||||
|
-ms-touch-action: pan-y;
|
||||||
|
touch-action: pan-y;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-inner {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-inner::after {
|
||||||
|
display: block;
|
||||||
|
clear: both;
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-item {
|
||||||
|
position: relative;
|
||||||
|
display: none;
|
||||||
|
float: left;
|
||||||
|
width: 100%;
|
||||||
|
margin-right: -100%;
|
||||||
|
-webkit-backface-visibility: hidden;
|
||||||
|
backface-visibility: hidden;
|
||||||
|
transition: -webkit-transform 0.6s ease-in-out;
|
||||||
|
transition: transform 0.6s ease-in-out;
|
||||||
|
transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.carousel-item {
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-item.active,
|
||||||
|
.carousel-item-next,
|
||||||
|
.carousel-item-prev {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-item-next:not(.carousel-item-left),
|
||||||
|
.active.carousel-item-right {
|
||||||
|
-webkit-transform: translateX(100%);
|
||||||
|
transform: translateX(100%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-item-prev:not(.carousel-item-right),
|
||||||
|
.active.carousel-item-left {
|
||||||
|
-webkit-transform: translateX(-100%);
|
||||||
|
transform: translateX(-100%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-fade .carousel-item {
|
||||||
|
opacity: 0;
|
||||||
|
transition-property: opacity;
|
||||||
|
-webkit-transform: none;
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-fade .carousel-item.active,
|
||||||
|
.carousel-fade .carousel-item-next.carousel-item-left,
|
||||||
|
.carousel-fade .carousel-item-prev.carousel-item-right {
|
||||||
|
z-index: 1;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-fade .active.carousel-item-left,
|
||||||
|
.carousel-fade .active.carousel-item-right {
|
||||||
|
z-index: 0;
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0s 0.6s;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.carousel-fade .active.carousel-item-left,
|
||||||
|
.carousel-fade .active.carousel-item-right {
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-control-prev,
|
||||||
|
.carousel-control-next {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 1;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 15%;
|
||||||
|
padding: 0;
|
||||||
|
color: #fff;
|
||||||
|
text-align: center;
|
||||||
|
background: none;
|
||||||
|
border: 0;
|
||||||
|
opacity: 0.5;
|
||||||
|
transition: opacity 0.15s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.carousel-control-prev,
|
||||||
|
.carousel-control-next {
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-control-prev:hover, .carousel-control-prev:focus,
|
||||||
|
.carousel-control-next:hover,
|
||||||
|
.carousel-control-next:focus {
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
outline: 0;
|
||||||
|
opacity: 0.9;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-control-prev {
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-control-next {
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-control-prev-icon,
|
||||||
|
.carousel-control-next-icon {
|
||||||
|
display: inline-block;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
background: 50% / 100% 100% no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-control-prev-icon {
|
||||||
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-control-next-icon {
|
||||||
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-indicators {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 15;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding-left: 0;
|
||||||
|
margin-right: 15%;
|
||||||
|
margin-left: 15%;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-indicators li {
|
||||||
|
box-sizing: content-box;
|
||||||
|
-ms-flex: 0 1 auto;
|
||||||
|
flex: 0 1 auto;
|
||||||
|
width: 30px;
|
||||||
|
height: 3px;
|
||||||
|
margin-right: 3px;
|
||||||
|
margin-left: 3px;
|
||||||
|
text-indent: -999px;
|
||||||
|
cursor: pointer;
|
||||||
|
background-color: #fff;
|
||||||
|
background-clip: padding-box;
|
||||||
|
border-top: 10px solid transparent;
|
||||||
|
border-bottom: 10px solid transparent;
|
||||||
|
opacity: .5;
|
||||||
|
transition: opacity 0.6s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.carousel-indicators li {
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-indicators .active {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-caption {
|
||||||
|
position: absolute;
|
||||||
|
right: 15%;
|
||||||
|
bottom: 20px;
|
||||||
|
left: 15%;
|
||||||
|
z-index: 10;
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
color: #fff;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
|
@ -841,6 +841,87 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AudioLabs page
|
||||||
|
.audiolabs-page {
|
||||||
|
padding: 0px;
|
||||||
|
|
||||||
|
.md-option-header {
|
||||||
|
padding : 1.25em 1.25em;
|
||||||
|
border-bottom: unset;
|
||||||
|
border-top : unset;
|
||||||
|
font-weight : 600;
|
||||||
|
font-size : 1.0em;
|
||||||
|
background : rgb(255 255 255 / 3%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-item>img {
|
||||||
|
object-fit: cover;
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.spprofile-line {
|
||||||
|
height: 300px;
|
||||||
|
width: 100%;
|
||||||
|
padding: 16px;
|
||||||
|
|
||||||
|
.spprofile-viewport {
|
||||||
|
height: 100%;
|
||||||
|
position: relative;
|
||||||
|
border-radius: var(--mediaItemRadius);
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: var(--mediaItemShadow-Shadow);
|
||||||
|
background: black;
|
||||||
|
|
||||||
|
.spprev, .nextprev {
|
||||||
|
position: absolute;
|
||||||
|
height: 100%;
|
||||||
|
width: 64px;
|
||||||
|
top: 0;
|
||||||
|
background: #eee;
|
||||||
|
z-index: 1;
|
||||||
|
border: 0px;
|
||||||
|
-webkit-mask-position: center;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-size: 1em;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.spprev {
|
||||||
|
left: 0;
|
||||||
|
-webkit-mask-image: url("./views/svg/chevron-left.svg");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.nextprev {
|
||||||
|
right: 0;
|
||||||
|
-webkit-mask-image: url("./views/svg/chevron-right.svg");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.spslide {
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
background: black;
|
||||||
|
|
||||||
|
.sptitle {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 32px;
|
||||||
|
left: 0;
|
||||||
|
width:100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.settings-option-body {
|
||||||
|
margin: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//Home
|
//Home
|
||||||
.home-page {
|
.home-page {
|
||||||
top : 0;
|
top : 0;
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
<script type="text/x-template" id="audiolabs-page">
|
<script type="text/x-template" id="audiolabs-page">
|
||||||
<div class="content-inner settings-page">
|
<div class="content-inner audiolabs-page ">
|
||||||
<div class="md-option-container">
|
<div class="md-option-container">
|
||||||
|
|
||||||
<div class="settings-option-body">
|
<div class="settings-option-body">
|
||||||
<div class="md-option-line">
|
<div class="md-option-line">
|
||||||
<b-jumbotron :header="$root.getLz('settings.option.audio.audioLab')" :lead="$root.getLz('term.creditDesignedBy').replace('${authorUsername}', 'Maikiwi')"></b-jumbotron>
|
<b-jumbotron :header="$root.getLz('settings.option.audio.audioLab')"
|
||||||
|
:lead="$root.getLz('term.creditDesignedBy').replace('${authorUsername}', 'Maikiwi')"></b-jumbotron>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-line" v-show="app.cfg.advanced.AudioContext === false">
|
<div class="md-option-line" v-show="app.cfg.advanced.AudioContext === false">
|
||||||
<div class="md-option-segment">
|
<div class="md-option-segment">
|
||||||
|
@ -21,7 +22,8 @@
|
||||||
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.ciderPPE.description')}}</small>
|
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.ciderPPE.description')}}</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-segment md-option-segment_auto">
|
<div class="md-option-segment md-option-segment_auto">
|
||||||
<input type="checkbox" v-model="app.cfg.audio.maikiwiAudio.ciderPPE" v-on:change="CiderAudio.hierarchical_loading();" switch/>
|
<input type="checkbox" v-model="app.cfg.audio.maikiwiAudio.ciderPPE"
|
||||||
|
v-on:change="CiderAudio.hierarchical_loading();" switch/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-line" v-show="app.cfg.audio.maikiwiAudio.ciderPPE === true">
|
<div class="md-option-line" v-show="app.cfg.audio.maikiwiAudio.ciderPPE === true">
|
||||||
|
@ -31,11 +33,16 @@
|
||||||
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.ciderPPEStrength.description')}}</small>
|
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.ciderPPEStrength.description')}}</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-segment md-option-segment_auto">
|
<div class="md-option-segment md-option-segment_auto">
|
||||||
<select class="md-select" style="width:180px;" v-model="app.cfg.audio.maikiwiAudio.ciderPPE_value"
|
<select class="md-select" style="width:180px;"
|
||||||
|
v-model="app.cfg.audio.maikiwiAudio.ciderPPE_value"
|
||||||
v-on:change="CiderAudio.hierarchical_loading()">
|
v-on:change="CiderAudio.hierarchical_loading()">
|
||||||
<option value="NATURAL">Natural</option>
|
<option value="NATURAL">Natural</option>
|
||||||
<option value="STANDARD">{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.ciderPPEStrength.standard')}}</option>
|
<option value="STANDARD">
|
||||||
<option value="AGGRESSIVE">{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.ciderPPEStrength.aggressive')}}</option>
|
{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.ciderPPEStrength.standard')}}
|
||||||
|
</option>
|
||||||
|
<option value="AGGRESSIVE">
|
||||||
|
{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.ciderPPEStrength.aggressive')}}
|
||||||
|
</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -46,20 +53,27 @@
|
||||||
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.analogWarmth.description')}}</small>
|
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.analogWarmth.description')}}</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-segment md-option-segment_auto">
|
<div class="md-option-segment md-option-segment_auto">
|
||||||
<input type="checkbox" v-model="app.cfg.audio.maikiwiAudio.analogWarmth" v-on:change="CiderAudio.hierarchical_loading();" switch/>
|
<input type="checkbox" v-model="app.cfg.audio.maikiwiAudio.analogWarmth"
|
||||||
|
v-on:change="CiderAudio.hierarchical_loading();" switch/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-line" v-show="app.cfg.advanced.AudioContext === true && app.cfg.audio.maikiwiAudio.analogWarmth === true">
|
<div class="md-option-line"
|
||||||
|
v-show="app.cfg.advanced.AudioContext === true && app.cfg.audio.maikiwiAudio.analogWarmth === true">
|
||||||
<div class="md-option-segment">
|
<div class="md-option-segment">
|
||||||
{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.analogWarmthIntensity')}}
|
{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.analogWarmthIntensity')}}
|
||||||
<br>
|
<br>
|
||||||
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.analogWarmthIntensity.description')}}</small>
|
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.analogWarmthIntensity.description')}}</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-segment md-option-segment_auto">
|
<div class="md-option-segment md-option-segment_auto">
|
||||||
<select class="md-select" style="width:180px;" v-model="app.cfg.audio.maikiwiAudio.analogWarmth_value"
|
<select class="md-select" style="width:180px;"
|
||||||
|
v-model="app.cfg.audio.maikiwiAudio.analogWarmth_value"
|
||||||
v-on:change="ChangeanalogWarmth()">
|
v-on:change="ChangeanalogWarmth()">
|
||||||
<option value="SMOOTH">{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.analogWarmthIntensity.smooth')}}</option>
|
<option value="SMOOTH">
|
||||||
<option value="WARM">{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.analogWarmthIntensity.warm')}}</option>
|
{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.analogWarmthIntensity.smooth')}}
|
||||||
|
</option>
|
||||||
|
<option value="WARM">
|
||||||
|
{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.analogWarmthIntensity.warm')}}
|
||||||
|
</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -70,7 +84,9 @@
|
||||||
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.audioSpatialization.description')}}</small>
|
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.audioSpatialization.description')}}</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-segment md-option-segment_auto">
|
<div class="md-option-segment md-option-segment_auto">
|
||||||
<input type="checkbox" v-model="app.cfg.audio.spatial" :disabled="app.cfg.audio.maikiwiAudio.spatial === true" v-on:change="toggleSpatial" switch/>
|
<input type="checkbox" v-model="app.cfg.audio.spatial"
|
||||||
|
:disabled="app.cfg.audio.maikiwiAudio.spatial === true" v-on:change="toggleSpatial"
|
||||||
|
switch/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-line" v-show="app.cfg.advanced.AudioContext === true">
|
<div class="md-option-line" v-show="app.cfg.advanced.AudioContext === true">
|
||||||
|
@ -80,25 +96,38 @@
|
||||||
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.tunedAudioSpatialization.description')}}</small>
|
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.tunedAudioSpatialization.description')}}</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-segment md-option-segment_auto">
|
<div class="md-option-segment md-option-segment_auto">
|
||||||
<input type="checkbox" v-model="app.cfg.audio.maikiwiAudio.spatial" :disabled="app.cfg.audio.spatial === false" v-on:change="toggleMaikiwiSpatial" switch/>
|
<input type="checkbox" v-model="app.cfg.audio.maikiwiAudio.spatial"
|
||||||
|
:disabled="app.cfg.audio.spatial === false" v-on:change="toggleMaikiwiSpatial" switch/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-line" v-show="app.cfg.audio.maikiwiAudio.spatial === true && app.cfg.audio.spatial === true">
|
<div class="md-option-line"
|
||||||
|
v-show="app.cfg.audio.maikiwiAudio.spatial === true && app.cfg.audio.spatial === true">
|
||||||
<div class="md-option-segment">
|
<div class="md-option-segment">
|
||||||
{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.tunedAudioSpatialization.profile')}}
|
{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.tunedAudioSpatialization.profile')}}
|
||||||
<br>
|
<br>
|
||||||
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.tunedAudioSpatialization.profile.description')}}</small>
|
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.tunedAudioSpatialization.profile.description')}}</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-segment md-option-segment_auto">
|
<div class="md-option-segment md-option-segment_auto">
|
||||||
<select class="md-select" style="width:180px;" v-model="app.cfg.audio.maikiwiAudio.spatialProfile"
|
<select class="md-select" style="width:180px;"
|
||||||
|
v-model="$root.cfg.audio.maikiwiAudio.spatialProfile"
|
||||||
v-on:change="toggleMaikiwiSpatial">
|
v-on:change="toggleMaikiwiSpatial">
|
||||||
<option value="420signature-B">Signature (Focused)</option>
|
<option v-for="profile in spprofiles" :value="profile.id">{{ profile.name }}</option>
|
||||||
<option value="420signature">Signature (Classic)</option>
|
|
||||||
<option value="audiophile">Expansive</option>
|
|
||||||
<option value="standard">Minimal</option>
|
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="spprofile-line">
|
||||||
|
<div class="spprofile-viewport">
|
||||||
|
<button class="spprev" @click="profilePrev"></button>
|
||||||
|
<button class="nextprev" @click="profileNext"></button>
|
||||||
|
<template v-for="profile in spprofiles" v-if="$root.cfg.audio.maikiwiAudio.spatialProfile == profile.id">
|
||||||
|
<transition name="wpfade">
|
||||||
|
<div class="spslide" :key="profile.id">
|
||||||
|
<h1 class="sptitle">{{ profile.name }}</h1>
|
||||||
|
</div>
|
||||||
|
</transition>
|
||||||
|
</template>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div style="opacity: 0.5; pointer-events: none">
|
<div style="opacity: 0.5; pointer-events: none">
|
||||||
<div class="md-option-header">
|
<div class="md-option-header">
|
||||||
<span>{{$root.getLz('settings.header.unfinished')}}</span>
|
<span>{{$root.getLz('settings.header.unfinished')}}</span>
|
||||||
|
@ -107,7 +136,8 @@
|
||||||
<div class="md-option-segment">
|
<div class="md-option-segment">
|
||||||
Cider Atmosphere Realizer™️
|
Cider Atmosphere Realizer™️
|
||||||
<br>
|
<br>
|
||||||
<small>Realizes an entirely different musical atmosphere only to be found on state of the art audio setups.</small>
|
<small>Realizes an entirely different musical atmosphere only to be found on state of the
|
||||||
|
art audio setups.</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-segment md-option-segment_auto">
|
<div class="md-option-segment md-option-segment_auto">
|
||||||
<button class="md-btn">
|
<button class="md-btn">
|
||||||
|
@ -122,20 +152,25 @@
|
||||||
<div class="md-option-segment">
|
<div class="md-option-segment">
|
||||||
Cider Origami™️ Vocal Enhancer/Remasterer
|
Cider Origami™️ Vocal Enhancer/Remasterer
|
||||||
<br>
|
<br>
|
||||||
<small>Re-textures the vocals by carving out the frequencies and adjusts them to the selected profile.<br>
|
<small>Re-textures the vocals by carving out the frequencies and adjusts them to the
|
||||||
|
selected profile.<br>
|
||||||
<b>Modern:</b>
|
<b>Modern:</b>
|
||||||
Embracing 21st Century Equipment, this revives old recordings while preserving the Master's original intent.<br>
|
Embracing 21st Century Equipment, this revives old recordings while preserving the
|
||||||
|
Master's original intent.<br>
|
||||||
<b>Intimate:</b>
|
<b>Intimate:</b>
|
||||||
Bringing the vocals closer to your heart, communicating only the most personal connection between you and the artist.<br>
|
Bringing the vocals closer to your heart, communicating only the most personal
|
||||||
|
connection between you and the artist.<br>
|
||||||
<b>Breathy:</b>
|
<b>Breathy:</b>
|
||||||
Giving the perfectionists a new voice, this adds naturality to the vocals by making them more breathy and more natural. <br>
|
Giving the perfectionists a new voice, this adds naturality to the vocals by making them
|
||||||
|
more breathy and more natural. <br>
|
||||||
<b>Articulate:</b>
|
<b>Articulate:</b>
|
||||||
Wrapping every detail of the vocal to your ear, resulting in a more expressive voice.
|
Wrapping every detail of the vocal to your ear, resulting in a more expressive voice.
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-segment md-option-segment_auto">
|
<div class="md-option-segment md-option-segment_auto">
|
||||||
<select class="md-select">
|
<select class="md-select">
|
||||||
<option value="none">{{$root.getLz('settings.header.visual.windowBackgroundStyle.none')}}
|
<option value="none">
|
||||||
|
{{$root.getLz('settings.header.visual.windowBackgroundStyle.none')}}
|
||||||
</option>
|
</option>
|
||||||
<option value="modern">
|
<option value="modern">
|
||||||
Modern
|
Modern
|
||||||
|
@ -163,17 +198,49 @@
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
app: this.$root,
|
app: this.$root,
|
||||||
|
spprofiles: CiderAudio.spatialProfiles
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted: function () {
|
mounted: function () {
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
profileNext() {
|
||||||
|
var next = this.spprofiles.find(function (profile) {
|
||||||
|
return profile.id === this.$root.cfg.audio.maikiwiAudio.spatialProfile;
|
||||||
|
}.bind(this));
|
||||||
|
if (next) {
|
||||||
|
next = this.spprofiles[this.spprofiles.indexOf(next) + 1];
|
||||||
|
if (next) {
|
||||||
|
this.$root.cfg.audio.maikiwiAudio.spatialProfile = next.id;
|
||||||
|
} else {
|
||||||
|
this.$root.cfg.audio.maikiwiAudio.spatialProfile = this.spprofiles[0].id;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
this.$root.cfg.audio.maikiwiAudio.spatialProfile = this.spprofiles[0].id;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
profilePrev() {
|
||||||
|
// select the previous profile based on $root.cfg.audio.maikiwiAudio.spatialProfile
|
||||||
|
var prev = this.spprofiles.find(function (profile) {
|
||||||
|
return profile.id === this.$root.cfg.audio.maikiwiAudio.spatialProfile;
|
||||||
|
}.bind(this));
|
||||||
|
if (prev) {
|
||||||
|
prev = this.spprofiles[this.spprofiles.indexOf(prev) - 1];
|
||||||
|
if (prev) {
|
||||||
|
this.$root.cfg.audio.maikiwiAudio.spatialProfile = prev.id;
|
||||||
|
} else {
|
||||||
|
this.$root.cfg.audio.maikiwiAudio.spatialProfile = this.spprofiles[this.spprofiles.length - 1].id;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
this.$root.cfg.audio.maikiwiAudio.spatialProfile = this.spprofiles[this.spprofiles.length - 1].id;
|
||||||
|
}
|
||||||
|
},
|
||||||
toggleSpatial: function () {
|
toggleSpatial: function () {
|
||||||
if (app.cfg.audio.spatial) {
|
if (app.cfg.audio.spatial) {
|
||||||
CiderAudio.spatialOn()
|
CiderAudio.spatialOn()
|
||||||
CiderAudio.hierarchical_loading();
|
CiderAudio.hierarchical_loading();
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
CiderAudio.spatialOff()
|
CiderAudio.spatialOff()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -184,8 +251,7 @@
|
||||||
//let normalized = Math.pow(10, (((Math.log10(app.mk.volume) * 20) - 14) / 20));
|
//let normalized = Math.pow(10, (((Math.log10(app.mk.volume) * 20) - 14) / 20));
|
||||||
//app.mk.volume = normalized
|
//app.mk.volume = normalized
|
||||||
// -13dBFS Target
|
// -13dBFS Target
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
//let normalized = Math.pow(10, (((Math.log10(app.mk.volume) * 20) + 14) / 20));
|
//let normalized = Math.pow(10, (((Math.log10(app.mk.volume) * 20) + 14) / 20));
|
||||||
//app.mk.volume = normalized
|
//app.mk.volume = normalized
|
||||||
CiderAudio.spatialOn()
|
CiderAudio.spatialOn()
|
||||||
|
@ -209,5 +275,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
}})
|
}
|
||||||
|
})
|
||||||
</script>
|
</script>
|
Loading…
Add table
Add a link
Reference in a new issue