zynaddsubfx

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

commit 9e8100eb0fce68f3fcc038e2e312f9869927708d
parent 17837a2eaf4e36387d2652b8a156329b5197bcc5
Author: fundamental <mark.d.mccurry@gmail.com>
Date:   Sun, 23 Jul 2017 11:09:50 -0400

Enhance Automation SubSlot Reset

Diffstat:
Msrc/Misc/Master.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Misc/Master.cpp b/src/Misc/Master.cpp @@ -131,7 +131,7 @@ static int get_next_int(const char *msg) } static const Ports mapping_ports = { - {"offset::f", rProp(parameter) rShort("off") rLinear(-50, 50) rMap(unit, percent), 0, + {"offset::f", rProp(parameter) rDefault(0) rShort("off") rLinear(-50, 50) rMap(unit, percent), 0, rBegin; int slot = d.idx[1]; int param = d.idx[0]; @@ -142,7 +142,7 @@ static const Ports mapping_ports = { } else d.reply(d.loc, "f", a.getSlotSubOffset(slot, param)); rEnd}, - {"gain::f", rProp(parameter) rShort("gain") rLinear(-200, 200) rMap(unit, percent), 0, + {"gain::f", rProp(parameter) rDefault(100) rShort("gain") rLinear(-200, 200) rMap(unit, percent), 0, rBegin; int slot = d.idx[1]; int param = d.idx[0];