Skip to main content

OPL2/3 Adlib emulation

Project description

PyOPL: OPL2/3 emulation for Python Copyright 2011 Adam Nielsen <malvineous@shikadi.net> http://www.github.com/Malvineous/pyopl

PyOPL is a simple wrapper around an OPL synthesiser so that it can be accessed from within Python. It uses the DOSBox synth, which has been released under the GPL license.

PyOPL does not include any audio output mechanism, it simply converts register and value pairs into PCM data. The example programs use PyAudio for audio output. Note that PyGame is not suitable for this as it lacks a method for streaming audio generated on-the-fly, and faking it by creating new Sound objects is unreliable as they do not always queue correctly.

The code is compiled and installed in the usual way:

python setup.py build sudo python setup.py install

This library is released under the GPLv3 license.

Project details


Download files

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

Source Distribution

PyOPL-1.0.tar.gz (18.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page