Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion app/pipeline/collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,11 @@ def make_selected_mix(job: Job, stems_dir: Path, found: list[str]) -> Path | Non
return out if _run_ffmpeg(job, cmd) else None


_PEAK_POINTS = 1500 # matches OVERVIEW_WAVE_POINTS in player.js
# Enough points to back the deepest zoom, not the 1x bar count: a full-width
# panel draws about 2400 bars at WAVE_ZOOM_MAX (10x, transport.js), and past
# the point count the bars repeat their neighbours instead of revealing
# anything. Raise this and WAVE_ZOOM_MAX together.
_PEAK_POINTS = 3000


def compute_stem_peaks(stems_dir: Path, stem_names: list[str]) -> dict[str, float]:
Expand Down
183 changes: 169 additions & 14 deletions desktop/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions desktop/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ local-ip-address = "0.6"
# worse than plain http because it looks secure. See src/certs.rs.
rcgen = "0.13"
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "blocking"] }
# Decoding the drag preview the UI renders for a lane. Already in the tree via
# reqwest; named here because dragout.rs uses it directly.
base64 = "0.22"
# Native drag-out of a rendered file to the OS (a DAW, Explorer, Finder).
# The crate tauri-plugin-drag wraps; taken directly because the plugin exposes
# start_drag only as a #[command], which would mean JavaScript naming the file
# path. See dragout.rs.
drag = "2.1.1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10"
Expand Down
Binary file added desktop/src-tauri/icons/drag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading