# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.modules.acid303.Acid303: edit that, then run it again.
"""Acid303, a bass voice inspired by the Roland TB-303: saw or square VCO, the diode ladder with accent circuit, a decay envelope, slide, and a 16-step sequencer with gate, accent and slide per step."""
NAME = "acid303"
DISPLAY_NAME = "Acid303"
CATEGORIES = ("Synth",)
VERSION = "0.5.3.dev1"
VENDOR = "PyDevices"
MACRO_LABELS = (
"tempo_bpm",
"tuning",
"cutoff",
"resonance",
"env_mod",
"decay",
"accent",
"waveform",
"volume",
)
MACRO_MODES = {
0: "UNIPOLAR",
1: "UNIPOLAR",
2: "UNIPOLAR",
3: "UNIPOLAR",
4: "UNIPOLAR",
5: "UNIPOLAR",
6: "UNIPOLAR",
7: "TOGGLE",
8: "UNIPOLAR",
}
PATCHES = {
0: ("Init", (51, 127, 51, 91, 76, 46, 89, 0, 85)),
1: ("Squelch", (50, 127, 43, 110, 95, 51, 107, 0, 84)),
2: ("Square Acid", (50, 127, 47, 103, 88, 42, 101, 127, 84)),
3: ("Rubber Bass", (50, 127, 39, 38, 44, 40, 63, 0, 127)),
4: ("Screamer", (50, 127, 70, 123, 107, 76, 127, 0, 76)),
5: ("Sub Thump", (50, 127, 40, 25, 57, 51, 50, 127, 110)),
6: ("Bleep", (50, 127, 83, 64, 25, 17, 76, 127, 84)),
7: ("Dark Roller", (50, 127, 31, 97, 69, 65, 88, 0, 93)),
8: ("Open Wail", (50, 127, 87, 77, 63, 101, 114, 0, 84)),
9: ("Pluck Stab", (50, 127, 56, 71, 127, 10, 76, 0, 105)),
10: ("Long Drone", (50, 127, 64, 58, 38, 124, 63, 0, 127)),
11: ("Zap", (50, 127, 60, 116, 127, 32, 127, 127, 76)),
}
[docs]
def create(sample_rate, channel_count=2, transport=None, **options):
"""A live Acid303. See ``audioinstruments.create`` for the options."""
from . import _build
return _build(NAME, sample_rate, channel_count, transport, options)