summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorjulian laplace <julescarbon@gmail.com>2025-07-14 17:14:24 +0200
committerjulian laplace <julescarbon@gmail.com>2025-07-14 17:14:24 +0200
commitf968500786cc69c1afebe00625d1bd07b88603b4 (patch)
tree5d68c7457b2afbb22752871fd5f48d93990f5eb4 /client
parent6e53264b8fc0ed94282bcce022f07c551e925547 (diff)
pitched noise mode
Diffstat (limited to 'client')
-rw-r--r--client/index.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/index.js b/client/index.js
index 7fdaa9b..66059fd 100644
--- a/client/index.js
+++ b/client/index.js
@@ -154,7 +154,7 @@ function toggleModus() {
// rebuild();
}
- modus = modus === "bandpass" ? "sine" : "bandpass";
+ modus = modus === "sine" ? "bandpass" : "sine";
organ = modes[modus];
document.querySelector(`#modus .${modus}`).classList.add("visible");
if (intervals) {
@@ -352,7 +352,6 @@ function bind() {
.addEventListener("click", () =>
document.querySelector("#help").classList.toggle("visible"),
);
- // toggleModus();
toggleModus();
document.querySelector("#modus").addEventListener("click", toggleModus);
Array.from(document.querySelectorAll(".mode")).forEach((el) => {