# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.instruments.polya6.PolyA6: edit that, then run it again.
"""PolyA6, a sixteen-voice poly synth inspired by the Alesis Andromeda A6."""
NAME = "polya6"
DISPLAY_NAME = "PolyA6"
CATEGORIES = ("Synth",)
VERSION = "0.5.2"
VENDOR = "PyDevices"
MACRO_LABELS = (
"f2_freq",
"f2_res",
"f2_env2",
"f1_freq",
"f1_res",
"env3_attack",
"env3_release",
"unison_detune",
"lfo2_rate",
"porta_time",
)
MACRO_MODES = {
0: "UNIPOLAR",
1: "UNIPOLAR",
2: "BIPOLAR",
3: "UNIPOLAR",
4: "UNIPOLAR",
5: "UNIPOLAR",
6: "UNIPOLAR",
7: "UNIPOLAR",
8: "UNIPOLAR",
9: "UNIPOLAR",
}
PATCHES = {
0: ("Init", (82, 0, 88, 82, 0, 0, 66, 19, 56, 0)),
1: ("Brass Swell", (82, 0, 101, 82, 0, 0, 66, 19, 56, 0)),
2: ("PWM Strings", (82, 0, 88, 93, 0, 75, 87, 19, 50, 0)),
3: ("Huge Pad", (82, 0, 88, 77, 12, 79, 91, 25, 56, 0)),
4: ("Unison Lead", (90, 38, 88, 82, 0, 0, 66, 31, 56, 55)),
5: ("Sync Sweep", (115, 0, 88, 82, 0, 0, 66, 19, 56, 0)),
6: ("Ring Bells", (82, 0, 88, 82, 0, 0, 91, 19, 56, 0)),
7: ("FM Clang", (112, 0, 88, 82, 0, 0, 82, 19, 56, 0)),
8: ("Series Notch", (82, 25, 88, 82, 0, 0, 66, 19, 42, 0)),
9: ("Pluck Bass", (77, 25, 114, 82, 0, 0, 60, 19, 56, 0)),
10: ("S&H Steps", (93, 63, 88, 82, 0, 0, 66, 19, 56, 0)),
11: ("Noise Wind", (82, 0, 88, 80, 25, 82, 91, 19, 28, 0)),
}
[docs]
def create(sample_rate, channel_count=2, transport=None, **options):
"""A live PolyA6. See ``audioinstruments.create`` for the options."""
from . import _build
return _build(NAME, sample_rate, channel_count, transport, options)