Source code for audioinstruments.hybrid_mono

# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.modules.hybrid_mono.HybridMono: edit that, then run it again.
"""HybridMono, a voice inspired by the EDP Wasp: two DCOs, a CMOS multimode filter whose inverter stages clip, an envelope, an LFO and a VCA, with a small patch panel."""

NAME = "hybrid_mono"
DISPLAY_NAME = "HybridMono"
CATEGORIES = ("Synth",)
VERSION = "0.5.3.dev1"
VENDOR = "PyDevices"

MACRO_LABELS = (
    "filter_freq",
    "filter_res",
    "filter_mode",
    "dco2_pitch",
    "drive",
    "env_attack",
    "env_decay",
    "env_sustain",
    "lfo_rate",
    "volume",
)

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

PATCHES = {
    0: ("Init", (57, 57, 0, 65, 41, 0, 5, 102, 21, 85)),
    1: ("Buzz Bass", (31, 38, 0, 64, 66, 0, 6, 120, 20, 82)),
    2: ("Stinger Bass", (25, 60, 0, 63, 40, 0, 3, 111, 20, 91)),
    3: ("Fifth Lead", (76, 38, 0, 100, 45, 0, 9, 127, 20, 84)),
    4: ("Hollow Square", (53, 25, 0, 63, 35, 0, 7, 127, 20, 81)),
    5: ("Nasal Reed", (63, 69, 63, 64, 50, 0, 7, 127, 20, 80)),
    6: ("Raw Brass", (35, 25, 0, 64, 55, 2, 9, 123, 20, 84)),
    7: ("Pluck", (38, 44, 0, 63, 40, 0, 3, 109, 20, 91)),
    8: ("Wah Bass", (101, 50, 0, 63, 40, 0, 7, 123, 10, 82)),
    9: ("Filter Siren", (120, 50, 63, 64, 25, 1, 12, 127, 16, 83)),
    10: ("Gritty Lead", (69, 63, 0, 64, 127, 0, 8, 127, 20, 76)),
    11: ("Slow Pad", (43, 25, 0, 64, 40, 25, 30, 127, 20, 84)),
}


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