-
... f = Buffer.read(s,"/tmp/"++~snd["original_filename"]); "done!".postln; }); ~buf.play; // metadata fields ~snd.dict.keys; // note that you can access the fields directly ~snd["id"] ~snd["original_filename"]; ~snd["duration"]; ~snd["url"]; ~s ...
-
... dur: dur.postln, sRate: sRate, headerFormat: headerFormat, format: format ); }.play } pr_renderSound {|filename, numChans = 2, dur = 1, params, sRate, headerFormat, format| var score; var args; var name; name = synthDef.name; args = [ \ins ...
-
... 0.050, [0.050.rand, 0.050.rand], 1) }); // add original sound to reverb and play it : (3*(s+(0.2*y))).tanh }); SynthDef(\explosion, { var m = Line.kr(0.01, 0.8, Rand(0.01, 0.04)); var x = SinOsc.ar(LFDNoise3.ar(m.range(18 ...
-
... eTime: 4, level:amp).kr(2) ); LPF.ar(in: snd, freq:1000); snd = Splay.ar(snd); Out.ar(0,snd) }).add; ) ( m = [72, 79, 77, 79, 82, 79, 87, 86, 84, 82, 84, 79]; Pbind( \instrument, "pulsey", \mid ...
-
... 200, 200), //freq 0, //iphase LFTri .kr(1.0).range(0, 1), //width 0.1 //mul ) }.play ) ({ //same but with static width VarSaw .ar( LFPulse .kr(#[3, 3.03], 0, 0.3, 200, 200), //freq 0, //iphase 0.2, //width 0.1 //mul ) }.play ) //compare: Se ...
-
... reconstruction. {var n= 1024; WaveletDaub .ar( SoundIn.ar, n, MouseX.kr(0,n) )}.play {var n= 1024; WaveletDaub .ar( Saw .ar(MouseY.kr(50,10000, 'exponential'),0.5) , n, MouseX.kr(0,n) )}.play
-
... {arg self; self.dur; }, seq: 1.asStream, func: {}, player: {arg self; var me = self; var pattern = Pspawner({arg sp; inf.do({arg i; var time = me.seq.next; var evt = me.process ...
-
... s methods new gui Inherited class methods Instance methods For management: free play loadToBuffer Global information: filename buffer activeBuffer bufferServer keynum keynumFromFileName keynumFromPitchFound env sampleRate duration globalPea ...
-
... il "Please execute prepareForRecord before recording".warn; },{ if(recordNode.isPlaying.not,{ recordNode.play(0,atTime); },{ recordNode.run(true,atTime) }); "Recording".inform; }); } isRecording { ^recordNode.isPlaying } pauseRecording { ar ...
-
... l "Please execute prepareForRecord before recording".warn; }, { if(recordNode.isPlaying.not, { recordNode.play(0, atTime); }, { recordNode.run(true, atTime) }); "Recording".inform; }); } isRecording { ^recordNode.isPlaying } pauseRecording ...