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 pyresidfp

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.7.1

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.7.1
File Size Uploaded Provenance Actions
pyfuturecomposer-0.7.1.tar.gz 46.3 kB With provenance Details for pyfuturecomposer-0.7.1.tar.gz

Built distribution (wheel)

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

Total release size: 79.5 kB

Release files / pyfuturecomposer-0.7.1.tar.gz

Download URL pyfuturecomposer-0.7.1.tar.gz
Size 46.3 kB
Tags Source
SHA-256 checksum
How to use checksums
99c76feb92d573a2594e9dca813cbde4d87a83179509cdf757975db914f769d7
BLAKE2b-256 checksum
How to use checksums
b1db65c28a50baf2cb1f85daf9a2bbecc686f59a66af29191ec18e489ec5b02f
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 30, 2026.

Transparency log

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

Download URL pyfuturecomposer-0.7.1-py3-none-any.whl
Size 33.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77603461a596a59addf8360d8d25fbd62859063a1c82ab57ad15ef0836ac177b
BLAKE2b-256 checksum
How to use checksums
66ed89d5d932f7da315fa6b142cc0de3eacd95650a517ed2646b719873767446
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 30, 2026.

Transparency log

Security for pyfuturecomposer 0.7.1

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.7.1.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 30, 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