Source code for audioinstruments.mono_one

# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.modules.mono_one.MonoOne: edit that, then run it again.
"""MonoOne, a voice inspired by the Sequential Pro-One: two VCOs with sync, a four-pole filter, two ADSRs, an LFO, glide, and the poly-mod matrix that sends the filter envelope and VCO B to VCO A's frequency and pulse width and to the filter cutoff."""

NAME = "mono_one"
DISPLAY_NAME = "MonoOne"
CATEGORIES = ("Synth",)
VERSION = "0.5.2"
VENDOR = "PyDevices"

MACRO_LABELS = (
    "filter_cutoff",
    "filter_res",
    "polymod_filtenv",
    "polymod_osc_b",
    "vco_b_freq",
    "glide",
    "filter_env_amt",
    "volume",
)

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

PATCHES = {
    0: ("Init", (57, 44, 0, 0, 64, 0, 102, 85)),
    1: ("Fat Bass", (33, 25, 0, 0, 42, 0, 53, 94)),
    2: ("Funk Bass", (20, 78, 0, 0, 63, 0, 78, 101)),
    3: ("Pulse Bass", (38, 38, 0, 0, 63, 0, 40, 94)),
    4: ("Glide Lead", (73, 31, 0, 0, 75, 15, 25, 94)),
    5: ("Screaming Lead", (83, 91, 0, 0, 63, 3, 22, 97)),
    6: ("Sync Lead", (86, 25, 38, 0, 63, 0, 12, 94)),
    7: ("Brass", (40, 15, 0, 0, 63, 0, 43, 91)),
    8: ("Pluck", (48, 38, 0, 0, 84, 0, 53, 105)),
    9: ("Whistle", (68, 0, 0, 0, 84, 8, 0, 93)),
    10: ("Metal Bell", (78, 12, 0, 25, 94, 0, 25, 94)),
    11: ("Wind", (78, 95, 0, 0, 63, 0, 0, 88)),
}


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