-
... = { arg in, envTrigger_triggerLevel=0.2, envTrigger_debounce=1 ; var mic = in, amplitude = Amplitude.kr(mic), env = EnvFollow.kr(mic, 0.999), trig = amplitude > envTrigger_triggerLevel, timer = Timer.kr(trig), filteredTrig = (timer > envTr ...
-
/* \blip Band Limited ImPulse generator. All harmonics have equal amplitude. This is the equivalent of 'buzz' in MusicN languages. freq: frequency (Hz) numharm: number of harmonics (1-...) amp: amplitude (0-1) -- this is an Udef definition ...
-
/* \blip Band Limited ImPulse generator. All harmonics have equal amplitude. This is the equivalent of 'buzz' in MusicN languages. freq: frequency (Hz) numharm: number of harmonics (1-...) amp: amplitude (0-1) -- this is an Udef definition ...
-
... gs| args.pairsDo{|key, val| arguments.put(key, val); grp.set(key, val); }; } setAmplitudes {|arr| //convenience method this.set(\amplitudes, arr); } getAmplitudes { ^controllers.collect{|ctrl| ctrl.amplitudes.bus.getnSynchronous}; } setFreq ...
-
... stom sound analysis method analysis.add(\my_trig_amps, \trig, { |sig| var amp = Amplitude.kr(sig); var trig = amp > 0.6; // amp exceeds threshold var avg = TrigAvg.kr(amp, trig); [trig, avg] // records always the average before the peak }); ...
-
... control various parameters in the selected channels (start and stop or control amplitude, etc.) There is control over panning, pitch (-1 is backward, 1 is forward, 0.5 is half speed and octave lower) and amplitude. Very simple but useful t ...
-
... }).add; ) ( SynthDef ( \meter , { arg bus = 0, rate = 15, rel = 1; var signal, amplitude; signal = In .ar(bus,1); amplitude = Amplitude .kr(signal, 0.01, rel); SendTrig .kr( Impulse .kr(rate), 1200, amplitude); }).send(s); ) // start the m ...
-
/* \dust A random impulse generator. Generates impulses of random amplitude (positive and negative) with random time intervals in between. density: the average amount of impulses per second amp: maximum amplitude (0-1) of the pulses seed: r ...
-
/* \dust A random impulse generator. Generates impulses of random amplitude (positive and negative) with random time intervals in between. density: the average amount of impulses per second amp: maximum amplitude (0-1) of the pulses seed: r ...
-
... fmod,mid; var ampl,wobble,resmod; wobble = LFNoise1.kr(0.1,wobbleWidth); ampl = Amplitude.kr(Mono(audio),0.1,0.3,bounce,wobble); lofmod = ampl + lofreq ; freqmod= ampl + midfreq ; resmod = Amplitude.kr(Mono(audio),0.05,0.1); mid= Decay2.kr( ...