diff options
| author | skal <pascal.massimino@gmail.com> | 2026-01-28 11:45:09 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-01-28 11:45:09 +0100 |
| commit | 371017a31bedaed179d339b9fe371529f22d9ec4 (patch) | |
| tree | 5156714aa3c4349f69856d46a1d5e1df9f97627f /tools/editor/index.html | |
| parent | 7d022d9a3923eb35f3acd3ed4a1795c497bc53ee (diff) | |
feat(editor): Scaffold web spectrogram editor
Initial setup for the spectrogram editor tool.
- Created tools/editor/index.html, script.js, and style.css.
- Added basic structure for WAV loading, visualization, and tool controls.
Diffstat (limited to 'tools/editor/index.html')
| -rw-r--r-- | tools/editor/index.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/editor/index.html b/tools/editor/index.html new file mode 100644 index 0000000..43a37f9 --- /dev/null +++ b/tools/editor/index.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>Spectrogram Editor</title> + <link rel="stylesheet" href="style.css"> +</head> +<body> + <h1>Spectrogram Editor</h1> + + <input type="file" id="wavFileInput" accept=".wav"> + <label for="wavFileInput">Load WAV File</label> + + <div id="editorContainer"> + <canvas id="spectrogramCanvas"></canvas> + <div id="controls"> + <h2>Tools</h2> + <button id="lineTool">Line</button> + <button id="ellipseTool">Ellipse</button> + <button id="noiseTool">Noise</button> + <!-- Add more tool controls later --> + </div> + </div> + + <script src="script.js"></script> +</body> +</html> |
