From dc47af28f09705d28e9975867d7fad9a395f9163 Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 2 Feb 2026 12:19:10 +0100 Subject: refactor(build): Centralize generated files and clean up project layout - Task A: Centralized all generated code (assets, timeline) into a single directory to create a single source of truth. - Task A: Isolated test asset generation into a temporary build directory, preventing pollution of the main source tree. - Task B: Vertically compacted all C/C++ source files by removing superfluous newlines. - Task C: Created a top-level README.md with project overview and file descriptions. - Task D: Moved non-essential documentation into a directory to reduce root-level clutter. --- SPEC_EDITOR.md | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 SPEC_EDITOR.md (limited to 'SPEC_EDITOR.md') diff --git a/SPEC_EDITOR.md b/SPEC_EDITOR.md deleted file mode 100644 index cde0cdd..0000000 --- a/SPEC_EDITOR.md +++ /dev/null @@ -1,44 +0,0 @@ -# spectrogram editing tool in a browser - -The sub-project is about have an editing tool in a browser -that will allow generating, editing, compacting .spec files - -## the idea - -We want a web page (html+javascript) capable of: - * loading a .wav file and showing the spectrogram (IDCT_SIZE=512) - * compacting this spectrogram if needed - * generating the .spec file - * allowing some editing on the spectrogram - * and most importantly: allowing the compression of this spectrogram using elementary bricks like bezier-curves (with a large stroke width / - brushes), rectangle, noise addition, etc. - -These tools must be available in the web editor (in javascript) as well as -in c++ equivalent too. - -The idea is the compress the .wav spectrogram using elementary bricks and -simple representation (as well as being dynamic) during the demo: we -generate the audio on the fly by 'drawing' the spectrograms and passing them -to the synth - -## the work - -Analyze the requirement for the HTML tool. It must remain simple and easy to -use. Don't over-engineer it. -Still, the tool must have a decent load/save offer, to: - * load the .wav - * save the .spec - * save/export the descriptive compressed version in vectorial form (like the SVG format, in fact) - * be able to load this vectorial form - -Then we need a reader for the vectorial form in c++ to use in the demo. -We also need to elementary tools / bricks to: draw a line / bezier curve / -rectangle, ellipse, etc. in frequency domain, to generate the spectrogram on -the flight. -We also need controllable random noise generation to add some 'texture' to -the spectrogram. - -## the files -the HTML/JS tool should be under tools/editor -the c++ code should be added to the library under src/audio/ - -- cgit v1.2.3