Skip to main content

YM2149 emulator supporting YM files, OSC to JACK, PortAudio, WAV

Project description

pym2149

YM2149 emulator supporting YM files, OSC to JACK, PortAudio, WAV

Install

These are generic installation instructions.

To use, permanently

The quickest way to get started is to install the current release from PyPI:

# Tested on Linux and Mac:
pip3 install --user pym2149

To use, temporarily

If you prefer to keep .local clean, install to a virtualenv:

python3 -m venv venvname
venvname/bin/pip install pym2149
. venvname/bin/activate

To develop

First clone the repo using HTTP or SSH:

git clone https://github.com/combatopera/pym2149.git
git clone git@github.com:combatopera/pym2149.git

Now use pyven's pipify to create a setup.py, which pip can then use to install the project editably:

python3 -m venv pyvenvenv
pyvenvenv/bin/pip install pyven
pyvenvenv/bin/pipify pym2149

python3 -m venv venvname
venvname/bin/pip install -e pym2149
. venvname/bin/activate

Usage

# GitHub trick to download some files to play:
svn export https://github.com/combatopera/pym2149/trunk/contrib

# Play a tune written in the Lurlene live coding language:
lc2jack 'contrib/Jochen Hippel - 7 Gates of Jambala Level 9.py'
lc2portaudio 'contrib/Jochen Hippel - 7 Gates of Jambala Level 9.py'

# Play a Dosound sound effect:
dosound2jack contrib/sounds.s snd19

Commands

bpmtool

Show a table of speed (updates per tracker line) to BPM.

dosound2jack

Play a Dosound script via JACK.

dosound2txt

Render a Dosound script to logging.

dosound2wav

Render a Dosound script to WAV.

dsd2wav

Render Dosound bytecode to WAV.

lc2jack

Play a Lurlene song via JACK.

lc2portaudio

Play a Lurlene song via PortAudio.

lc2txt

Render a Lurlene song to logging.

lc2wav

Render a Lurlene song to WAV.

mkdsd

Compile Dosound DSL scripts to bytecode for playback on a real Atari.

ym2jack

Play a YM file via JACK.

ym2portaudio

Play a YM file via PortAudio.

ym2txt

Render a YM file to logging.

ym2wav

Render a YM file to WAV.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pym2149, version 27
Filename, size File type Python version Upload date Hashes
Filename, size pym2149-27.tar.gz (498.9 kB) File type Source Python version None Upload date Hashes View
Filename, size pym2149-27-cp39-cp39-manylinux2014_x86_64.whl (1.4 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pym2149-27-cp39-cp39-manylinux2014_i686.whl (1.3 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pym2149-27-cp39-cp39-manylinux2010_x86_64.whl (1.4 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pym2149-27-cp39-cp39-manylinux2010_i686.whl (1.3 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pym2149-27-cp39-cp39-manylinux1_x86_64.whl (966.0 kB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pym2149-27-cp39-cp39-manylinux1_i686.whl (935.8 kB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pym2149-27-cp38-cp38-manylinux2014_x86_64.whl (1.4 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pym2149-27-cp38-cp38-manylinux2014_i686.whl (1.4 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pym2149-27-cp38-cp38-manylinux2010_x86_64.whl (1.4 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pym2149-27-cp38-cp38-manylinux2010_i686.whl (1.3 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pym2149-27-cp38-cp38-manylinux1_x86_64.whl (987.6 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pym2149-27-cp38-cp38-manylinux1_i686.whl (955.3 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pym2149-27-cp37-cp37m-manylinux2014_x86_64.whl (1.3 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pym2149-27-cp37-cp37m-manylinux2014_i686.whl (1.3 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pym2149-27-cp37-cp37m-manylinux2010_x86_64.whl (1.3 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pym2149-27-cp37-cp37m-manylinux2010_i686.whl (1.3 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pym2149-27-cp37-cp37m-manylinux1_x86_64.whl (971.3 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pym2149-27-cp37-cp37m-manylinux1_i686.whl (940.8 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pym2149-27-cp36-cp36m-manylinux2014_x86_64.whl (1.3 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pym2149-27-cp36-cp36m-manylinux2014_i686.whl (1.3 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pym2149-27-cp36-cp36m-manylinux2010_x86_64.whl (1.3 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pym2149-27-cp36-cp36m-manylinux2010_i686.whl (1.2 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pym2149-27-cp36-cp36m-manylinux1_x86_64.whl (955.3 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pym2149-27-cp36-cp36m-manylinux1_i686.whl (923.3 kB) File type Wheel Python version cp36 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page