From 5b3f3167eaf5f4165ba471afc7b3894e1d81ce79 Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 13 Jun 2016 00:02:17 +0200 Subject: 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. --- BowelyzerAnalyzer.sc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'BowelyzerAnalyzer.sc') 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, -- cgit v1.2.3-54-g00ecf