View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide

SimpleRingedSineThingy

this doesn't work for me, "SinOsc.ar(freq y, 0," looks wrong. "SinOsc.ar(y, 0," works.

jrh:
s = Server.local;
s.freeAll;
SynthDef("SimpleRingedSineThingy",
	{	
	arg out = 0, amp = 0.6, freq, sinout;

	freq = MouseX.kr(10,4000, 'exponential');
	y = MouseY.kr(10,4000, 'exponential');

	sinout = (SinOsc.ar(freq, 0, 
			 	(SinOsc.ar(freq * y, 0, 
			 		(SinOsc.ar(freq/ y, 0, amp))))));

   	Out.ar(out, sinout);
	}).play(s);

***************************
/*
authors so far:
guaka
*/


Link to this Page