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.9.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.9.0
File Size Uploaded Provenance Actions
pyfuturecomposer-0.9.0.tar.gz 46.6 kB With provenance Details for pyfuturecomposer-0.9.0.tar.gz

Built distribution (wheel)

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

Total release size: 80.1 kB

Release files / pyfuturecomposer-0.9.0.tar.gz

Download URL pyfuturecomposer-0.9.0.tar.gz
Size 46.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fce823a191d4304aba172220627401c2ba01d3b26717ddade05d1882b82c2ba7
BLAKE2b-256 checksum
How to use checksums
61b70aa47f7f0d41f62deabd6aabc6f46cdf59028c14c2320514f6e5f9e57ed6
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 Nov 1, 2026.

Transparency log

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

Download URL pyfuturecomposer-0.9.0-py3-none-any.whl
Size 33.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed81b9804ce8d752c5e32e7885793ad1f6c576fc17ecd32231c0af8a3eef8957
BLAKE2b-256 checksum
How to use checksums
2738a2e17400443fe7e62d44ca6ab062145583f46d92a60ddee75a953778ae28
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 Nov 1, 2026.

Transparency log

Security for pyfuturecomposer 0.9.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.9.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 Nov 1, 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