Skip to content

Stem Conversion and NSF Export - #63

Merged
JakimPL merged 156 commits into
devfrom
nsf
Aug 25, 2026
Merged

Stem Conversion and NSF Export#63
JakimPL merged 156 commits into
devfrom
nsf

Conversation

@JakimPL

@JakimPL JakimPL commented Aug 25, 2026

Copy link
Copy Markdown
Owner

No description provided.

JakimPL added 30 commits August 18, 2026 19:57
Reconciles the two branches that both wrote mixing, and adopts the
GeneratorName to ChannelName rename across the player's own files.

The mixing conflict resolves to mix/align/common_length: mix_audios
returned float32 for one recording and float64 for two, while load_audio
documents float32 throughout. mix_audios and _sum_approximations were
the same rule written twice, and mix is their union, so both go and the
three call sites read from one unit.

The rename changes what GeneratorName means rather than retiring it, and
both enums are StrEnum, so their TRIANGLE and NOISE members compare and
hash equal across the two. An unrenamed file therefore half-works. mypy
is what sees the difference, and it is clean over the merged tree.
The file-dialog factory and the zimtohrli referee probed for their
programs with shutil.which, which the player's toolchain already
answers through locate_program. One mechanism now answers "is this
program installed" everywhere, and each probe reads back a Path.

Both are availability probes rather than failures, so they take
locate_program alone; missing_program_message stays with cc65 and
ffmpeg, the tools that must name an install hint.

scripts/detect_cuda.py keeps its own shutil.which: it selects the CUDA
extra before the packages are installed, so it imports none of them.
JakimPL added 27 commits August 24, 2026 19:51
@JakimPL
JakimPL changed the base branch from main to dev August 25, 2026 13:13
@JakimPL
JakimPL merged commit 421f9aa into dev Aug 25, 2026
8 checks passed
@JakimPL
JakimPL deleted the nsf branch August 25, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant