Source code for audioinstruments.compact_organ

# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.instruments.compact_organ.CompactOrgan: edit that, then run it again.
"""CompactOrgan, a fully polyphonic divide-down transistor combo organ with voice tabs, a bass section and a pitch vibrato, after the portable combo organs of the mid-1960s."""

NAME = "compact_organ"
DISPLAY_NAME = "Compact Organ"
CATEGORIES = ("Synth",)
VERSION = "0.5.3.dev1"
VENDOR = "PyDevices"

MACRO_LABELS = (
    "multi_tone",
    "vibrato",
    "vibrato_depth",
    "expression",
    "flute_8",
    "oboe_8",
    "strings_8",
    "trumpet_8",
)

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

PATCHES = {
    0: ("Garage", (76, 0, 0, 127, 127, 127, 127, 0)),
    1: ("Bright Strings", (101, 0, 0, 127, 0, 0, 127, 0)),
    2: ("Soft Flutes", (0, 127, 0, 127, 127, 0, 0, 0)),
    3: ("Trumpet", (38, 127, 127, 127, 0, 0, 0, 127)),
    4: ("Full Combo", (88, 127, 0, 127, 127, 127, 127, 127)),
    5: ("Oboe Lead", (38, 127, 127, 127, 0, 127, 0, 0)),
}


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