Add incremental loading progress, auto-scaled amplitude, DPI-aware TTF fonts, and better file browser scaling
- Add incremental STFT processing with loading overlay and progress bar - Add auto-scaling amplitude (max dB, max-40dB floor) for low-signal files - Replace fixed bitmap text with TTF font scaled by window size for crisp rendering at any resolution - Fix command-line file path resolution relative to original working directory - Scale file browser dialog dimensions by GetUIScale() to prevent text overlap - Disable ESC key closing the window - Fix FFT size changes to restart STFT computation
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ echo "=== Step 2: Compiling spectrogram for web ==="
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
# Linker flags
|
||||
LDFLAGS="-s USE_GLFW=3 -s ASYNCIFY -s TOTAL_MEMORY=67108864 -s FORCE_FILESYSTEM=1 --preload-file resources@resources --shell-file $SCRIPT_DIR/web_shell.html -s NO_EXIT_RUNTIME=1"
|
||||
LDFLAGS="-s USE_GLFW=3 -s ASYNCIFY -s TOTAL_MEMORY=67108864 -s FORCE_FILESYSTEM=1 --preload-file resources@resources --preload-file fonts/DejaVuSansMono.ttf@fonts/DejaVuSansMono.ttf --shell-file $SCRIPT_DIR/web_shell.html -s NO_EXIT_RUNTIME=1"
|
||||
|
||||
if [ "$BUILD_TYPE" = "debug" ]; then
|
||||
LDFLAGS="$LDFLAGS -g -O0 -s ASSERTIONS=1"
|
||||
|
||||
Reference in New Issue
Block a user