diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2009-02-16 20:03:40 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2009-02-16 20:03:40 +0000 |
commit | cbb0745e854fdbb85390c4d006f8dcb3831658a2 (patch) | |
tree | 9682527cd4ed5635a5f6d2c98d38f20f2259b9c3 /oscillators/saw~.pd | |
parent | a5986d2299c6f77b4e375d6f6067b0f570dd4444 (diff) |
a better antialiased saw oscillator
svn path=/trunk/externals/nusmuk/; revision=10784
Diffstat (limited to 'oscillators/saw~.pd')
-rw-r--r-- | oscillators/saw~.pd | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/oscillators/saw~.pd b/oscillators/saw~.pd index 437ba9a..087b8cb 100644 --- a/oscillators/saw~.pd +++ b/oscillators/saw~.pd @@ -1,34 +1,34 @@ -#N canvas 228 478 660 293 10; +#N canvas 1492 355 660 293 10; #X obj 21 -73 phasor~; -#X obj 22 -50 -~ 0.5; -#X obj 22 -25 *~ 2; -#X obj 113 28 wrap~; -#X obj 114 54 *~ 2; -#X obj 114 79 -~ 1; -#X obj 208 76 >~ 0; -#X obj 317 18 /~; -#X obj 316 -7 sig~ 22050; -#X obj 299 41 *~; -#X obj 300 63 abs~; -#X obj 299 85 +~ 1.8955; -#X obj 23 106 expr~ -0.5+($v1/-2)+$v3+$v2*sin($v4)/$v4; +#X obj 92 -38 -~ 0.5; +#X obj 235 9 *~ 2; +#X obj 91 31 wrap~; +#X obj 92 57 *~ 2; +#X obj 92 82 -~ 1; +#X obj 273 8 /~; +#X obj 272 -17 sig~ 22050; +#X obj 235 36 *~; +#X obj 236 58 abs~; +#X obj 235 80 +~ 1.8955; #X obj 22 -100 inlet~; -#X obj 23 132 outlet~; +#X obj 21 132 outlet~; +#X obj 22 106 expr~ -$v1+$v3+$v2*sin($v4)/$v4; +#X obj 163 82 expr~ $v1 > 0; #X connect 0 0 1 0; +#X connect 0 0 13 0; #X connect 1 0 2 0; #X connect 1 0 3 0; -#X connect 1 0 6 0; -#X connect 2 0 9 0; -#X connect 2 0 12 0; +#X connect 1 0 14 0; +#X connect 2 0 8 0; #X connect 3 0 4 0; #X connect 4 0 5 0; -#X connect 5 0 12 1; -#X connect 6 0 12 2; -#X connect 7 0 9 1; -#X connect 8 0 7 0; +#X connect 5 0 13 1; +#X connect 6 0 8 1; +#X connect 7 0 6 0; +#X connect 8 0 9 0; #X connect 9 0 10 0; -#X connect 10 0 11 0; -#X connect 11 0 12 3; -#X connect 12 0 14 0; -#X connect 13 0 0 0; -#X connect 13 0 7 1; +#X connect 10 0 13 3; +#X connect 11 0 0 0; +#X connect 11 0 6 1; +#X connect 13 0 12 0; +#X connect 14 0 13 2; |