Re: [PD] speedlimit of data in Pd - until in reverse order

2012-06-29 Thread João Pais

Hi,

thanks for your replies, I wasn't aware of the function of [until]'s right  
inlet. It does work much faster that way.




This is a kind of general problem: What is the speedlimit of data in
Pd?
How many operations can be done until a stack overflow occurs?


There is a place where the limit is hardcoded-- that's what gives the  
buffer
overflow error.  It protects against infinite recursive loops in some  
cases but
not in others, as well as being a nuisance when you need to have a  
recursive
loop more than 1,000 levels deep.  I think matju precisely explained how  
it

works on the list somewhere (definitely more precisely than I can).


ok, I'll look for that

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] speedlimit of data in Pd

2012-06-29 Thread João Pais

thanks, that and other's [until] suggestion answers most of the questions.

you get a stack overflow if you have about 400 (iirc) objects in a  
row.

whenever an objects sends something to its outlets, the stack is saved
and not restored until everything below it has executed.

there has been some talk about making the maximum stack depth settable
as a cmdline arg, but i guess nobody every implemented that. (usually
you want a maximum stack depth, as it allows you to survive a recursive
patch without exit condition)




This is a kind of general problem: What is the speedlimit of data in  
Pd?


what do you mean by speedlimit.


How many operations can be done until a stack overflow occurs? That also


i don't get how speedlimit and stack overflow go together in this
context.

the problem is more: since Pd-messages are executed as fast as possible,
you need to use the stack. or put the other way round: if you can live
with breaking linearity (by splitting a message chain using  [delay 0]),
then the stack will not overflow.


happens when I try to automatically load the contents of a not-so-big
[textfile] into an array with a click - unless I add a [del 1] to the
loop. If the operation isn't in realtime, the problem can be  
circumvented,

but anyway the issue is there.


depends on how you do the loading.
avoid recursion, use iteration. (read: use [until] rather than feedback)



How is it possible to increase the control rate in Pd? I tried  
changing


buy a faster CPU.

the control rate in Pd is only limited by the CPU.
if (and only if) you have enough idle time to do some DSP-processing
inbetween message processing, then your messages will be done in bursts
every 64 samples.


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] FTM for PD

2012-06-29 Thread José Rafael Subía Valdez
Hello list

has anyone compiled FTM for PD in mac OSX 10.6??

or is their a UB for installing, or maybe is their somewhere to find the
compiled library???

thanx

-- 
Lic. José Rafael Subía Valdez

SoundArtist
www.facebook.com/JRafaelSubiaValdez (Public Page)
www.myspace.com/joserafaelsubiavaldez
https://puredata.info/author/rafasubia
www.redce.org
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Data Structures - Scaling Visual Display - (1:10)(2:200)

2012-06-29 Thread JF
I can't remember where I've seen it but you can create a struct like so...

[struct structname float x(1:10)(2:200)]

...such that x displays more tightly or loosely and with boundaries depending 
on the values in the brackets. But I can't figure how to enter the values 
properly!


My question is, how do you set the values in the brackets? What do they refer 
to?!

Is there any documentation available on this?

Thanks,
John.

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Data Structures - Scaling Visual Display - (1:10)(2:200)

2012-06-29 Thread Miller Puckette
There's a somewhat lame explanation in doc/4.data.structures/09.scaling.pd

-- in brief, 1:10 in the example below says that the value of x is restricted
to the range 1-10, and this range is linearly rescaled to values 2-200 in
the coordinates of the patch.

cheers
Miller

On Fri, Jun 29, 2012 at 06:50:21PM -0700, JF wrote:
 I can't remember where I've seen it but you can create a struct like so...
 
 [struct structname float x(1:10)(2:200)]
 
 ...such that x displays more tightly or loosely and with boundaries depending 
 on the values in the brackets. But I can't figure how to enter the values 
 properly!
 
 
 My question is, how do you set the values in the brackets? What do they refer 
 to?!
 
 Is there any documentation available on this?
 
 Thanks,
 John.
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list