# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.modules.west_coast_synth.WestCoastSynth: edit that, then run it again.
"""WestCoastSynth, a West Coast voice inspired by the Buchla Music Easel: a complex oscillator (modulation and principal oscillators with FM or AM), a timbre wavefolder, two vactrol low-pass gates, two function generators and a random voltage source."""
NAME = "west_coast_synth"
DISPLAY_NAME = "WestCoastSynth"
CATEGORIES = ("Synth",)
VERSION = "0.5.3.dev1"
VENDOR = "PyDevices"
MACRO_LABELS = (
"timbre",
"fm_index",
"lpg1_decay",
"lpg2_decay",
"mod_freq",
"mod_wave",
"lpg1_mode",
"lpg2_mode",
"func1_rise",
"func1_fall",
"volume",
)
MACRO_MODES = {
0: "UNIPOLAR",
1: "UNIPOLAR",
2: "UNIPOLAR",
3: "UNIPOLAR",
4: "BIPOLAR",
5: "TOGGLE",
6: "UNIPOLAR",
7: "UNIPOLAR",
8: "UNIPOLAR",
9: "UNIPOLAR",
10: "UNIPOLAR",
}
PATCHES = {
0: ("Init", (25, 0, 15, 21, 64, 0, 127, 127, 0, 5, 85)),
1: ("Soft Ping", (15, 0, 10, 17, 63, 0, 127, 63, 0, 3, 97)),
2: ("Bright Pluck", (63, 3, 6, 11, 79, 127, 127, 63, 0, 2, 127)),
3: ("Water Drops", (12, 5, 5, 7, 55, 127, 127, 63, 0, 1, 127)),
4: ("Bubbling", (50, 3, 8, 12, 72, 127, 127, 63, 0, 2, 101)),
5: ("Glass Chime", (22, 50, 75, 101, 88, 127, 127, 63, 0, 35, 127)),
6: ("Hollow Bass", (38, 0, 27, 30, 63, 0, 127, 63, 0, 9, 110)),
7: ("Folded Lead", (88, 0, 21, 24, 63, 127, 63, 63, 0, 7, 84)),
8: ("Buzz Reed", (38, 7, 17, 17, 63, 0, 63, 63, 0, 6, 93)),
9: ("Metal Clang", (76, 22, 56, 69, 84, 0, 127, 127, 0, 20, 127)),
10: ("Low Tom", (76, 3, 8, 11, 47, 127, 127, 63, 0, 2, 118)),
11: ("Wandering Fold", (57, 0, 50, 50, 63, 0, 63, 63, 0, 17, 76)),
}
[docs]
def create(sample_rate, channel_count=2, transport=None, **options):
"""A live WestCoastSynth. See ``audioinstruments.create`` for the options."""
from . import _build
return _build(NAME, sample_rate, channel_count, transport, options)