-
... rig = Dust.kr(10); SinOsc.ar( TBetaRand.kr(300, 3000, 0.1, 0.1, trig) ) * 0.1 }.play; ) ( { var trig, prob1, prob2; trig = Dust.kr(10); prob1 = MouseX.kr(1, 5); prob2 = MouseY.kr(1, 5); SinOsc.ar( TBetaRand.kr(300, 3000, prob1, prob2, trig) ...
-
... inB); chain = PV_MagMul(chainA, chainB); Out.ar(out, 0.1 * IFFT(chain).dup); }).play(s); ) ( SynthDef("help-magMul2", { |out = 0, soundBufnum = 2| var inA, chainA, inB, chainB, chain; inA = LFSaw.ar([100, 150], 0, 0.2); inB = PlayBuf.ar(1, ...
-
... ize), sig); chain = PV_BinGap (chain, loBin, hiBin); IFFT (chain) ! 2; }; x = f.play; s.freqscope; ) x.set( \loFreq , 300); x.set( \hiFreq , 3000); x.release; // for multichannel expansion an array of mono buffers must be provided ( g = { | ...
-
... def( \testSynth, { |on=0| SinOsc.ar( 440, 0, on * 0.5 ) } ); Ndef( \testSynth ).play; k.elementAt( \pad, \on, 1 ).action = { arg el; Ndef( \testSynth ).set( \on, 1 ) }; k.elementAt( \pad, \off, 1 ).action = { arg el; Ndef( \testSynth ).set( ...
-
... ); /// or a nanoKontrol 2 k = MKtl( 'nk2', "*kontrol2"); k.gui; Ndef( \sound1).play; Ndef( \sound1).gui; // to see params change // use a global dict q for intermediate variables and functions q = q ? (); // setting the continuous controls ...
-
... mp dbamp(a) -20.dbamp.postln { FSinOsc.ar(800, 0.0, Line.kr(-3,-40,10).dbamp) }.play;
-
... req, 0.5pi)) }).add; Pbind(\freq, 810, \sustain, 0.5, \dur, 1, \instrument, \x).play(t, quant:1); Pbind(\freq, 8110, \sustain, 0.5, \dur, 1, \instrument, \x).play(x, quant:1); Pbind(\freq, 2500, \sustain, 0.1, \dur, 1, \instrument, \x).play ...
-
... nkSpace ) } ); var transportButtons = if(isMainOutput, { nil }, { HLayout(*[ // Play Button.new(w) .states_([["play"], ["play"]]) .action_({|obj| if(obj.value == 1, { chain.play })}), // Stop Button.new(w) .states_([["stop"], ["stop"]]) .ac ...
-
... ome userview //changed fps to dur for update rate //--changes 080815: //added isPlaying flag //added RedMstGUI class and helpfile //--changes 080814: //added skipEmpty flag to jump over empty sections //--changes 080808: //took out setters ...
-
... r b.write("~/soundFileAnalysisExample.aiff".standardizePath,"aiff", "int24"); b.play; // maybe check if something is there // initialize analysis ( a = SoundFileAnalysis.new; a.add(\centroid, \trig, {|sig| var fft = FFT(LocalBuf(2048, 1), s ...