Yep, zexy will do the trick. * * zexy - implementation file * * copyleft (c) IOhannes m zmölnig * * 1999:forum::für::umläute:2004 * * institute of electronic music and acoustics (iem)
/* get the n-th prime number */ <- what you need, right? I guess IOhannes m zmölnig could help you more than me on that matter :) Best regards, Pedro p.s.: sorry for the triple-posted message... I'm slow today. On Sat, Sep 11, 2010 at 10:50 PM, Pedro Lopes <[email protected]>wrote: > pe...@arkana:~/Apps/pure-data/externals$ find . -name "*prime*" -type f > -print 2>/dev/null > ./zexy/tests/help-msg/prime.pd > ./zexy/tests/help-msg/.svn/text-base/prime.pd.svn-base > ./zexy/src/prime.c > ./zexy/src/.svn/text-base/prime.c.svn-base > ./zexy/reference/prime-help.pd > ./zexy/reference/.svn/text-base/prime-help.pd.svn-base > ./zexy/reference/.svn/prop-base/prime-help.pd.svn-base > > Seems that there are some prime related stuff (not sure what they do.. have > to look further into them) in pd-externals, maybe one can do the trick. > > On Sat, Sep 11, 2010 at 10:48 PM, Pedro Lopes <[email protected]>wrote: > >> I have no clue if it exists in a pd-object, but its easy to compile and >> external with some generator from the web: >> >> - http://snippets.dzone.com/posts/show/4247 or >> http://snipplr.com/view/1219/c-prime-number-generator/ (do you want it to >> output numbers on bang? all at the same time - I tested that code just >> now... seems fine and can be tuned to how many primes you want.) >> >> other way to go: you could grab them from a file (of stored primes) or >> from an online prime generator =P >> >> >> On Sat, Sep 11, 2010 at 9:33 PM, Kim Cascone <[email protected]>wrote: >> >>> is there a Pd object for generating prime numbers? >>> >>> currently I'm: >>> >>> [1 2 3 5 7 9...97] >>> | >>> | [metro] | >>> | | >>> [list=dripslow] >>> | >>> [foo] >>> >>> _______________________________________________ >>> [email protected] mailing list >>> UNSUBSCRIBE and account-management -> >>> http://lists.puredata.info/listinfo/pd-list >>> >> >> >> >> -- >> Pedro Lopes (ongoing MSc) >> contact: [email protected] >> website: http://web.ist.utl.pt/Pedro.Lopes >> > > > > -- > Pedro Lopes (ongoing MSc) > contact: [email protected] > website: http://web.ist.utl.pt/Pedro.Lopes > -- Pedro Lopes (ongoing MSc) contact: [email protected] website: http://web.ist.utl.pt/Pedro.Lopes
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
