-
bystrano
Is there a way to monitor the cpu and memory usage locally? Some object that would allow to see the resource usage of a specific subpatch? How do you know which objects are most resource consuming?
I would like to benchmark my patches and see what subpatches or abstractions are critical, so that I can concentrate on optimizing what's really worth it.
I know that I can get an idea of an object's or abstraction's resource usage by creating a patch including only this object, or multiple instances of it. But since the cpu and memory needs depend on what's sent to the object, it would be much more useful to monitor them directly inside any patch.
-
bystrano
Hello!
I'm not really new to pd since I use it now and then since a year now, but I'm still on the learning curve (is there an end to what you can learn with pd?!). As my patches get bigger and more complex, I would like to optimize ressource usage.
I hear that a lot of you experienced patchers use pd-vanilla instead of extended, and I was wondering why. Is it more ressource economic? I understand the more libraries and externals you load, the longer it takes to start pd, and the more memory it will use, but is there any difference between vanilla and extended if the same libraries are loaded? I mean besides gui stuff...
Apart from that, is there an advantage to compile the externals by yourself? Will they be more CPU/memory efficient? Or is it to get the latest version? I have the same question about Pd itself, is there any reason to compile it yourself? -
bystrano
Here is an abstraction I made for doing this. I made an example patch to explain how to use it.
I'm not quite sure it really what you want though, they are several ways to prevent controller value jumps..hope it helps!
-
bystrano
Have a look at the audio examples in the help browser. You'll find a shepard tone generator (D9.shepard.tone.pd).
-
bystrano
I have never heard of an external or patch that could receive or send midi sync signal.
Maybe you can try to set Live's tempo via midi notes or cc message. Connect pd's midi out to ableton via IAC (osx) or midi yoke (win) and map a cc controller to the tempo or a note to the tap tempo in Live. For Live -> pd communication you could simply use a dummy clip as a metronome.
I don't know if any of this will work as I didn't try it. These are just some ideas..
It would be nice to have a way to sync pd with any DAW. I think it would require a external that understands MTC and MMC messages, but I have not enough programming skills / time to learn to write one..hope it helps.
-
bystrano
Sorry again.. Looks like I can't attach the file. Anyway here is a link : http://www.sendspace.com/file/sxqnth
-
bystrano
Thank you for your advices! These are some good habits I will try to make.
So the choice between vanilla and extended is only a question of personal preference? I know that pd runs two processes, one for the pd engine and another for the gui. Is the engine process the same in vanilla and in extended?
-
bystrano
Works for me too now, must have been a temporary problem, thank you!
-
bystrano
@slvmchn said:
but in all seriousness, try this link, i think it'll help:
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.8.8931&rep=rep1&type=pdfYour link dosen't work for me
Could you re-post one?
thanks
-
bystrano
First of all, thank you for all these great patches!
I think there's something I'm missing, though. I can't use the master metronome for looping in the main patch 00_pdLive.pd. I get "error: inlet: expected 'float' but got 'bang'" 8 times every metronome bang. The problem comes from the amrfloat subpatches in the LoopGenerators : their second inlet is connected to the metronome output, which sends bangs, but inside the amrfoat subpatches, the second inlet is connected to the right inlet of a float object. I understand why pd is sending this error, but I don't know how to get the thing working. Can you help me? I'm using pd-exended 0.41.4 on macosx.
-
bystrano
@Hopperklopper said:
What I need for that is an array which doesn't record five seconds at once, but constantly records and erases it's content. I tried several things but none really worked. But I think I have a clue what to do but not how to write that in PD.
I think you should use [delwrite~]. Connect your input audio signal to a [delwrite~ my_delay_line 5000]. Then use [vd~ my_delay_line x] to get the signal delayed by x milliseconds.