Source code for audioinstruments.polyxa

# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.instruments.polyxa.PolyXa: edit that, then run it again.
"""PolyXa, an eight-voice two-oscillator poly synth inspired by the Oberheim OB-Xa."""

NAME = "polyxa"
DISPLAY_NAME = "PolyXa"
CATEGORIES = ("Synth",)
VERSION = "0.5.3.dev1"
VENDOR = "PyDevices"

MACRO_LABELS = (
    "vcf_cutoff",
    "vcf_resonance",
    "vcf_env",
    "fenv_decay",
    "aenv_attack",
    "aenv_release",
    "vco2_detune",
    "vco2_vcf",
    "lfo_rate",
    "portamento",
)

MACRO_MODES = {
    0: "UNIPOLAR",
    1: "UNIPOLAR",
    2: "UNIPOLAR",
    3: "UNIPOLAR",
    4: "UNIPOLAR",
    5: "UNIPOLAR",
    6: "BIPOLAR",
    7: "UNIPOLAR",
    8: "UNIPOLAR",
    9: "UNIPOLAR",
}

PATCHES = {
    0: ("Init", (76, 0, 50, 50, 0, 50, 69, 0, 63, 0)),
    1: ("Anthem Stab", (63, 0, 95, 57, 0, 31, 71, 0, 63, 0)),
    2: ("Swell Brass", (44, 12, 76, 63, 76, 44, 69, 0, 63, 0)),
    3: ("Sync Lead", (95, 0, 25, 57, 0, 38, 69, 0, 63, 25)),
    4: ("PWM Strings", (69, 6, 25, 69, 95, 88, 69, 0, 38, 0)),
    5: ("Unison Bass", (53, 0, 63, 60, 0, 38, 69, 0, 63, 0)),
    6: ("Poly Pluck", (82, 63, 88, 40, 0, 38, 69, 0, 63, 0)),
    7: ("Random Steps", (50, 88, 12, 50, 0, 50, 69, 0, 97, 0)),
    8: ("Filter Growl", (69, 38, 50, 50, 0, 50, 69, 76, 63, 0)),
    9: ("Glide Pad", (60, 0, 31, 63, 88, 76, 69, 0, 63, 77)),
    10: ("Vibrato Lead", (69, 19, 38, 50, 0, 50, 69, 0, 91, 0)),
    11: ("Noise Wind", (66, 95, 50, 63, 91, 82, 69, 0, 31, 0)),
}


[docs] def create(sample_rate, channel_count=2, transport=None, **options): """A live PolyXa. See ``audioinstruments.create`` for the options.""" from . import _build return _build(NAME, sample_rate, channel_count, transport, options)