Source code for audioinstruments.patch2600

# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.modules.patch2600.Patch2600: edit that, then run it again.
"""Patch2600, a semi-modular voice inspired by the ARP 2600 (and Behringer's 2600): three VCOs, a ladder VCF, a VCA, two envelopes, ring modulator, noise, sample and hold, a voltage processor and a spring reverb."""

NAME = "patch2600"
DISPLAY_NAME = "Patch2600"
CATEGORIES = ("Synth",)
VERSION = "0.5.2"
VENDOR = "PyDevices"

MACRO_LABELS = (
    "vco1_freq",
    "vco2_freq",
    "vco3_freq",
    "vcf_cutoff",
    "vcf_res",
    "vcf_in1_lvl",
    "vcf_in2_lvl",
    "vcf_in3_lvl",
    "vcf_in4_lvl",
    "vca_init_gain",
    "vca_audio_lvl",
    "adsr_attack",
    "adsr_decay",
    "adsr_sustain",
    "adsr_release",
    "reverb_mix",
)

MACRO_MODES = {
    0: "BIPOLAR",
    1: "BIPOLAR",
    2: "BIPOLAR",
    3: "UNIPOLAR",
    4: "UNIPOLAR",
    5: "UNIPOLAR",
    6: "UNIPOLAR",
    7: "UNIPOLAR",
    8: "UNIPOLAR",
    9: "UNIPOLAR",
    10: "UNIPOLAR",
    11: "UNIPOLAR",
    12: "UNIPOLAR",
    13: "UNIPOLAR",
    14: "UNIPOLAR",
    15: "UNIPOLAR",
}

PATCHES = {
    0: ("Init", (79, 79, 79, 95, 0, 76, 76, 0, 0, 0, 127, 0, 8, 114, 11, 0)),
    1: ("Fat Bass", (31, 31, 0, 38, 38, 63, 63, 69, 0, 11, 127, 0, 7, 31, 2, 0)),
    2: ("Sync Lead", (63, 95, 79, 91, 25, 0, 101, 0, 0, 6, 127, 0, 25, 25, 4, 0)),
    3: ("Detuned Strings", (63, 63, 63, 78, 6, 57, 57, 57, 0, 16, 127, 0, 7, 114, 10, 0)),
    4: ("Brass", (63, 63, 63, 45, 12, 44, 44, 69, 0, 17, 127, 3, 10, 63, 6, 0)),
    5: ("Ring Bell", (63, 81, 79, 107, 0, 0, 0, 0, 0, 11, 127, 0, 44, 0, 37, 0)),
    6: ("FM Growl", (31, 63, 79, 50, 31, 101, 0, 0, 0, 7, 127, 0, 12, 63, 6, 0)),
    7: ("Random Blips", (63, 63, 79, 88, 38, 63, 63, 0, 0, 6, 127, 0, 7, 114, 10, 0)),
    8: ("Laser Zap", (63, 63, 79, 95, 57, 76, 76, 0, 0, 11, 127, 0, 4, 0, 2, 0)),
    9: ("Surf Wind", (79, 79, 79, 53, 69, 0, 0, 0, 127, 27, 127, 38, 47, 50, 47, 0)),
    10: ("Squelch Lead", (63, 63, 79, 31, 82, 76, 76, 0, 0, 8, 127, 0, 9, 31, 6, 0)),
    11: ("Pulse Pluck", (63, 95, 79, 38, 38, 101, 38, 0, 0, 15, 127, 0, 14, 0, 4, 0)),
}


[docs] def create(sample_rate, channel_count=2, transport=None, **options): """A live Patch2600. See ``audioinstruments.create`` for the options.""" from . import _build return _build(NAME, sample_rate, channel_count, transport, options)