zynaddsubfx

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

commit 57ea725f5d67d8c8de28db8220fad62dd47fcb0b
parent 677ff5a7aa2fb96c445d899d0672bd9d1154dfca
Author: fundamental <mark.d.mccurry@gmail.com>
Date:   Tue, 19 Jul 2016 14:08:20 -0400

Add More Microtonal Metadata

Diffstat:
Msrc/Misc/Microtonal.cpp | 24++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/Misc/Microtonal.cpp b/src/Misc/Microtonal.cpp @@ -39,25 +39,25 @@ using namespace rtosc; * A good lookup table should be a good finalization of this */ const rtosc::Ports Microtonal::ports = { - rToggle(Pinvertupdown, "key mapping inverse"), - rParamZyn(Pinvertupdowncenter, "center of the inversion"), - rToggle(Penabled, "Enable for microtonal mode"), - rParamZyn(PAnote, "The note for 'A'"), - rParamF(PAfreq, "Frequency of the 'A' note"), - rParamZyn(Pscaleshift, "UNDOCUMENTED"), - rParamZyn(Pfirstkey, "First key to retune"), - rParamZyn(Plastkey, "Last key to retune"), - rParamZyn(Pmiddlenote, "Scale degree 0 note"), + rToggle(Pinvertupdown, rShort("inv."), "key mapping inverse"), + rParamZyn(Pinvertupdowncenter, rShort("center"), "center of the inversion"), + rToggle(Penabled, rShort("enable"), "Enable for microtonal mode"), + rParamZyn(PAnote, rShort("A note"), "The note for 'A'"), + rParamF(PAfreq, rShort("A freq"), "Frequency of the 'A' note"), + rParamZyn(Pscaleshift, rShort("shift"), "UNDOCUMENTED"), + rParamZyn(Pfirstkey, rShort("first key"), "First key to retune"), + rParamZyn(Plastkey, rShort("last key"), "Last key to retune"), + rParamZyn(Pmiddlenote, rShort("middle"), "Scale degree 0 note"), //TODO check to see if this should be exposed rParamZyn(Pmapsize, "Size of key map"), rToggle(Pmappingenabled, "Mapping Enable"), rParams(Pmapping, 128, "Mapping of keys"), - rParamZyn(Pglobalfinedetune, "Fine detune for all notes"), + rParamZyn(Pglobalfinedetune, rShort("fine"), "Fine detune for all notes"), - rString(Pname, MICROTONAL_MAX_NAME_LEN, "Microtonal Name"), - rString(Pcomment, MICROTONAL_MAX_NAME_LEN, "Microtonal Name"), + rString(Pname, MICROTONAL_MAX_NAME_LEN, rShort("name"), "Microtonal Name"), + rString(Pcomment, MICROTONAL_MAX_NAME_LEN, rShort("comment") "Microtonal Name"), {"octavesize:", rDoc("Get octave size"), 0, [](const char*, RtData &d) {