# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.instruments.poly5.Poly5: edit that, then run it again.
"""Poly5, a five-voice two-oscillator poly synth inspired by the Sequential Prophet-5 (rev 3)."""
NAME = "poly5"
DISPLAY_NAME = "Poly5"
CATEGORIES = ("Synth",)
VERSION = "0.5.3.dev1"
VENDOR = "PyDevices"
MACRO_LABELS = (
"vcf_cutoff",
"vcf_resonance",
"vcf_env_amount",
"vcf_decay",
"amp_attack",
"amp_release",
"pm_filter_env",
"pm_osc_b",
"osc_b_fine",
"glide",
)
MACRO_MODES = {
0: "UNIPOLAR",
1: "UNIPOLAR",
2: "UNIPOLAR",
3: "UNIPOLAR",
4: "UNIPOLAR",
5: "UNIPOLAR",
6: "UNIPOLAR",
7: "UNIPOLAR",
8: "BIPOLAR",
9: "UNIPOLAR",
}
PATCHES = {
0: ("Init Saw", (76, 0, 50, 50, 0, 50, 0, 0, 68, 0)),
1: ("Poly Brass", (48, 19, 63, 66, 63, 53, 0, 0, 69, 0)),
2: ("Sync Sweep", (86, 25, 40, 63, 0, 48, 82, 0, 68, 0)),
3: ("PWM Strings", (60, 12, 27, 76, 80, 76, 0, 69, 63, 0)),
4: ("FM Bell", (86, 19, 48, 58, 0, 66, 0, 44, 66, 0)),
5: ("Poly Pluck", (53, 38, 78, 54, 0, 43, 0, 0, 68, 0)),
6: ("Unison Lead", (78, 25, 44, 57, 0, 40, 0, 0, 71, 33)),
7: ("Soft Keys", (50, 12, 53, 58, 0, 50, 0, 0, 66, 0)),
8: ("Resonant Sweep", (48, 95, 69, 95, 63, 66, 0, 0, 69, 0)),
9: ("Glide Pad", (60, 19, 40, 76, 76, 66, 0, 0, 69, 77)),
10: ("Sync Bass", (63, 31, 60, 55, 0, 44, 69, 0, 68, 0)),
11: ("Noise Wind", (76, 95, 40, 82, 82, 66, 0, 0, 68, 0)),
}
[docs]
def create(sample_rate, channel_count=2, transport=None, **options):
"""A live Poly5. See ``audioinstruments.create`` for the options."""
from . import _build
return _build(NAME, sample_rate, channel_count, transport, options)