That's a bug fix :)
To get the buggy (have-to-multiply-by-the-upsampling-multiple) behavior back, send a message "; pd compatibility 0.43"
I need to make this very clear in the documnetation; and I now think the compatiibillity level should have been set to "0.44" instead - I'll fix that.
cheers Miller
On Mon, Aug 19, 2013 at 12:13:35PM +0200, martin brinkmann wrote:
On 08/19/2013 08:11 AM, Miller Puckette wrote:
Hi all -
I've now put out test 2
there seems to be a new behaviour concerning tabread4~ and upsampling: (compared to 044, i have not checked the 1st 045 version)
in 044 the frequency of the phasor reading the table had to be multiplied by the upsampling factor, to get the right output frequency. in 045 the output frequency of such oscillators much higher. this seems to happen only with tabread(4)~, the example in 'j07 oversampling' works as expected, but many of my bass-synth-patches sound a little squeaky now. ;)
i have attached an example with tabread4~.
#N canvas 130 266 876 628 10; #X obj 562 67 until; #X obj 562 95 f; #X obj 593 97 + 1; #X obj 557 154 t f f; #X obj 564 13 loadbang; #X obj 594 118 mod 515; #X msg 564 40 515; #X obj 529 633 table $0triwave 515; #X obj 419 268 mod 512; #X obj 474 545 tabwrite $0triwave; #X obj 513 354 * 2; #X obj 510 380 - 1; #X obj 433 406 *; #X obj 420 295 t f f; #X obj 431 432 / 512; #X obj 507 331 < 256; #X obj 455 458 -; #X obj 474 483 * 4; #X obj 473 516 + 3; #X obj 445 222 + 128; #X text 475 16 make tri wave; #X obj 78 462 dac~; #X obj 57 418 *~; #N canvas 316 285 1183 715 triosctest 0; #X obj 31 100 phasor~; #X obj 41 74 inlet~; #X obj 45 434 outlet~; #X text 88 75 freq; #X obj 49 183 tabread4~ $0triwave; #X obj 50 329 *~ 0.125; #X obj 50 352 rzero~ -1; #X obj 50 375 rzero~ -1; #X obj 50 398 rzero~ -1; #X obj 49 203 *~ 0.2368; #X obj 50 249 *~ 0.06261; #X obj 49 226 rpole~ 0.76319; #X obj 49 272 cpole~ 0.85223 0.20194; #X obj 48 300 cpole~ 0.85223 -0.2019; #X text 150 347 filter from pd doc j07.oversampling (modified for 8 times oversampling); #X obj 50 148 *~ 512; #X obj 166 83 block~ 64 1 8; #X text 95 433 filtered tabread; #X connect 0 0 15 0; #X connect 1 0 0 0; #X connect 4 0 9 0; #X connect 5 0 6 0; #X connect 6 0 7 0; #X connect 7 0 8 0; #X connect 8 0 2 0; #X connect 9 0 11 0; #X connect 10 0 12 0; #X connect 11 0 10 0; #X connect 12 0 13 0; #X connect 12 1 13 1; #X connect 13 0 5 0; #X connect 15 0 4 0; #X restore 5 261 pd triosctest; #X obj 101 369 hsl 128 15 0 1 0 1 empty empty empty -2 -8 0 10 -262144 -1 -1 1400 1; #X obj -8 155 nbx 5 14 -1e+37 1e+37 0 1 empty empty empty 0 -8 0 10 -262144 -1 -1 100 256; #X text 101 348 tabread osc; #X obj -5 209 * 8; #X text 45 180 in 44.1 this ensures the correct frequency with 8 times oversampling. in 045.test2 the frequency is much higher; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 1 0 3 0; #X connect 2 0 5 0; #X connect 3 0 19 0; #X connect 3 1 9 1; #X connect 4 0 6 0; #X connect 5 0 1 1; #X connect 6 0 0 0; #X connect 8 0 13 0; #X connect 10 0 11 0; #X connect 11 0 12 1; #X connect 12 0 14 0; #X connect 13 0 12 0; #X connect 13 1 15 0; #X connect 14 0 16 0; #X connect 15 0 10 0; #X connect 15 0 16 1; #X connect 16 0 17 0; #X connect 17 0 18 0; #X connect 18 0 9 0; #X connect 19 0 8 0; #X connect 22 0 21 0; #X connect 22 0 21 1; #X connect 23 0 22 0; #X connect 24 0 22 1; #X connect 25 0 27 0; #X connect 27 0 23 0;
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list