hi, i have a question, i was trying to do a simple panning patch but i get nasty clicks, do anybody have any tip about avoiding- fixing this???
thanxx
punchik
#N canvas 0 33 1006 682 10; #X obj 82 575 dac~; #X msg 750 38 ; pd dsp 0; #X msg 846 37 ; pd dsp 1; #X obj 80 364 osc~; #X floatatom 80 304 5 0 0 0 - - -; #X obj 282 329 hsl 128 15 1 0 0 8.38861e+006 empty empty empty -2 -6 0 8 -262144 -1 -1 12700 1; #X obj 81 421 *~ 0.4; #X floatatom 279 493 5 0 0 0 - - -; #X obj 81 492 *~ 4.4; #X obj 180 494 *~ 4.4; #X floatatom 311 374 5 0 0 0 - - -; #X obj 279 399 expr 1-$f1; #X obj 279 242 line; #X floatatom 279 292 5 0 0 0 - - -; #X obj 279 114 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 375 245 line; #X obj 375 164 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 279 190 0 , 1 500; #X msg 375 192 1 , 0 500; #X obj 278 32 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X obj 375 129 delay 500; #X obj 279 73 metro 1000; #X connect 3 0 6 0; #X connect 4 0 3 0; #X connect 5 0 10 0; #X connect 5 0 11 0; #X connect 5 0 8 1; #X connect 6 0 8 0; #X connect 6 0 9 0; #X connect 8 0 0 0; #X connect 9 0 0 1; #X connect 11 0 7 0; #X connect 11 0 9 1; #X connect 12 0 13 0; #X connect 13 0 5 0; #X connect 14 0 17 0; #X connect 14 0 20 0; #X connect 15 0 13 0; #X connect 16 0 18 0; #X connect 17 0 12 0; #X connect 18 0 15 0; #X connect 19 0 21 0; #X connect 20 0 16 0;
pun chik punchik@fastmail.fm
Hallo, pun chik hat gesagt: // pun chik wrote:
hi, i have a question, i was trying to do a simple panning patch but i get nasty clicks, do anybody have any tip about avoiding- fixing this???
You can use interpolation with [line~] to make volume changes with smooth ramps:
[catch~ $0-signal] | | [r $0-volume] . | . [pack 0 10] . | . [line~] | / [*~] |
Frank Barknecht _ ______footils.org__
[catch~ $0-signal] | | [r $0-volume] . | . [pack 0 10] . | . [line~] | / [*~] |
which is about the same as the volctl~ external i wrote ... i know, it can be done with internals, but volctl~ is using sse instructions and only produces a line~, if necessary ... means much faster ... anyway gcc/x86 only (only tested on linux)
cheers ... tim
I have started writing some pan objects in Pd that use [line~], so that
they are easy to use. They are currently in CVS:
http://cvs.sourceforge.net/viewcvs.py/pure-data/externals/hcs/pan/
.hc
On Jan 6, 2005, at 7:12 AM, pun chik wrote:
hi, i have a question, i was trying to do a simple panning patch but i get nasty clicks, do anybody have any tip about avoiding- fixing
this???thanxx
punchik
#N canvas 0 33 1006 682 10; #X obj 82 575 dac~; #X msg 750 38 ; pd dsp 0; #X msg 846 37 ; pd dsp 1; #X obj 80 364 osc~; #X floatatom 80 304 5 0 0 0 - - -; #X obj 282 329 hsl 128 15 1 0 0 8.38861e+006 empty empty empty -2 -6 0 8 -262144 -1 -1 12700 1; #X obj 81 421 *~ 0.4; #X floatatom 279 493 5 0 0 0 - - -; #X obj 81 492 *~ 4.4; #X obj 180 494 *~ 4.4; #X floatatom 311 374 5 0 0 0 - - -; #X obj 279 399 expr 1-$f1; #X obj 279 242 line; #X floatatom 279 292 5 0 0 0 - - -; #X obj 279 114 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 375 245 line; #X obj 375 164 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 279 190 0 , 1 500; #X msg 375 192 1 , 0 500; #X obj 278 32 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X obj 375 129 delay 500; #X obj 279 73 metro 1000; #X connect 3 0 6 0; #X connect 4 0 3 0; #X connect 5 0 10 0; #X connect 5 0 11 0; #X connect 5 0 8 1; #X connect 6 0 8 0; #X connect 6 0 9 0; #X connect 8 0 0 0; #X connect 9 0 0 1; #X connect 11 0 7 0; #X connect 11 0 9 1; #X connect 12 0 13 0; #X connect 13 0 5 0; #X connect 14 0 17 0; #X connect 14 0 20 0; #X connect 15 0 13 0; #X connect 16 0 18 0; #X connect 17 0 12 0; #X connect 18 0 15 0; #X connect 19 0 21 0; #X connect 20 0 16 0;
#X connect 21 0 14 0;
pun chik punchik@fastmail.fm
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://iem.at/cgi-bin/mailman/listinfo/pd-list
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an
idea, which an individual may exclusively possess as long as he keeps
it to himself; but the moment it is divulged, it forces itself into the
possession of everyone, and the receiver cannot dispossess himself of
it."
- Thomas Jefferson