Pym2149: Difference between revisions
From YM2149.org
Jump to navigationJump to search
No edit summary |
|||
Line 17: | Line 17: | ||
== Install == | == Install == | ||
* Follow instructions at https://pypi.org/project/pym2149/ | |||
* YM files typically come compressed, and pym2149 requires <code>lha</code> to automatically unpack them | * YM files typically come compressed, and pym2149 requires <code>lha</code> to automatically unpack them | ||
** Debian/Ubuntu package: <code>lha</code> or <code>lhasa</code> | ** Debian/Ubuntu package: <code>lha</code> or <code>lhasa</code> | ||
** Windows: http://gnuwin32.sourceforge.net/packages/lha.htm and add its folder to your <code>PATH</code> | ** Windows: http://gnuwin32.sourceforge.net/packages/lha.htm and add its folder to your <code>PATH</code> | ||
* For JACK output you'll need jackd running, I use qjackctl to manage it | * For JACK output you'll need jackd running, I use qjackctl to manage it | ||
== Play == | == Play == |
Revision as of 21:39, 22 February 2025
YM2149 emulator in Python, NumPy and a little Cython where it matters. The aims of this project are to demonstrate it can be done in Python, accurate emulation, and interoperability with existing tools. Unlike other projects, we don't emulate the rest of the Atari ST.
- This project is fairly mature, further effort is likely to go towards developing Lurlene and Concern with pym2149 as their chief target
- pym2149 provenance
- Accuracy
- Project stats
System requirements
- Linux is the only tested platform
- JACK Audio Connection Kit for real-time rendering
Install
- Follow instructions at https://pypi.org/project/pym2149/
- YM files typically come compressed, and pym2149 requires
lha
to automatically unpack them- Debian/Ubuntu package:
lha
orlhasa
- Windows: http://gnuwin32.sourceforge.net/packages/lha.htm and add its folder to your
PATH
- Debian/Ubuntu package:
- For JACK output you'll need jackd running, I use qjackctl to manage it
Play
- You can get some ZIPs of YM files from http://pacidemo.planet-d.net/aldn/
- Barry Leitch is a good start
- Now the
ym2wav.py
script can convert a YM file to WAV- e.g.
./ym2wav.py 'Utopia 1.ym' out.wav
or just./ym2wav.py 'Utopia 1.ym' - | aplay
- e.g.
- To play via JACK ensure jackd is running (I use
qjackctl -s
) and then./ym2jack.py 'Utopia 1.ym'