Hi Jonathan,

The half cycle would be written:
sqrt(1-x^2)
since in a circle x²+y²=1

Then depending on how you want to use it, you'd have to figure out a way to have the lower portion.
See attached patch with a [phasor~]

Hope this helps.

Cheers
Pierre-Olivier



On 28/06/2014 21:40, Jonathan Wilkes via Pd-list wrote:
Hi list,
If I take a circle, cut it in half horizontally, then move the bottom half r*2 units to the right, what is the waveform that results?

-Jonathan


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

#N canvas 0 0 380 300 10;
#X obj 37 37 phasor~ 440;
#X obj 37 150 dac~;
#X obj 37 121 *~ 0.2;
#X obj 37 79 expr~ if($v1==0.5 \, 0 \, (abs(0.5-$v1))/(0.5-$v1)*sqrt(1-(2*$v1-1)^2))
;
#X connect 0 0 3 0;
#X connect 2 0 1 0;
#X connect 2 0 1 1;
#X connect 3 0 2 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to