Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

OPL2/3 Adlib emulation

Project Description

PyOPL: OPL2/3 emulation for Python Copyright 2011-2012 Adam Nielsen <>

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 build sudo python install

This library is released under the GPLv3 license.

Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
PyOPL-1.3.tar.gz (19.9 kB) Copy SHA256 Checksum SHA256 Source Jun 16, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting