zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 33b6fa9bc44d5e7188687a5349bf989e4b1b6dc1
parent a6d36b9f2d027efbc5544e7c9343b59232dc1d6c
Author: Ricard Wanderlof <polluxsynth@butoba.net>
Date:   Fri,  1 Oct 2021 08:22:24 +0200

Part.cpp: Shorten polyType member names and rdoc

Shorten the polyType names to match shortened names because of
less space for button in GUI.

Shorten rdoc for polyType to one line as it was too long to fit
in the allotted space (2 message lines in zest), and the
description wasn't accurate anyway.

Diffstat:
Msrc/Misc/Part.cpp | 12++----------
1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/src/Misc/Part.cpp b/src/Misc/Part.cpp @@ -120,16 +120,8 @@ static const Ports partPorts = { {"captureMax:", rDoc("Capture maximum valid note"), NULL, [](const char *, RtData &r) {Part *p = (Part*)r.obj; p->Pmaxkey = p->lastnote;}}, - {"polyType::c:i", rProp(parameter) rOptions(Polyphonic, Monophonic, Legato, Latch) - rDoc("Synthesis polyphony type\n" - "Polyphonic - Each note is played independently\n" - "Monophonic - A single note is played at a time with" - " envelopes resetting between notes\n" - "Legato - A single note is played at a time without" - " envelopes resetting between notes\n" - "Latch - Notes are released when a new one is hit " - " after key release\n" - ), NULL, + {"polyType::c:i", rProp(parameter) rOptions(Poly, Mono, Legato, Latch) + rDoc("Synthesis polyphony type\n"), NULL, [](const char *msg, RtData &d) { Part *p = (Part*)d.obj;