# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.modules.state_variable_mono.StateVariableMono: edit that, then run it again.
"""StateVariableMono, a voice inspired by the Oberheim SEM: two VCOs, a 12 dB multimode filter that morphs from low-pass through notch to high-pass (or switches to band-pass), two ADS envelopes, an LFO and a VCA, with a patch panel."""
NAME = "state_variable_mono"
DISPLAY_NAME = "StateVariableMono"
CATEGORIES = ("Synth",)
VERSION = "0.5.3.dev1"
VENDOR = "PyDevices"
MACRO_LABELS = (
"vcf_cutoff",
"vcf_res",
"vcf_mode",
"vco2_tune",
"vco_mix",
"env1_decay",
"env2_decay",
"lfo_rate",
)
MACRO_MODES = {
0: "UNIPOLAR",
1: "UNIPOLAR",
2: "UNIPOLAR",
3: "BIPOLAR",
4: "UNIPOLAR",
5: "UNIPOLAR",
6: "UNIPOLAR",
7: "UNIPOLAR",
}
PATCHES = {
0: ("Init", (57, 44, 0, 64, 64, 9, 7, 17)),
1: ("Fat Bass", (30, 31, 0, 31, 63, 5, 7, 16)),
2: ("Brass Stab", (38, 19, 0, 63, 63, 9, 8, 16)),
3: ("Warm Pad", (41, 25, 0, 63, 63, 25, 30, 0)),
4: ("PWM Strings", (58, 15, 0, 63, 76, 20, 22, 2)),
5: ("Sync Lead", (76, 31, 0, 82, 107, 12, 9, 16)),
6: ("Notch Pad", (63, 69, 63, 63, 63, 8, 25, 1)),
7: ("Resonant Pluck", (35, 76, 0, 63, 63, 4, 6, 16)),
8: ("Nasal Reed", (57, 63, 0, 63, 63, 7, 7, 16)),
9: ("Thin Lead", (48, 38, 127, 95, 50, 9, 9, 16)),
10: ("Wobble Bass", (34, 57, 0, 31, 63, 8, 7, 12)),
11: ("Squelch Zap", (22, 114, 0, 63, 38, 3, 6, 16)),
}
[docs]
def create(sample_rate, channel_count=2, transport=None, **options):
"""A live StateVariableMono. See ``audioinstruments.create`` for the options."""
from . import _build
return _build(NAME, sample_rate, channel_count, transport, options)