To micheal edwards,
just like others maths related problems in Pd I've used hard maths formula ,first writing in psuedo code. Once understanding the maths method for getting the nth of a sequence then u write this process in pd in exactly the same order of procedure
Look at this patch for converting a point x-y to frequency i know it doesn't get the nth number the way u want but it might give u ideas
U may have tried these methods already
Cormac McCann
#N canvas 0 0 785 509 10; #X floatatom 201 331 0 0 0; #X obj 201 355 - 1; #X floatatom 200 378 0 0 0; #X obj 320 292 log; #X obj 302 369 exp; #X floatatom 302 393 0 0 0; #X msg 320 267 2; #X obj 202 195 / 0.3; #X obj 133 316 log; #X msg 132 291 2; #X obj 166 398 *; #X obj 206 421 exp; #X obj 286 223 mod; #X msg 356 154 0.3; #X obj 356 180 * 10; #X obj 284 191 * 10; #X floatatom 287 248 0 0 0; #X obj 301 318 *; #X obj 290 285 / 3; #X floatatom 285 488 0 0 0; #X floatatom 302 342 0 0 0; #X obj 285 465 *; #X floatatom 139 467 0 0 0; #X obj 205 136 + 1.5; #X floatatom 207 507 0 0 0; #X obj 206 468 * 50; #X obj 409 378 spigot; #X obj 398 275 == 0; #X obj 391 308 select 1; #X msg 364 335 1; #X floatatom 94 214 0 0 0; #X msg 409 353 1; #X obj 206 443 t f; #X obj 38 62 trigger bang bang; #X msg 43 28 bang; #X text 463 285 bang is stronger than spigot; #X text 154 238 convert; #X text 362 392 wow the exponential of 0 is 1 so noneed for gates!!; #X text 25 230 frequency division; #X obj 285 511 outlet; #X text 337 453 freq -C(i); #X text 333 487 write file; #X obj 316 35 inlet; #X text 76 28 to test; #X text 0 57 C (i); #X text 247 130 i = -0.15 equals zero freq; #X text 356 20 C(i); #X text 355 33 from calculator; #X obj 319 242 loadbang; #X text 345 71 be careful loadbang the cold taps; #X obj 175 98 t b f; #X obj 204 159 float; #X obj 205 237 t b i; #X floatatom 325 219 4 0 0; #X floatatom 389 225 4 0 0; #X obj 288 156 t b f; #X msg 45 92 1.6; #X floatatom 116 366 0 0 0; #X text 230 329 N; #X text 235 376 N-1; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 10 1; #X connect 3 0 17 1; #X connect 4 0 5 0; #X connect 5 0 26 1; #X connect 5 0 21 1; #X connect 6 0 3 0; #X connect 7 0 30 0; #X connect 7 0 52 0; #X connect 8 0 10 0; #X connect 8 0 57 0; #X connect 9 0 8 0; #X connect 10 0 11 0; #X connect 11 0 22 0; #X connect 11 0 32 0; #X connect 12 0 16 0; #X connect 13 0 14 0; #X connect 14 0 12 1; #X connect 14 0 54 0; #X connect 15 0 12 0; #X connect 15 0 53 0; #X connect 16 0 18 0; #X connect 16 0 27 0; #X connect 17 0 20 0; #X connect 18 0 17 0; #X connect 19 0 39 0; #X connect 20 0 4 0; #X connect 21 0 19 0; #X connect 23 0 51 0; #X connect 23 0 55 0; #X connect 25 0 24 0; #X connect 25 0 21 0; #X connect 27 0 28 0; #X connect 28 0 29 0; #X connect 28 1 31 0; #X connect 31 0 26 0; #X connect 32 0 25 0; #X connect 33 0 56 0; #X connect 33 1 56 0; #X connect 34 0 33 0; #X connect 42 0 50 0; #X connect 48 0 6 0; #X connect 50 0 9 0; #X connect 50 1 23 0; #X connect 51 0 7 0; #X connect 52 0 0 0; #X connect 52 1 0 0; #X connect 55 0 13 0; #X connect 55 1 15 0; #X connect 56 0 23 0;
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp