Re: [PD] counter + list of objects

2008-01-11 Thread IOhannes m zmoelnig
Mathieu Bouchard wrote: On Thu, 10 Jan 2008, IOhannes m zmoelnig wrote: if it does, than afaik the _only_ language that has a counter built-in is max/msp. 10 FOR X=1 TO 100 20 PRINT WHAT ABOUT BASIC? 30 NEXT X this is not a built-in counter, this is how you would write a simple counter

Re: [PD] poor performance when saving an abstraction when many copies are loaded in a patch

2008-01-11 Thread IOhannes m zmoelnig
Chris McCormick wrote: Here are some other reasons why you might not want to use Pd to develop a large scale application (and why I won't call Pd a 'programming language'): * No hash/map/table type, or array type that holds anything except floats. data structures? * No strings. you mean,

Re: [PD] poor performance when saving an abstraction when many copies are loaded in a patch

2008-01-11 Thread matteo sisti sette
Would you ever say to someone writing an application in C++: Think about converting some of your functions to macros??? That is just not an option. hmm, since when are macros bad? especially in C (not so much in C++) i could imagine situations where i would tell somebody to convert some of

[PD] how to build externals in xcode?

2008-01-11 Thread Andreas Jäger
Hi everybody, I'm trying to build externals (for Mac OS X) in Xcode. Since I couldn't find much information on how to do that, it's basically just trial and - most of all - error. For the start, I tried to build the helloworld-Example from the external-tutorial. There are two main

Re: [PD] poor performance when saving an abstraction when many copies are loaded in a patch

2008-01-11 Thread IOhannes m zmoelnig
hi again. Chris McCormick wrote: * No strings. you mean, like C? In C I can dynamically allocate an array of chars terminated by a \0 *with spaces* as easily as: char *mystring = pants pants pants.; as you have shown, there is no string type in C. you (ab)use arrays of bytes (chars)

Re: [PD] cooled_ for video

2008-01-11 Thread Derek Holzer
Some suggestions can be found in the Make a grid for choosing videos. How thread in the archives. May involve installing Gridflow... best, d. [EMAIL PROTECTED] wrote: yes, i was kind of thinking of that, but i was hoping for perhaps something like videogrid or someting to visually see the

Re: [PD] cooled_ for video

2008-01-11 Thread bigswift
yes, i was kind of thinking of that, but i was hoping for perhaps something like videogrid or someting to visually see the frames whilst scratching. i will tweak with frame numbers to see what i can come up with pp Derek Holzer [EMAIL PROTECTED] wrote: Don't the PDP video objects

Re: [PD] how to build externals in xcode?

2008-01-11 Thread Thomas Grill
Hi Andreas, you can have a look at the xcode projects of my externals in the pd cvs (e.g. externals/grill/xsample). The externals are flext-based but the settings should be quite the same. gr~~~ Am 11.01.2008 um 11:57 schrieb Andreas Jäger: Hi everybody, I'm trying to build externals (for

[PD] about fiddle~

2008-01-11 Thread matteo sisti sette
Hi, Is there a place where one can find detailed documentation about how fiddle~ behaves? For example, a less cryptic explanation of the meaning of the vibrato parameters than is found in the help patch? And of how it decides when to output a new cooked picth value? I already checked

Re: [PD] about fiddle~

2008-01-11 Thread Jamie Bullock
Hi, On Fri, 2008-01-11 at 13:57 +0100, matteo sisti sette wrote: Another question about fiddle. I'd like to be able to distinguish between a signal with a pitch and a signal without a picth. It seems to me that fiddle always outputs its best guess no matter how reliable it is. Actually

Re: [PD] poor performance when saving an abstraction when many copies are loaded in a patch

2008-01-11 Thread Mathieu Bouchard
On Fri, 11 Jan 2008, Damian Stewart wrote: and why would i want that? That's where I use macros instead. Nowadays, I even pass macros as arguments to macros. omg. bags not maintaining /your/ code ;-P go on, flame to the wall... _ _ __ ___ _ _ _

[PD] Structured dataflow?

2008-01-11 Thread Dudley Brooks
Can anyone direct me to articles on constructing clear, modular, non-spaghetti patches in pd or other visual dataflow languages? Especially if the articles derive their recommendations from theoretical analysis (as with the investigations that led to structured programming in imperative

Re: [PD] poor performance when saving an abstraction when many copies are loaded in a patch

2008-01-11 Thread Damian Stewart
teh offtopic! it veers! Mathieu Bouchard wrote: The only kind of reason you'd use macros, is because C++ doesn't handle function calls well. Oh, most of the time it does; but it refuses to consider data types as being values. and why would i want that? That's where I use macros instead.

Re: [PD] about fiddle~

2008-01-11 Thread Matteo Sisti Sette
Another question about fiddle. I'd like to be able to distinguish between a signal with a pitch and a signal without a picth. It seems to me that fiddle always outputs its best guess no matter how reliable it is. Actually that's not quite true. fiddle~ doesn't output anything at all from its

Re: [PD] about fiddle~

2008-01-11 Thread Miller Puckette
HI all, I don't know any canonical way to decide when a note is finished, except to notice that a new note has started. But it's probably possible to use the discrete output of fiddle~ to catch note-on events and then make up criteria that define endings of notes based on either pitch deviation

Re: [PD] poor performance when saving an abstraction when many copies are loaded in a patch

2008-01-11 Thread Mathieu Bouchard
On Fri, 11 Jan 2008, matteo sisti sette wrote: You can convert just SOME of your functions to macros - I'm no C++ expert but I guess you can do that with very small functions. You'll do it in a few special cases to optimize very critical portions of code, you can't adopt it as a general

Re: [PD] counter + list of objects

2008-01-11 Thread marius schebella
did I say something wrong? there are several counter objects. but none built into Pd. and yes, I was refering to the max counter-objectclass, because that is how the thread started. the max version can count up and down (and also updown), has optional startig and end position and can be reset,

Re: [PD] poor performance when saving an abstraction when many copies are loaded in a patch

2008-01-11 Thread Mathieu Bouchard
On Fri, 11 Jan 2008, IOhannes m zmoelnig wrote: and i would be interested to hear ideas on how to get OOP into a patcher-like languages. Are you? then search the archives. _ _ __ ___ _ _ _ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC

Re: [PD] about fiddle~

2008-01-11 Thread Jamie Bullock
On Fri, 2008-01-11 at 18:30 +0100, Matteo Sisti Sette wrote: With the default fiddle~ settings, it seems to output 0 about 15% of the time, which seems quite a lot to me. With pure noise as an input? Quite a lot? IF it is supposed to output 0 when it can't find a pitch, I would

Re: [PD] text based pd patching

2008-01-11 Thread marius schebella
very nice, indeed. do you see any possibility to run this the other way round, so that we can have patch output in graphical ascir format? useful for examples in pdfs, web-browsers. would make patches searchable and other stuff. marius. alex wrote: Hi pders Here's a way of PD patching in

Re: [PD] poor performance when saving an abstraction when many copies are loaded in a patch

2008-01-11 Thread Mathieu Bouchard
On Thu, 10 Jan 2008, Thomas Grill wrote: this is because PD maintains it's internal structures using linked lists which gives a very bad behavior with many structure items. I don't think that the use of linked lists so far has caused any significant problem. The problem lies more in things

Re: [PD] counter + list of objects

2008-01-11 Thread Roman Haefeli
On Fri, 2008-01-11 at 16:52 -0500, marius schebella wrote: did I say something wrong? there are several counter objects. but none built into Pd. and yes, I was refering to the max counter-objectclass, because that is how the thread started. the max version can count up and down (and also

Re: [PD] counter + list of objects

2008-01-11 Thread Mathieu Bouchard
On Fri, 11 Jan 2008, IOhannes m zmoelnig wrote: 10 FOR X=1 TO 100 20 PRINT WHAT ABOUT BASIC? 30 NEXT X this is not a built-in counter, this is how you would write a simple counter in basic. Frankly, I don't understand the difference. I mean FOR/NEXT, I don't mean the exact code I wrote

Re: [PD] estimating cpu usage

2008-01-11 Thread marius schebella
have a look at the [dsp] object/abstraction. it uses [cputime]. you should be able to feed this directly back to your patch. for example, if dsp reaches a certain percentage, then turn off some subpatches or reduce the refresh rate of your vu meters... marius. matteo sisti sette wrote: Hi,

Re: [PD] poor performance when saving an abstraction when many copies are loaded in a patch

2008-01-11 Thread zmoelnig
Quoting Mathieu Bouchard [EMAIL PROTECTED]: On Fri, 11 Jan 2008, IOhannes m zmoelnig wrote: the only thing i can find is you demanding parent and child objectclasses sharing the same $0. no, i asked that objects share the same $0. objectclasses themselves don't have a $0. indeed, my

Re: [PD] counter + list of objects

2008-01-11 Thread zmoelnig
Quoting Mathieu Bouchard [EMAIL PROTECTED]: On Fri, 11 Jan 2008, IOhannes m zmoelnig wrote: 10 FOR X=1 TO 100 20 PRINT WHAT ABOUT BASIC? 30 NEXT X this is not a built-in counter, this is how you would write a simple counter in basic. Frankly, I don't understand the difference. I mean

Re: [PD] counter + list of objects

2008-01-11 Thread zmoelnig
Quoting marius schebella [EMAIL PROTECTED]: did I say something wrong? no there are several counter objects. but none built into Pd. and yes, I was refering to the max counter-objectclass, because that is how the thread started. the max version can count up and down (and also updown), has

Re: [PD] counter + list of objects

2008-01-11 Thread marius schebella
ok, then it was a misunderstanding, I am also not saying that is has to be in the core of pd. (is there an official policy that objectclasses which can be created as abstractions should not be included as c objectclass?...) but now, when I think about this... why is there now pd-featured

[PD] Rainy days

2008-01-11 Thread Andy Farnell
Something new to share for a bit of fun. It's for an exercise in the synthetic sound design book and it's about causality in sound. Some bits are old and maybe you've heard them before on my site, but the final ensemble is fresh. The first part is a wind model. It starts with a global (world)

Re: [PD] gridflow #record

2008-01-11 Thread olsen wolf
unfortunately on a new installation of gridflow i end up with the i don't wanna be famous Pd: signal 4 trying to record. so i'm not getting beyond step1 of romans cue. as soon as i give a message for the framerate pd process exited. i tried this is on an actual cvs version on an uptodate kubuntu

Re: [PD] counter + list of objects

2008-01-11 Thread Roman Haefeli
On Fri, 2008-01-11 at 19:01 -0500, marius schebella wrote: ok, then it was a misunderstanding, I am also not saying that is has to be in the core of pd. (is there an official policy that objectclasses which can be created as abstractions should not be included as c objectclass?...) i don't

Re: [PD] counter + list of objects

2008-01-11 Thread marius schebella
yes, the pdmtl-abs need to get better promoted. they are not widely known outside the pd montreal community. and afaik there is not reason not to include them in pd-extended. they have a fancy patching style, but ok... is pdmtl in a path that is searched by pd by default? marius (yaotm*). *

Re: [PD] Rainy days

2008-01-11 Thread marius schebella
andy, you must have relly good ears and understanding of sound synthesis and/or good tutorials. this is really nice. I got totally infected by the procedural sound creation virus... do you have more stuff like this? marius. Andy Farnell wrote: Something new to share for a bit of fun. It's for

Re: [PD] how to build externals in xcode?

2008-01-11 Thread Hans-Christoph Steiner
Once you figure this out, it would be very handy to have an Xcode+Pd howto up on the site. The developer docs section is a wiki (mostly), so you should be able to create and edit the page: http://puredata.info/docs/developer .hc On Jan 11, 2008, at 8:13 AM, Thomas Grill wrote: Hi

Re: [PD] Wiimote for OS X

2008-01-11 Thread Hans-Christoph Steiner
In any case, thanks for doing this! I hope I can get it working soon, but I can't promise that unfortunately. I spent some time with a someone's wiimote a couple months ago and got close. At least I know where to start looking. .hc On Jan 9, 2008, at 2:22 PM, Phil Stone wrote: Aargh,

Re: [PD] Structured dataflow?

2008-01-11 Thread marius schebella
I am not sure, if there are any scholarly articles about structured programming style guidelines for visual programming languages. I've seen only rules-of-thumb. hey, there is not even a return command (to a main program?). only inlets and outlets. I am not even sure about the analogy of

Re: [PD] Rainy days

2008-01-11 Thread Andy Farnell
On Fri, 11 Jan 2008 19:58:30 -0500 marius schebella [EMAIL PROTECTED] wrote: and/or good tutorials. this is really nice. Thankyou Marius, I work from papers, some of them going back to the 40s and 50s, lots of physics books, textbooks like Dave Benson and Perry Cook, and study other

Re: [PD] Structured dataflow?

2008-01-11 Thread Andy Farnell
I think Marius is right saying there's little formal advice on visual dataflow structuring. Someone did a styleguide with do's and dont's, but I cant find the linkanyone? You could apply most of JSD and general software engineering principles to visual dataflow though. Cohesion: Keep

[PD] Pd weaknesses (Re: poor performance when saving an abstraction when many copies are loaded in a patch)

2008-01-11 Thread Chris McCormick
On Fri, Jan 11, 2008 at 12:28:16PM +0100, IOhannes m zmoelnig wrote: Chris McCormick wrote: * No strings. you mean, like C? In C I can dynamically allocate an array of chars terminated by a \0 *with spaces* as easily as: char *mystring = pants pants pants.; as you have shown, there is

Re: [PD] Structured dataflow?

2008-01-11 Thread vade
There is a great thread on Cycling 74s site concerning OO and dataflow styles, dos and donts. http://www.cycling74.com/forums/index.php?t=msgth=25272start=0rid=0S=6bc17f0fd0e897fcb6a32801e8ab41ed On Jan 11, 2008, at 9:37 PM, Andy Farnell wrote: I think Marius is right saying there's little

Re: [PD] PD Server

2008-01-11 Thread Agent Engram
will output binary data in the form of lists of byte-values. so this may be a misunderstanding. I am writing my own server that intercepts the OCS events, that all works. what I am trying to figure out is if i wanted to send out messages to net client for instance a string that was something like

Re: [PD] PD Server

2008-01-11 Thread Agent Engram
tuio_netclient file attached starting server... addval -1808180500 addval -245369419 addval -386604114 addval 349531305 addval -348985598 addval -1619147716 On Jan 11, 2008 9:19 PM, Agent Engram [EMAIL PROTECTED] wrote: will output binary data in the form of lists of byte-values. so this