# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.instruments.poly6.Poly6: edit that, then run it again.
"""Poly6, a six-voice poly synth inspired by the Korg Polysix."""
NAME = "poly6"
DISPLAY_NAME = "Poly6"
CATEGORIES = ("Synth",)
VERSION = "0.5.3.dev1"
VENDOR = "PyDevices"
MACRO_LABELS = (
"vcf_cutoff",
"vcf_resonance",
"vcf_eg_int",
"eg_attack",
"eg_decay",
"eg_release",
"pw_pwm",
"mg_freq",
"fx_speed",
"fx_intensity",
)
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, 38, 38, 63, 50, 63)),
1: ("Ensemble Strings", (63, 0, 25, 82, 76, 88, 38, 63, 50, 107)),
2: ("Poly Brass", (40, 19, 76, 76, 69, 44, 38, 63, 44, 76)),
3: ("PWM Pad", (63, 0, 25, 82, 82, 82, 101, 63, 50, 38)),
4: ("Chord Stab", (50, 38, 88, 1, 66, 25, 38, 63, 50, 38)),
5: ("Unison Bass", (50, 12, 50, 0, 66, 25, 38, 63, 50, 0)),
6: ("Sub Bass", (41, 12, 25, 0, 50, 25, 0, 63, 50, 0)),
7: ("Tremolo Keys", (69, 0, 25, 2, 63, 38, 19, 63, 50, 50)),
8: ("Organ", (101, 0, 0, 0, 50, 38, 0, 63, 50, 63)),
9: ("Phase Sweep", (82, 63, 50, 88, 76, 63, 38, 19, 25, 107)),
10: ("Vibrato Lead", (76, 0, 50, 6, 57, 38, 88, 63, 50, 50)),
11: ("Noise Surf", (95, 88, 50, 88, 76, 88, 38, 12, 31, 101)),
}
[docs]
def create(sample_rate, channel_count=2, transport=None, **options):
"""A live Poly6. See ``audioinstruments.create`` for the options."""
from . import _build
return _build(NAME, sample_rate, channel_count, transport, options)