Use split-computation in web demo
This commit is contained in:
parent
7c13c1dbbd
commit
4d158cba47
@ -22,7 +22,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
font-size: calc(min(12pt, 5vh));
|
font-size: calc(min(12pt, 4.3vh));
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -151,7 +151,8 @@
|
|||||||
let controlValues = Object.assign({}, controlValuesInitial);
|
let controlValues = Object.assign({}, controlValuesInitial);
|
||||||
let configValuesInitial = {
|
let configValuesInitial = {
|
||||||
blockMs: 120,
|
blockMs: 120,
|
||||||
overlap: 4
|
overlap: 4,
|
||||||
|
splitComputation: true
|
||||||
};
|
};
|
||||||
let configValues = Object.assign({}, configValuesInitial);
|
let configValues = Object.assign({}, configValuesInitial);
|
||||||
|
|
||||||
@ -267,9 +268,9 @@
|
|||||||
configTimeout = null;
|
configTimeout = null;
|
||||||
if (stretch) {
|
if (stretch) {
|
||||||
stretch.configure({
|
stretch.configure({
|
||||||
tonalityHz: configValues.tonalityHz,
|
|
||||||
blockMs: configValues.blockMs,
|
blockMs: configValues.blockMs,
|
||||||
intervalMs: configValues.blockMs/configValues.overlap
|
intervalMs: configValues.blockMs/configValues.overlap,
|
||||||
|
splitComputation: configValues.splitComputation,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, 50);
|
}, 50);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user