aboutsummaryrefslogtreecommitdiffstats
path: root/BowelyzerAnalyzer.sc
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-06-13 00:02:17 +0200
committerDavid Runge <dave@sleepmap.de>2016-06-13 00:02:17 +0200
commit5b3f3167eaf5f4165ba471afc7b3894e1d81ce79 (patch)
treeb3e4afa9ec8194655d10679636d4c5ac41570dd5 /BowelyzerAnalyzer.sc
parentcd08e85995e3f42b5829a5aa3cbdbffcae40deb0 (diff)
downloadbowelyzer-5b3f3167eaf5f4165ba471afc7b3894e1d81ce79.tar.gz
bowelyzer-5b3f3167eaf5f4165ba471afc7b3894e1d81ce79.tar.bz2
bowelyzer-5b3f3167eaf5f4165ba471afc7b3894e1d81ce79.tar.xz
bowelyzer-5b3f3167eaf5f4165ba471afc7b3894e1d81ce79.zip
BowelyzerConfig.sc: Adding class constants to check what sort of GUI element the different parameter require. Removing the channel offset feature in favor of addressing inputs directly (starting from 0). BowelyzerAnalyzer.sc: Removing the channel offest feature.
Diffstat (limited to 'BowelyzerAnalyzer.sc')
-rw-r--r--BowelyzerAnalyzer.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/BowelyzerAnalyzer.sc b/BowelyzerAnalyzer.sc
index 055a3b4..928bef2 100644
--- a/BowelyzerAnalyzer.sc
+++ b/BowelyzerAnalyzer.sc
@@ -33,7 +33,7 @@ BowelyzerAnalyzer{
arg config;
config.at("names").size.do({|i|
var name = config.at("names")[i];
- ("Adding SynthDef '"++name++"' on input "++(i+config.at("channelOffset")[i])).postln;
+ ("Adding SynthDef '"++name++"' on input "++i).postln;
SynthDef(name, {
arg sendReplyFreq,
amplitudeAttackTime,
@@ -54,7 +54,7 @@ BowelyzerAnalyzer{
;
var amplitude, input, detect, pitch, hasPitch;
//TODO: Add volume for SoundIn
- input = SoundIn.ar(bus: i+config.at("channelOffset")[i]);
+ input = SoundIn.ar(bus: i);
amplitude = Amplitude.kr(
in: input,
attackTime: amplitudeAttackTime,