aboutsummaryrefslogtreecommitdiffstats
path: root/classes/BowelyzerConfig.sc
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-07-25 02:43:38 +0200
committerDavid Runge <dave@sleepmap.de>2016-07-25 02:43:38 +0200
commit7a72cd50582f838fc625ce56fe38c5bf4152a955 (patch)
tree1e017c8aef3a8e4c990ee5be59e2683a997bc8c7 /classes/BowelyzerConfig.sc
parent0baf487757f5332052db36f5d5a34d5e5b0cfb40 (diff)
downloadbowelyzer-7a72cd50582f838fc625ce56fe38c5bf4152a955.tar.gz
bowelyzer-7a72cd50582f838fc625ce56fe38c5bf4152a955.tar.bz2
bowelyzer-7a72cd50582f838fc625ce56fe38c5bf4152a955.tar.xz
bowelyzer-7a72cd50582f838fc625ce56fe38c5bf4152a955.zip
classes/BowelyzerConfig.sc: Adding a Bool to the defaultControls for indicating whether to only forward OSC messages for the given channel, if the detected pitch was new.
Diffstat (limited to 'classes/BowelyzerConfig.sc')
-rw-r--r--classes/BowelyzerConfig.sc6
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/BowelyzerConfig.sc b/classes/BowelyzerConfig.sc
index 47c9238..647ff01 100644
--- a/classes/BowelyzerConfig.sc
+++ b/classes/BowelyzerConfig.sc
@@ -62,7 +62,8 @@ BowelyzerConfig{
];
const <hasToBeBool = #[
- \active
+ \active,
+ \onlyForwardOnNewPitch
];
const <hasToBeArray = #[
@@ -167,7 +168,8 @@ BowelyzerConfig{
\pitchPeakThreshold -> 0.5,
\pitchDownSample -> 1,
\sendReplyFreq ->20,
- \freqRange -> [20, 20000]
+ \freqRange -> [20, 20000],
+ \onlyForwardOnNewPitch -> false
]);
defaultConfig = Dictionary.with(*[
\inputs -> Dictionary.with(*[