summaryrefslogtreecommitdiff
path: root/tools/editor/index.html
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-01-28 12:04:44 +0100
committerskal <pascal.massimino@gmail.com>2026-01-28 12:04:44 +0100
commita570e4d571ccdd205f140ed294aa182c13d7bc2a (patch)
treeb4092fa20b4bae492685bd786663a98b469b8f27 /tools/editor/index.html
parent5951650903b228bb01171f8d47965e22a949a518 (diff)
feat(editor): Add audio playback and redo functionality
Enhances the spectrogram editor with audio playback capabilities and a redo button. - : Added 'Listen Original' and 'Listen Generated' buttons, and a 'Redo' button. - : Added styling for the new buttons. - : Implemented JavaScript IDCT, Hanning window, and for audio synthesis. - Connected playback buttons to audio functionality. - Fully implemented logic.
Diffstat (limited to 'tools/editor/index.html')
-rw-r--r--tools/editor/index.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/editor/index.html b/tools/editor/index.html
index 914ac93..6cb6af7 100644
--- a/tools/editor/index.html
+++ b/tools/editor/index.html
@@ -21,10 +21,14 @@
<button id="noiseTool">Noise</button>
<button id="undoButton">Undo</button>
<button id="redoButton">Redo</button>
+ <hr>
+ <h2>Playback</h2>
+ <button id="listenOriginalButton">Listen Original</button>
+ <button id="listenGeneratedButton">Listen Generated</button>
<!-- Add more tool controls later -->
</div>
</div>
<script src="script.js"></script>
</body>
-</html> \ No newline at end of file
+</html>