Metadata-Version: 2.5 Name: ym2612-python Version: 0.1.0.dev0 Summary: The Yamaha YM2612 and YM3438 (OPN2) FM sound chip, written from documents License-Expression: MIT License-File: LICENSE Requires-Python: >=3.11 Provides-Extra: dev Requires-Dist: pytest; extra == 'dev' Requires-Dist: ruff==0.16.8; extra == 'dev' Description-Content-Type: text/markdown # ym2612-python The Yamaha YM2612 and YM3438 (OPN2) FM sound chip as a readable pure-Python core for megadrive-python. **Status (2026-11-12): Phase 0 is done; there is no model yet.** This is a restart: read [docs/restart.md](docs/restart.md) first for why, and for the rules. Phase 0 found the sources and the judges and wrote no chip code: - [docs/phase0.md](docs/phase0.md): every source, its licence, author and tier, what it can and cannot settle, and what was not read. - [docs/spec.md](docs/spec.md): a first behaviour specification, each statement marked documented, measured or unsettled, with 21 contradictions and 20 unknowns numbered. - [docs/validation.md](docs/validation.md): the proposed ladder of checks. - [docs/handoff-brief.md](docs/handoff-brief.md): scope, API, approach and the open decisions for the build. - [docs/api.md](docs/api.md): what the board calls today. - `scripts/fetch_references.py` (`--verify`, `--local`): the pinned references. What to expect of the core, from what the allowed sources hold: faithful to Yamaha's manuals and to published measurements of real chips, stepping once per sample, with a provisional output stage for the discrete chip. Not exact to the chip at every internal clock, and not sample-identical to any other model. Nothing is carried over from the earlier core. MIT.