IOhannes m zmölnig wrote:
Enrique Erne wrote:
IOhannes m zmölnig wrote:
Enrique Erne wrote:
or [biquad~ 0 0 0 1]
Miller Puckette wrote:
I believe z~ is just rzero~ 0.
no. both of them are equivalent to [z~ 1]
you could also argue that [f] is just the same as [0( :-)
oups, yes ofcorse z~ 1.
the output of 1 sample with rzero~ 0, z~ 1 and biquad~ 0 0 0 1 seems to be slightly different. if one wants to be fuzzy about that :) maybe ome rounding problem?
no, i don't see any rounding errors...
and now i even couldn't do the delwrite/read with the subpatch :( :(
it's generally a good idea to tell [delwrite~] how much space it should allocate for the delayline. e.g. [delwrite~ abcd 1000] helped a lot...
and [rzero~ 0] is not the same as [z~ 1].
the output of [z~ 1] is y[n]=x[n-1] according to [rzero~]s help-patch it does the following:
y[n]=x[n]-a[n]*x[n-1] since you set a[n] to "0", you just get y[n]=x[n] :-(
to get [z~ 1], do something like
| +--+ | | | [rzero~ 1] | | [-~] |
thanks iohannes. it looks good now.
#N canvas 366 22 837 595 10; #X obj -139 267 vline~; #N canvas 0 22 450 300 (subpatch) 0; #X array display-biquad 10 float 2; #X coords 0 1 10 -1 100 100 1; #X restore 7 434 graph; #X msg -75 354 bang; #X floatatom -131 100 12 0 0 0 - - -; #X obj -1 342 biquad~ 0 0 0 1; #X obj 175 349 z~ 1; #N canvas 0 22 450 300 (subpatch) 0; #X array display-z 10 float 2; #X coords 0 1 10 -1 100 100 1; #X restore 173 430 graph; #X obj 9 396 tabwrite~ display-biquad; #X obj 174 393 tabwrite~ display-z; #X text 161 111 click here; #X obj 315 393 tabwrite~ display-rzero; #N canvas 0 22 450 300 (subpatch) 0; #X array display-rzero 10 float 2; #X coords 0 1 10 -1 100 100 1; #X restore 317 432 graph; #X msg -10 218 0 , 0.5 0 0.022 , 0 0 0.044; #X msg 165 136 ; pd dsp 1; #X msg -143 29 1000; #X obj -97 148 * 2; #X floatatom -82 169 12 0 0 0 - - -; #X obj -140 171 pack f f; #X obj -142 124 t a a; #X msg -140 217 0 , 0.5 0 $1 , 0 0 $2; #X obj -85 51 samplerate~; #X floatatom -49 78 7 0 0 0 - - -; #X obj -142 52 t a b; #X obj -143 76 / 44100; #X msg 124 112 bang; #X obj -140 195 t a b; #X text -108 29 or here; #N canvas 0 22 450 300 (subpatch) 0; #X array display-org 10 float 2; #X coords 0 1 10 -1 100 100 1; #X restore -142 430 graph; #X obj -144 391 tabwrite~ display-org; #X obj -126 312 dirac~; #N canvas 504 22 450 300 write~ 0; #X obj 39 234 outlet~; #X obj 20 32 inlet~; #X obj 37 97 delwrite~ asdf 10; #X connect 1 0 2 0; #X restore 472 341 pd write~; #N canvas 206 409 450 300 read~ 0; #X obj 17 33 inlet~; #X obj 26 156 outlet~; #X obj 36 125 delread~ asdf; #X floatatom 150 119 12 0 0 0 - - -; #X obj 175 84 samplerate~; #X floatatom 227 115 7 0 0 0 - - -; #X obj 127 63 t a b; #X obj 142 23 loadbang; #X obj 138 95 /; #X msg 134 43 1000; #X connect 2 0 1 0; #X connect 4 0 5 0; #X connect 4 0 8 1; #X connect 6 0 8 0; #X connect 6 1 4 0; #X connect 7 0 9 0; #X connect 8 0 3 0; #X connect 8 0 2 0; #X connect 9 0 6 0; #X restore 472 367 pd read~; #X obj 466 393 tabwrite~ display-del; #N canvas 0 22 450 300 (subpatch) 0; #X array display-del 10 float 2; #X coords 0 1 10 -1 100 100 1; #X restore 454 433 graph; #X text 467 327 i don't know whats wrong here; #X obj 329 339 rzero~ 1; #X obj 315 360 -~; #X connect 0 0 4 0; #X connect 0 0 5 0; #X connect 0 0 28 0; #X connect 0 0 30 0; #X connect 0 0 35 0; #X connect 0 0 36 0; #X connect 2 0 7 0; #X connect 2 0 8 0; #X connect 2 0 10 0; #X connect 2 0 28 0; #X connect 2 0 32 0; #X connect 4 0 7 0; #X connect 5 0 8 0; #X connect 12 0 0 0; #X connect 14 0 22 0; #X connect 15 0 16 0; #X connect 15 0 17 1; #X connect 17 0 25 0; #X connect 18 0 17 0; #X connect 18 1 15 0; #X connect 19 0 0 0; #X connect 20 0 21 0; #X connect 20 0 23 1; #X connect 22 0 23 0; #X connect 22 1 20 0; #X connect 23 0 3 0; #X connect 23 0 18 0; #X connect 24 0 2 0; #X connect 24 0 12 0; #X connect 25 0 19 0; #X connect 25 1 2 0; #X connect 30 0 31 0; #X connect 31 0 32 0; #X connect 35 0 36 1; #X connect 36 0 10 0;