# SPDX-FileCopyrightText: 2026 Brad Barnett
#
# SPDX-License-Identifier: MIT
# Generated by tools/make_faces.py from audioinstruments._rack.instruments.reed_piano.ReedPiano: edit that, then run it again.
"""ReedPiano, a ten-voice plucked-reed electric piano inspired by the Hohner Pianet."""
NAME = "reed_piano"
DISPLAY_NAME = "ReedPiano"
CATEGORIES = ("Synth",)
VERSION = "0.5.2"
VENDOR = "PyDevices"
MACRO_LABELS = (
"tone",
"pad_stick",
"decay",
"pad_thud",
"vibrato_rate",
"vibrato_depth",
)
MACRO_MODES = {
0: "UNIPOLAR",
1: "UNIPOLAR",
2: "UNIPOLAR",
3: "UNIPOLAR",
4: "UNIPOLAR",
5: "UNIPOLAR",
}
PATCHES = {
0: ("Classic", (64, 64, 64, 51, 51, 0)),
1: ("Snappy", (89, 102, 64, 51, 51, 0)),
2: ("Soft Plucks", (38, 25, 64, 25, 51, 0)),
3: ("Long Ring", (64, 64, 114, 51, 51, 0)),
4: ("Wide", (64, 64, 64, 51, 64, 76)),
5: ("Dead Thud", (64, 64, 25, 102, 51, 0)),
}
[docs]
def create(sample_rate, channel_count=2, transport=None, **options):
"""A live ReedPiano. See ``audioinstruments.create`` for the options."""
from . import _build
return _build(NAME, sample_rate, channel_count, transport, options)