From 8ac1fd0438b3945fde9b30934d51cde5e7b0991d Mon Sep 17 00:00:00 2001 From: Dmitry Iv Date: Thu, 30 May 2024 18:08:15 -0400 Subject: [PATCH] Cleanup todo --- src/audio-util.js | 1 - todo.md | 72 ++++++++++++++++++----------------------------- 2 files changed, 27 insertions(+), 46 deletions(-) diff --git a/src/audio-util.js b/src/audio-util.js index bf27075..d74b35e 100644 --- a/src/audio-util.js +++ b/src/audio-util.js @@ -124,7 +124,6 @@ export function drawAudio(audioBuffer) { max = Math.max(max, x) min = Math.min(min, x) } - avg = sum / BLOCK_SIZE v = Math.min(RANGE, Math.ceil(RANGE * (max - min) / 2)) || 0 shift = Math.round(RANGE * (max + min) / 2) diff --git a/todo.md b/todo.md index b3b194f..4611e74 100644 --- a/todo.md +++ b/todo.md @@ -3,11 +3,37 @@ * [x] space repeat * [x] head of audio is boosted for some reason * [~] discrepancy of caret with sound -> can't reproduce +* [ ] click on time must not reload anything + * [ ] loading link with time should navigate to the line -* [ ] Customize block size +## Backlog + +* [ ] Automatic tests +* [ ] Shift play button to the left + * [ ] Display current time +* [ ] All editing operations + * [ ] delete + * [ ] ctrl+C / ctrl+V +* [ ] Undo/redo history (separate from browser history) +* [ ] Save result +* [ ] Adjustable view + * [ ] block size + * [ ] color theme * [ ] player backends * [ ] Audio * [ ] WAA +* [ ] Drag-n-drop +* [ ] Separate by fragments (scenes) via enter +* [ ] Playback bar with current time, play/stop, more + * [ ] Position: bottom floating/appearing, bottom fixed, balloon next to cursor, no (melded into UI) +* [ ] Operations + * [ ] Normalize audio (from playback bar?) + * [ ] Revolume selected fragments + * [ ] Noise-gate plugin + * [ ] Speedup silences (plugin?) +* [ ] Change number of channels +* [ ] 11labs integration: generate speech of length +* [ ] Switchable main-thread / worker / GPU processing ## Reiterating @@ -46,7 +72,6 @@ ## [ ] MVP: basic dubs editor -* [ ] Reconstruct non-existent history entry from history path * [ ] Make delete: `from-to` signature instead of `from-count` * [ ] Debounce delete better * [ ] "Open audio" @@ -70,25 +95,6 @@ * [ ] Alt-Space for start/stop * [ ] Loop play selection -## [ ] V1 (Move to waveplay/etc) - -* [ ] FIXME: make MVP work with sprae10 -* [ ] FIXME: rethink if we need build step, ideally not -* [ ] Create UI tester - playwright vs puppeteer vs cypress vs nightwatch -* [ ] Componentize - * [ ] Waveform + editarea attr - * [ ] Playback bar - * [ ] Timecodes -* [ ] FIXME: make selectable time (now click doesn't work) -* [ ] Move play a bit to the left from time (like debug button) -* [ ] FIXME: It displays some false signal at the beginning. Must be precice waveform -* [ ] FIXME: Selection sometimes doesn't happen -* [ ] FIXME: Proper deleting -* [ ] Fragments by Enter -* [ ] Current time under cursor -* [ ] History - separate from URLs - * [ ] Ctrl-z/y - * [ ] Collapse last operation, eg. delete * [ ] Outsource audio-decode, add missing codecs * [ ] Outsource media loopStart / loopEnd @@ -190,27 +196,3 @@ * [ ] Vary color based on spectrum * [ ] ~~?Use timing object https://github.com/chrisguttandin/timing-object~~ -> nah * [ ] Editable labeling / phrases - -## Wavey (editor / play) - -* [ ] Stable, reliable, simple audio editor - * [ ] Drop/open any audio: movie speech track - * [ ] Separate by fragments (scenes) via enter - * [ ] Reliably playback, no glitches - * [ ] Playback bar with current time, play/stop, more - * [ ] Position: bottom floating/appearing, bottom fixed, balloon next to cursor, no (melded into UI) - * [ ] Delete / space out pieces - * [ ] Ctrl+C/Ctrl+V - * [ ] Normalize audio (from playback bar?) - * [ ] Revolume selected fragments - * [ ] Noise-gate plugin - * [ ] Speedup silences (plugin?) - * [ ] Change number of channels - * [ ] Save / download -* [ ] Customizable view (3-5 themes) - * [ ] Bar size (zoom) - * [ ] Inline vs multiline - * [ ] Freq weighting - * [ ] Paletter -* [ ] 11labs integration: generate speech of length -* [ ] Switchable main-thread / worker / GPU processing