Skip to main content

pyfuturecomposer

Pure-Python reader and player for Future Composer (MoN / Deenen) C64 SID songs, with per-frame SID register output (byte-exact against the reference build's oracle) and optional WAV rendering through an emulated SID.

Consumes .sid files (PSID/RSID containers) and bare .prg images through the shared pysidtracker base. A code signature recognises the player. Each build's tables, work area and play entry are read from the operands of its own play code, and the tune's own init is run before playback.

Install

pip install pyfuturecomposer   # reader/player/reglog, WAV rendering via pylibresidfp

Usage

import pyfuturecomposer as fc

song = fc.read("tune.sid")            # path, bytes, or binary file object; .sid or .prg

# Where this build keeps each table, and how each location was found.
fc.FutureComposerPlayer(song).variant.as_info()   # {"freq_lo": 0x5ab, "freq_lo.src": "detected@$1949", ...}

# The playroutine is a pysidtracker MemPlayer: per-frame SID register writes,
# or a forward-filled 25-register grid.
player = fc.FutureComposerPlayer(song)
for writes in player.iter_frames(50 * 60):
    ...                               # writes: list[(register, value)]
grid = fc.FutureComposerPlayer(song).render_grid(400)

fc.write_prg(song, "tune.prg")        # export a module the FC editor can load

See docs/usage.md for the register grid, register logs, WAV rendering, and the pysidtracker info|reglog|wav|export command line, and docs/format.md for the format, playroutine, and byte-exact validation, and docs/oracle-testing.md for the whole-HVSC oracle survey.

Development

pip install -e ".[dev]"
./run_tests.sh        # black + pylint + pytest with coverage

License

Apache 2.0 — see LICENSE.

Metadata

Release files for pyfuturecomposer 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyfuturecomposer 0.8.0
File Size Uploaded Provenance Actions
pyfuturecomposer-0.8.0.tar.gz 46.4 kB With provenance Details for pyfuturecomposer-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyfuturecomposer 0.8.0
File Interpreter ABI Platform Actions
pyfuturecomposer-0.8.0-py3-none-any.whl Python 3 none any Details for pyfuturecomposer-0.8.0-py3-none-any.whl

Total release size: 79.6 kB

Release files / pyfuturecomposer-0.8.0.tar.gz

Download URL pyfuturecomposer-0.8.0.tar.gz
Size 46.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f4be6ada60e9aa266c749c2683cfe971ac7b9ba3f90575f2af4116c295b35bb9
BLAKE2b-256 checksum
How to use checksums
85010124cfe7bed0cef0cf5aecca12c06de5e02aa3e97ebd6663389a4ccbc680
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Release files / pyfuturecomposer-0.8.0-py3-none-any.whl

Download URL pyfuturecomposer-0.8.0-py3-none-any.whl
Size 33.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
291021fefa9975811dae31d9b1caaad40609983b8ae1698c39c662f3762f0923
BLAKE2b-256 checksum
How to use checksums
c9e191d5a0671488c37a48ffdacbbb05765b0057de1913b1eb3e5963665ae276
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

Security for pyfuturecomposer 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyfuturecomposer-0.8.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page