Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

One note through a patch of oscillator, filter and amplifier, rendered by the rack

OmniPython's audioinstruments is a set of playable synthesizers, organs and electric pianos, each one a patch of modules on a virtual rack, rendered a block at a time on audiodsp, on CPython and on MicroPython-compatible firmware.

Install

You need Python 3.12 or later, numpy and audiodsp (from TestPyPI until its release):

uv venv --seed --python 3.12 .venv
uv pip install --python .venv/bin/python -i https://test.pypi.org/simple/ \
    --extra-index-url https://pypi.org/simple/ --index-strategy unsafe-best-match \
    omnipython-audiodsp numpy
git clone https://github.com/PyDevices/audioinstruments && cd audioinstruments

Try it

import audiocore
import audioinstruments

inst = audioinstruments.create("poly106", 48000)
print(inst.macro_labels[:4])
inst.note_on(60, 100)
for n in range(6):
    inst.fill()
    result, data = audiocore.get_buffer(inst.output, False, 0)
    samples = memoryview(bytes(data)).cast("h")
    print(n, max(abs(s) for s in samples))
inst.deinit()

Run it with PYTHONPATH=lib .venv/bin/python example.py. It plays middle C on the Poly106 and prints its first four knobs, then the loudest sample of each buffer as the note sounds:

('vcf_freq', 'vcf_res', 'vcf_env', 'env_attack')
0 3673
1 5483
2 4779
3 4561
4 4411
5 4233

Docs · Examples · Roadmap

OmniPython is made by PyDevices.

Metadata

Release files for omnipython-audioinstruments 0.5.2.dev7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omnipython-audioinstruments 0.5.2.dev7
File Size Uploaded Provenance Actions
omnipython_audioinstruments-0.5.2.dev7.tar.gz 1.1 MB With provenance Details for omnipython_audioinstruments-0.5.2.dev7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for omnipython-audioinstruments 0.5.2.dev7
File Interpreter ABI Platform Actions
omnipython_audioinstruments-0.5.2.dev7-py3-none-any.whl Python 3 none any Details for omnipython_audioinstruments-0.5.2.dev7-py3-none-any.whl

Total release size: 1.9 MB

Release files / omnipython_audioinstruments-0.5.2.dev7.tar.gz

Download URL omnipython_audioinstruments-0.5.2.dev7.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
1046a4b5cd124872963e7a601ea4d50fee8fee465e7d78a15f6043056645db4e
BLAKE2b-256 checksum
How to use checksums
7543b3d5db6d3c466c6166ac9e6bebd128f0ab73847319db66f98d93e21e49db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / omnipython_audioinstruments-0.5.2.dev7-py3-none-any.whl

Download URL omnipython_audioinstruments-0.5.2.dev7-py3-none-any.whl
Size 836.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc76bfcac535570eccd95acb4863deb4d1a2be9e8abdbf98e70a58e48439365f
BLAKE2b-256 checksum
How to use checksums
2f75599a6a98a449e4c6b0e84cc82d09cf7d539be3f0cf095c64be8fddce0e76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for omnipython-audioinstruments 0.5.2.dev7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for omnipython_audioinstruments-0.5.2.dev7.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page