zynaddsubfx

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

commit c7af2ce58b49ece787863948ef4f957c110f9e36
parent 2e35a5e82e641a7c938122cf8ea4edf770f69116
Author: Daniel Sheeler <[email protected]>
Date:   Fri, 29 Mar 2019 16:24:14 -0500

extend range of master volume

Diffstat:
Msrc/Misc/Master.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Misc/Master.cpp b/src/Misc/Master.cpp @@ -446,7 +446,7 @@ static const Ports master_ports = { master->Volume = master->volume127ToFloat(limit<unsigned char>(rtosc_argument(m, 0).i, 0, 127)); d.broadcast(d.loc, "i", limit<char>(rtosc_argument(m, 0).i, 0, 127)); }}}, - rParamF(Volume, rShort("volume"), rDefault(-6.66667f), rLinear(-40.0f,12.917f), + rParamF(Volume, rShort("volume"), rDefault(-6.66667f), rLinear(-40.0f,13.3333f), rUnit(dB), "Master Volume"), {"Psysefxvol#" STRINGIFY(NUM_SYS_EFX) "/::i", 0, &sysefxPort, [](const char *msg, rtosc::RtData &d) {