summaryrefslogtreecommitdiff
path: root/tools/editor/style.css
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/style.css
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/style.css')
-rw-r--r--tools/editor/style.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/editor/style.css b/tools/editor/style.css
index c02eb4a..7243ee3 100644
--- a/tools/editor/style.css
+++ b/tools/editor/style.css
@@ -55,3 +55,25 @@ h1, h2 {
#redoButton:hover {
background-color: #4cae4c;
}
+
+/* New styles for playback buttons */
+#listenOriginalButton,
+#listenGeneratedButton {
+ background-color: #5bc0de;
+ color: white;
+ border: none;
+ border-radius: 4px;
+ margin-top: 5px;
+}
+
+#listenOriginalButton:hover,
+#listenGeneratedButton:hover {
+ background-color: #31b0d5;
+}
+
+hr {
+ border: 0;
+ height: 1px;
+ background-color: #ccc;
+ margin: 20px 0;
+} \ No newline at end of file