Source code for audioinstruments.mono_synth

# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.instruments.mono_synth.MonoSynth: edit that, then run it again.
"""MonoSynth, a monophonic bass and lead synth inspired by the Moog Minimoog Model D."""

NAME = "mono_synth"
DISPLAY_NAME = "Mono Synth"
CATEGORIES = ("Synth",)
VERSION = "0.5.2"
VENDOR = "PyDevices"

MACRO_LABELS = (
    "vcf_cutoff",
    "vcf_emphasis",
    "vcf_contour",
    "vcf_decay",
    "vcf_sustain",
    "vca_attack",
    "vca_decay",
    "osc2_freq",
    "mod_mix",
    "glide_time",
)

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

PATCHES = {
    0: ("Init Saw", (76, 0, 50, 50, 38, 0, 50, 63, 0, 38)),
    1: ("Fat Bass", (48, 31, 57, 48, 25, 0, 53, 62, 0, 38)),
    2: ("Funk Bass", (50, 50, 82, 40, 0, 0, 48, 64, 0, 38)),
    3: ("Drive Bass", (58, 31, 57, 50, 44, 0, 53, 62, 0, 38)),
    4: ("Brass Lead", (66, 25, 60, 63, 69, 40, 63, 64, 0, 38)),
    5: ("Fifth Lead", (81, 38, 44, 57, 76, 0, 57, 127, 0, 35)),
    6: ("Filter Whistle", (47, 127, 0, 50, 38, 25, 57, 63, 0, 38)),
    7: ("FM Growl", (78, 38, 50, 57, 63, 0, 57, 64, 0, 38)),
    8: ("Filter Throb", (68, 82, 31, 63, 88, 0, 63, 64, 0, 38)),
    9: ("Filter Tom", (47, 127, 69, 25, 0, 0, 53, 63, 0, 38)),
    10: ("Drone", (78, 31, 44, 63, 82, 25, 63, 64, 0, 38)),
    11: ("Wind", (63, 99, 38, 82, 82, 69, 82, 63, 127, 38)),
}


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