Release v2.15.0: Implement /calc/ (haiperdohpjematreeah) Group 3 homepage UI parity & hyperdope-ci-build upstream patch integration (Plan #60) and parallel CMU Flite kal16/slt + broadcast DSP voice mastering for /quant/ guided tour (Plan #59 Strategies 1A/2A/3A)
This commit is contained in:
1 parent
bfcf295886
commit
cb11f5ce0b
42 files changed
+528
-262
No files matched your search
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Quantitative Finance & Memetic Gematria Time-Series Workbench — hyperstitionstud.io/quant</title>
|
||||
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.14.0" />
|
||||
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.15.0" />
|
||||
<style>
|
||||
:root {
|
||||
--bg-canvas: #020617;
|
||||
@@ -316,14 +316,14 @@
|
||||
padding-top: 1rem;
|
||||
}
|
||||
</style>
|
||||
<script src="quant-timeseries-data.js?v=2.14.0"></script>
|
||||
<script src="quant-timeseries-data.js?v=2.15.0"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header>
|
||||
<div>
|
||||
<h1>hyperstitionstud.io/quant — Quantitative Finance & Memetic Gematria Time-Series Workbench</h1>
|
||||
<p class="subtitle">Strictly Periodic Telemetry (21:30 UTC US Closing Bell × 00:00 UTC News-Wire Dossiers • 24 Watchlist Instruments • 14 FRED Macro Series) • Lens-Neutral Schema (urn:io:hyperstitionstud:quant-timeseries:v2.14.0) <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">Strictly Periodic Telemetry (21:30 UTC US Closing Bell × 00:00 UTC News-Wire Dossiers • 24 Watchlist Instruments • 14 FRED Macro Series) • Lens-Neutral Schema (urn:io:hyperstitionstud:quant-timeseries:v2.15.0) <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
</div>
|
||||
<nav class="top-nav">
|
||||
<a class="btn" id="navHome" href="/">Portal Home (/)</a>
|
||||
@@ -474,13 +474,13 @@
|
||||
<div id="tutUiElementIndicator" role="status" aria-live="polite"></div>
|
||||
|
||||
<footer>
|
||||
hyperstitionstud.io/quant v2.14.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:#ff4d4d;">♥</span> by Lemurs.
|
||||
hyperstitionstud.io/quant v2.15.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:#ff4d4d;">♥</span> by Lemurs.
|
||||
</footer>
|
||||
</div>
|
||||
<script src="../assets/hs-matrix-coderain.js?v=2.14.0" defer></script>
|
||||
<script src="real-macro-indicators-data.js?v=2.14.0"></script>
|
||||
<script src="daily-brief-data.js?v=2.14.0"></script>
|
||||
<script src="quant-app.js?v=2.14.0"></script>
|
||||
<script src="quant-tutorials.js?v=2.14.0"></script>
|
||||
<script src="../assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script src="real-macro-indicators-data.js?v=2.15.0"></script>
|
||||
<script src="daily-brief-data.js?v=2.15.0"></script>
|
||||
<script src="quant-app.js?v=2.15.0"></script>
|
||||
<script src="quant-tutorials.js?v=2.15.0"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +1,5 @@
|
||||
// /workspace/hyperstitionstudio-core/site/quant/quant-app.js
|
||||
// Interactive Quantitative Finance & Memetic Gematria Time-Series Workbench (v2.14.0)
|
||||
// Interactive Quantitative Finance & Memetic Gematria Time-Series Workbench (v2.15.0)
|
||||
(function () {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -450,6 +450,7 @@
|
||||
let cachedVoices = [];
|
||||
let audioCtx = null;
|
||||
let activeAudioEl = null;
|
||||
let activeAudioEqConnected = false;
|
||||
let formantStopFlag = false;
|
||||
|
||||
function refreshVoices() {
|
||||
@@ -496,13 +497,15 @@
|
||||
const baseFreqs = [292.0, 333.0, 394.0, 444.0, 528.0];
|
||||
const f0 = baseFreqs[stepIdx % baseFreqs.length];
|
||||
const now = audioCtx.currentTime;
|
||||
// Strategy 3A: Duck chime gain by -50% (0.012 vs 0.025) when Voice: ON is active so opening words are never masked
|
||||
const peakGain = speechEnabled ? 0.012 : 0.025;
|
||||
[f0, f0 * 1.25, f0 * 1.5].forEach(function (freq, i) {
|
||||
const osc = audioCtx.createOscillator();
|
||||
const gain = audioCtx.createGain();
|
||||
osc.type = i === 0 ? "triangle" : "sine";
|
||||
osc.frequency.setValueAtTime(freq, now + i * 0.09);
|
||||
gain.gain.setValueAtTime(0.001, now + i * 0.09);
|
||||
gain.gain.exponentialRampToValueAtTime(0.025, now + i * 0.09 + 0.03);
|
||||
gain.gain.exponentialRampToValueAtTime(peakGain, now + i * 0.09 + 0.03);
|
||||
gain.gain.exponentialRampToValueAtTime(0.0001, now + i * 0.09 + 0.35);
|
||||
osc.connect(gain);
|
||||
gain.connect(audioCtx.destination);
|
||||
@@ -631,6 +634,32 @@
|
||||
document.body.appendChild(activeAudioEl);
|
||||
}
|
||||
}
|
||||
// Strategy 3A: Route #tutVoiceAudio through a WebAudio BiquadFilterNode vocal warmth EQ (+2.5 dB @ 220 Hz, -3.0 dB @ 4.8 kHz)
|
||||
if (!activeAudioEqConnected && typeof window !== "undefined" && window.location && window.location.protocol !== "file:") {
|
||||
try {
|
||||
const Ctx = window.AudioContext || window.webkitAudioContext;
|
||||
if (Ctx) {
|
||||
if (!audioCtx) audioCtx = new Ctx();
|
||||
if (audioCtx.state === "suspended") audioCtx.resume();
|
||||
const srcNode = audioCtx.createMediaElementSource(activeAudioEl);
|
||||
const lowShelf = audioCtx.createBiquadFilter();
|
||||
lowShelf.type = "lowshelf";
|
||||
lowShelf.frequency.value = 220.0;
|
||||
lowShelf.gain.value = 2.5;
|
||||
const deEssPeak = audioCtx.createBiquadFilter();
|
||||
deEssPeak.type = "peaking";
|
||||
deEssPeak.frequency.value = 4800.0;
|
||||
deEssPeak.Q.value = 1.4;
|
||||
deEssPeak.gain.value = -3.0;
|
||||
srcNode.connect(lowShelf);
|
||||
lowShelf.connect(deEssPeak);
|
||||
deEssPeak.connect(audioCtx.destination);
|
||||
activeAudioEqConnected = true;
|
||||
}
|
||||
} catch (_) {
|
||||
activeAudioEqConnected = true;
|
||||
}
|
||||
}
|
||||
const wavUrl = "./audio/" + clipId + ".wav";
|
||||
let handled = false;
|
||||
const doneOnce = function () {
|
||||
@@ -992,7 +1021,7 @@
|
||||
}
|
||||
|
||||
const exportedApi = {
|
||||
version: "2.14.0",
|
||||
version: "2.15.0",
|
||||
episodes: EPISODES,
|
||||
allHighlightableDomIds: ALL_HIGHLIGHTABLE_DOM_IDS,
|
||||
cleanTextForSpeech: cleanTextForSpeech,
|
||||
|
||||
Reference in new issue
Block a user