# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.instruments.poly8.Poly8: edit that, then run it again.
"""Poly8, an eight-voice two-oscillator poly synth inspired by the Roland Jupiter-8."""
NAME = "poly8"
DISPLAY_NAME = "Poly8"
CATEGORIES = ("Synth",)
VERSION = "0.5.3.dev1"
VENDOR = "PyDevices"
MACRO_LABELS = (
"vcf_cutoff",
"vcf_resonance",
"vcf_env",
"hpf_cutoff",
"env1_decay",
"env2_attack",
"env2_release",
"cross_mod",
"lfo_rate",
"portamento",
)
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", (76, 0, 50, 0, 50, 0, 50, 0, 63, 0)),
1: ("Poly Strings", (68, 6, 19, 38, 50, 85, 82, 0, 69, 0)),
2: ("Poly Brass", (40, 12, 63, 0, 63, 63, 44, 0, 63, 0)),
3: ("Sync Lead", (101, 6, 25, 0, 66, 0, 38, 0, 63, 25)),
4: ("Cross Bell", (101, 0, 12, 0, 50, 0, 95, 82, 63, 0)),
5: ("Airy Pad", (82, 19, 19, 63, 50, 82, 69, 0, 25, 0)),
6: ("Unison Bass", (44, 19, 50, 0, 50, 0, 38, 0, 63, 0)),
7: ("Poly Pluck", (82, 25, 76, 0, 55, 0, 44, 0, 63, 0)),
8: ("Glide Pad", (63, 12, 31, 0, 50, 82, 76, 0, 63, 76)),
9: ("Random Steps", (57, 82, 12, 0, 50, 0, 44, 0, 91, 0)),
10: ("Solo Lead", (69, 25, 38, 0, 63, 0, 38, 0, 69, 0)),
11: ("Noise Wind", (69, 88, 25, 0, 50, 88, 88, 0, 25, 0)),
}
[docs]
def create(sample_rate, channel_count=2, transport=None, **options):
"""A live Poly8. See ``audioinstruments.create`` for the options."""
from . import _build
return _build(NAME, sample_rate, channel_count, transport, options)