commit 1b5a13d36ff130813054e88db02d3841271e257b
parent 79fdf41a147c4c6f7b504338c68ec0935790667c
Author: fundamental <mark.d.mccurry@gmail.com>
Date: Wed, 9 Sep 2020 20:00:41 -0400
Add ranges to effect parameters
Allows for the automation of additional effect parameters which
previously failed due to the automation subsystem not being able
to identify the range of each parameter.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Effects/Effect.h b/src/Effects/Effect.h
@@ -23,7 +23,7 @@
#ifndef rEffPar
#define rEffPar(name, idx, ...) \
{STRINGIFY(name) "::i", rProp(parameter) rDefaultDepends(preset) \
- DOC(__VA_ARGS__), NULL, rEffParCb(idx)}
+ rLinear(0,127) DOC(__VA_ARGS__), NULL, rEffParCb(idx)}
#define rEffParOpt(name, idx, ...) \
{STRINGIFY(name) "::i:c:S", rProp(parameter) rDefaultDepends(preset) \
rProp(enumerated) DOC(__VA_ARGS__), NULL, \