Clamp flex EG levels
Sforzando seems to do so too
This commit is contained in:
parent
d11142639a
commit
6f203d0384
2 changed files with 3 additions and 3 deletions
|
|
@ -157,8 +157,8 @@ BoolSpec flexEGDynamic { 0, {0, 1}, kEnforceBounds };
|
||||||
Int32Spec flexEGSustain { 0, {0, 100}, kEnforceLowerBound|kPermissiveUpperBound };
|
Int32Spec flexEGSustain { 0, {0, 100}, kEnforceLowerBound|kPermissiveUpperBound };
|
||||||
FloatSpec flexEGPointTime { 0.0f, {0.0f, 100.0f}, kPermissiveBounds };
|
FloatSpec flexEGPointTime { 0.0f, {0.0f, 100.0f}, kPermissiveBounds };
|
||||||
FloatSpec flexEGPointTimeMod { 0.0f, {-100.0f, 100.0f}, kPermissiveBounds };
|
FloatSpec flexEGPointTimeMod { 0.0f, {-100.0f, 100.0f}, kPermissiveBounds };
|
||||||
FloatSpec flexEGPointLevel { 0.0f, {-1.0f, 1.0f}, kPermissiveBounds };
|
FloatSpec flexEGPointLevel { 0.0f, {-1.0f, 1.0f}, kEnforceBounds };
|
||||||
FloatSpec flexEGPointLevelMod { 0.0f, {-1.0f, 1.0f}, kPermissiveBounds };
|
FloatSpec flexEGPointLevelMod { 0.0f, {-1.0f, 1.0f}, kEnforceBounds };
|
||||||
FloatSpec flexEGPointShape { 0.0f, {-100.0f, 100.0f}, kPermissiveBounds };
|
FloatSpec flexEGPointShape { 0.0f, {-100.0f, 100.0f}, kPermissiveBounds };
|
||||||
Int32Spec sampleQuality { 2, {0, 10}, 0 };
|
Int32Spec sampleQuality { 2, {0, 10}, 0 };
|
||||||
Int32Spec oscillatorQuality { 1, {0, 3}, 0 };
|
Int32Spec oscillatorQuality { 1, {0, 3}, 0 };
|
||||||
|
|
|
||||||
|
|
@ -3406,7 +3406,7 @@ TEST_CASE("[Values] Flex EGs")
|
||||||
"/region0/eg0/point0/time,f : { 0.1 }",
|
"/region0/eg0/point0/time,f : { 0.1 }",
|
||||||
"/region0/eg0/point0/level,f : { 0.5 }",
|
"/region0/eg0/point0/level,f : { 0.5 }",
|
||||||
"/region0/eg0/point1/time,f : { 0.4 }",
|
"/region0/eg0/point1/time,f : { 0.4 }",
|
||||||
"/region0/eg0/point1/level,f : { 2 }",
|
"/region0/eg0/point1/level,f : { 1 }", // Level values in EGs are clamped in Sforzando
|
||||||
"/region0/eg1/point0/time,f : { 4 }",
|
"/region0/eg1/point0/time,f : { 4 }",
|
||||||
"/region0/eg1/point0/level,f : { 0.1 }",
|
"/region0/eg1/point0/level,f : { 0.1 }",
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue