From 8c45cbc006d751df91eb637032190ff4a33fc78e Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 3 Jul 2016 16:34:58 +0200 Subject: classes/*.sc: Moving all classes to the proper subfolder classes. --- BowelyzerAnalyzer.sc | 209 --------------------------------------------------- 1 file changed, 209 deletions(-) delete mode 100644 BowelyzerAnalyzer.sc (limited to 'BowelyzerAnalyzer.sc') diff --git a/BowelyzerAnalyzer.sc b/BowelyzerAnalyzer.sc deleted file mode 100644 index 39728bd..0000000 --- a/BowelyzerAnalyzer.sc +++ /dev/null @@ -1,209 +0,0 @@ -BowelyzerAnalyzer{ - - var Synth.new( - name, - [ - inputChannel: input, - sendReplyFreq: controls.at(\sendReplyFreq), - amplitudeAttackTime: controls.at(\amplitudeAttackTime), - amplitudeReleaseTime: controls.at(\amplitudeReleaseTime), - hfHainsworth: controls.at(\hfhainsworth), - hfFoote: controls.at(\hfFoote), - hfThreshold: controls.at(\hfThreshold), - hfWaitTime: controls.at(\hfWaitTime), - pitchInitFreq: controls.at(\pitchInitFreq), - pitchMinFreq: controls.at(\pitchMinFreq), - pitchMaxFreq: controls.at(\pitchMaxFreq), - pitchExecFreq: controls.at(\pitchExecFreq), - pitchMaxBinsPerOctave: controls.at(\pitchMaxBinsPerOctave), - pitchMedian: controls.at(\pitchMedian), - pitchAmpThreshold: controls.at(\pitchAmpThreshold), - pitchPeakThreshold: controls.at(\pitchPeakThreshold), - pitchDownSample: controls.at(\pitchDownSample) - ], - analyzerGroup - ).register; - ); - },{ - synths.add(name -> Synth.newPaused( - name, - [ - inputChannel: input, - sendReplyFreq: controls.at(\sendReplyFreq), - amplitudeAttackTime: controls.at(\amplitudeAttackTime), - amplitudeReleaseTime: controls.at(\amplitudeReleaseTime), - hfHainsworth: controls.at(\hfhainsworth), - hfFoote: controls.at(\hfFoote), - hfThreshold: controls.at(\hfThreshold), - hfWaitTime: controls.at(\hfWaitTime), - pitchInitFreq: controls.at(\pitchInitFreq), - pitchMinFreq: controls.at(\pitchMinFreq), - pitchMaxFreq: controls.at(\pitchMaxFreq), - pitchExecFreq: controls.at(\pitchExecFreq), - pitchMaxBinsPerOctave: controls.at(\pitchMaxBinsPerOctave), - pitchMedian: controls.at(\pitchMedian), - pitchAmpThreshold: controls.at(\pitchAmpThreshold), - pitchPeakThreshold: controls.at(\pitchPeakThreshold), - pitchDownSample: controls.at(\pitchDownSample) - ], - analyzerGroup - ).register; - ); - }); - } - - // set a synth control by provoding its name, its control name and control value - setSynthControl{ - arg name, controlName, controlValue; - synths.at(name).set(controlName, controlValue); - } - - // start a synth by name - startAnalysisSynth{ - arg name; - synths.at(name).run(true); - } - - // stop a synth by name - stopAnalysisSynth{ - arg name; - synths.at(name).run(false); - } - - // free a synth by name - freeAnalysisSynth{ - arg name; - synths.at(name).free; - } - - startAllAnalysisSynths{ - analyzerGroup.run(true); - } - - stopAllAnalysisSynths{ - analyzerGroup.run(false); - } -} -- cgit v1.2.3-54-g00ecf