# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.instruments.mono101.Mono101: edit that, then run it again.
"""Mono101, a monophonic bass and lead synth inspired by the Roland SH-101."""
NAME = "mono101"
DISPLAY_NAME = "Mono101"
CATEGORIES = ("Synth",)
VERSION = "0.5.3.dev1"
VENDOR = "PyDevices"
MACRO_LABELS = (
"vcf_freq",
"vcf_res",
"vcf_env",
"env_attack",
"env_decay",
"env_sustain",
"env_release",
"lfo_rate",
"pwm",
"porta_time",
)
MACRO_MODES = {
0: "UNIPOLAR",
1: "UNIPOLAR",
2: "UNIPOLAR",
3: "UNIPOLAR",
4: "UNIPOLAR",
5: "UNIPOLAR",
6: "UNIPOLAR",
7: "UNIPOLAR",
8: "UNIPOLAR",
9: "UNIPOLAR",
}
PATCHES = {
0: ("Init Saw", (76, 0, 38, 0, 51, 76, 38, 64, 0, 38)),
1: ("Round Bass", (43, 0, 48, 0, 44, 70, 28, 64, 0, 38)),
2: ("Sub Bass", (41, 13, 19, 0, 51, 114, 23, 64, 25, 38)),
3: ("Squelch Bass", (66, 91, 102, 0, 74, 0, 38, 64, 0, 38)),
4: ("Vibrato Lead", (76, 25, 32, 5, 57, 95, 38, 74, 57, 38)),
5: ("Glide Lead", (74, 32, 38, 3, 57, 95, 36, 64, 0, 57)),
6: ("PWM Strings", (58, 13, 25, 70, 83, 102, 76, 44, 83, 38)),
7: ("Blip", (61, 57, 89, 0, 64, 13, 36, 64, 44, 38)),
8: ("Noise Snare", (79, 32, 76, 0, 66, 0, 38, 64, 0, 38)),
9: ("Pulsing Pluck", (58, 44, 83, 0, 61, 0, 36, 91, 0, 38)),
10: ("S&H Burble", (61, 76, 25, 0, 51, 95, 36, 86, 0, 38)),
11: ("Wind Sweep", (66, 83, 32, 70, 83, 76, 76, 36, 0, 38)),
}
[docs]
def create(sample_rate, channel_count=2, transport=None, **options):
"""A live Mono101. See ``audioinstruments.create`` for the options."""
from . import _build
return _build(NAME, sample_rate, channel_count, transport, options)