pd-dev@iem.at

2008-04-19 Thread Greg Surges
er to return an error: "undefined reference to 's_list'" But if I change the &s_list to '0' it seems to work... It seems strange to me that the linker can find the rest of the PD libraries, but not the s_list struct. Has anyone run into anything similar? Than

Re: [PD-dev] Calling a method periodically

2008-03-22 Thread Greg Surges
at, it's still morning here ;) > > .hc > > On Mar 21, 2008, at 11:24 PM, Greg Surges wrote: > > Thanks all, > > I'm still stuck. Is there a way to interleave calls to clock_delay()? > > I'll explain what I mean: > > I'm coding (trying to, anyway)

Re: [PD-dev] Calling a method periodically

2008-03-21 Thread Greg Surges
ity has been really friendly and helpful as I start out learning. -Greg Surges http://www.uwm.edu/~gssurges/ ___ PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev

Re: [PD-dev] Calling a method periodically

2008-03-17 Thread Greg Surges
e Heiland-Allen < [EMAIL PROTECTED]> wrote: > Greg Surges wrote: > > Hi all, > > > > Is there any way to have an external call a method periodically, without > > being triggered? > > Clocks. Check the C API in "m_pd.h".. > > > I'm think

[PD-dev] Calling a method periodically

2008-03-17 Thread Greg Surges
Hi all, Is there any way to have an external call a method periodically, without being triggered? I'm thinking of a histogram with a decay function, where the values are decremented every second (or other time value). Thanks! -Greg -- http://www.uwm.edu/~gssurges/ _

Re: [PD-dev] using rand() in an external

2008-03-16 Thread Greg Surges
emory hasn't been allocated properly. I'd > check x->current and x->step. Hooking up to gdb will give you a lot more > info. Search puredata.info for 'gdb' for a little howto. > > .hc > > On Mar 16, 2008, at 7:42 PM, Greg Surges wrote: > > Hi all, >

[PD-dev] using rand() in an external

2008-03-16 Thread Greg Surges
Hi all, The following code crashes Pd when the randomwalk object receives a bang... I'm stuck as to why, can anyone see a reason? void randomwalk_bang(t_randomwalk *x) { t_float randval = rand() % 2; if(randval == 0) randval = -1; if(randval == 1) randval = 1; x->current += (x->ste