# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.instruments.rhythm606.Rhythm606: edit that, then run it again.
"""Rhythm606, an analog drum machine with seven sounds, inspired by the Roland TR-606."""
NAME = "rhythm606"
DISPLAY_NAME = "Rhythm606"
CATEGORIES = ("Drum",)
VERSION = "0.5.3.dev1"
VENDOR = "PyDevices"
MACRO_LABELS = (
"tune",
"decay",
"accent",
"bd_level",
"sd_level",
"volume",
)
MACRO_MODES = {
0: "UNIPOLAR",
1: "UNIPOLAR",
2: "UNIPOLAR",
3: "UNIPOLAR",
4: "UNIPOLAR",
5: "UNIPOLAR",
}
PATCHES = {
0: ("Drumatix", (64, 64, 64, 89, 89, 89)),
1: ("Acid", (64, 64, 102, 114, 89, 89)),
2: ("Tight", (76, 25, 64, 89, 89, 89)),
3: ("Loose", (51, 102, 64, 89, 89, 89)),
}
NOTE_MAP = (
(35, "Bass Drum"),
(36, "Bass Drum 2"),
(37, "Snare Drum"),
(38, "Snare Drum 2"),
(39, "Snare Drum 3"),
(40, "Snare Drum 4"),
(41, "Low Tom"),
(42, "Closed Hi-Hat"),
(43, "Low Tom 2"),
(44, "Closed Hi-Hat 2"),
(45, "Low Tom 3"),
(46, "Open Hi-Hat"),
(47, "High Tom"),
(48, "High Tom 2"),
(49, "Cymbal"),
(50, "High Tom 3"),
(51, "Cymbal 2"),
(57, "Cymbal 3"),
)
[docs]
def create(sample_rate, channel_count=2, transport=None, **options):
"""A live Rhythm606. See ``audioinstruments.create`` for the options."""
from . import _build
return _build(NAME, sample_rate, channel_count, transport, options)