패치도 올리고싶은데 첨부가 안되네요.;;;


s.boot;  
s.meter; 

(
  SynthDef.new(   
  	"detuned",  
  		{
	  		arg freq=200, vol=1.0; 
	  		var sig;               
	  			  		
	  		sig = SinOsc.ar(freq) + SinOsc.ar(freq*0.995) + SinOsc.ar(freq*0.990)
	  				+ SinOsc.ar(freq*1.5) + SinOsc.ar(freq*1.5*0.995)+ SinOsc.ar(freq*1.5*0.990)
	  				+ SinOsc.ar(freq*2) + SinOsc.ar(freq*2*0.995) + SinOsc.ar(freq*2*0.990);
	  		sig = sig * 0.1 * vol;
	  		sig = Pan2.ar(sig,0); 
	  		
	  		Out.ar(0,sig);
  							}
  								).send(s)
  )
  	
  	
 
 (
 	SynthDef.new(
 		"vibe",
 			{
	 			arg freq=2000, vol=0.3, rate=1,depth=3, pulse=5;
	 			var sig;
	 			
	 			sig = SinOsc.ar(freq+SinOsc.kr(rate)*depth)*vol*LFPulse.ar(5);
	 			sig = Pan2.ar(sig,0);
	 			Out.ar(0,sig);
 			}
 				).send(s)
 )	
  	
  	
  	
  	
  	
  	
  	


w = Synth.new("detuned",['freq', 10000, ' vol', 0.3]); 
x = Synth.new("detuned",['freq',110,'vol',0.3]);  
y = Synth.new("detuned",['freq',50, 'vol',0.5]);
z = Synth.new("detuned",['vol',0.3]);
 

a = Synth.new("vibe",['freq', 1200,'depth',10]);
b = Synth.new("vibe",['freq',1199,'depth', 10, 'rate', 5, 'vol', 0.1,'pulse',10]);
c = Synth.new("vibe", ['freq',2000,'depth',1,'rate',1,'vol', 0.1,'pulse',10]);


Advertisements