[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Free and G Verb CPU?



Removing libsndfile did the trick, thanks!

The README OS X file says to run ./package.sh after ./clean-compile, but there is no ./package.sh in this file. Is this now obsolete? Completely unimportant, but the README also says that the build will be in a folder named SuperCollider, but the folder is named "build," but perhaps the missing package.sh would have changed this?

Thanks again,
sw

On Sat, Mar 7, 2009 at 10:50 PM, Josh Parmenter <josh@xxxxxxxxxxxxxxxxx> wrote:
Yes - do all three. This is important for all three parts of the project, and will make your CPU usage go down quite a bit. And if you have installed libsndfile (which is the problem you are reporting), I suggest uninstalling it momentarily, doing you SC build, then re-installing it when you need that version again.

Josh


On Mar 7, 2009, at 7:02 PM, Scott Worthington wrote:

I think this may have been set to development. If I just rebuild the Synth project with this changed will that work, or should I delete and rebuild the entire project?

./clean-compile.sh has never worked on my machine. I posted about this a while ago on the list. The same error will come up as then. http://www.nabble.com/Undefined-symbols---build-failed-td15526483.html#a15530306

I'm on a 1.67 GHz PPC Powerbook G4. 1.5GB of RAM

Thanks,
sw

On Sat, Mar 7, 2009 at 9:46 PM, Josh Parmenter <josh@xxxxxxxxxxxxxxxxx> wrote:
You only need to do svn update once you have checked out the project.

Open your Synth XCode project. There is a Active build configuration style drop down menu (probably near the top of the project file). Make sure this is set to Deployment (for all your project actually).

OR - I believe if you build with the clean-compile.sh build script, it should do this for you.

Give that a try and see if the problem goes away. Otherwise, what is your system? PPC? Intel? How fast?

Best,

Josh

On Mar 7, 2009, at 6:38 PM, Scott Worthington wrote:

1) This is not as extreme, but still produces the same discrepancy. On the new build, this will settle on about 20% CPU, on the older build about 5%. With more complex code, or as soon as other audio starts getting calculated, this is exacerbated.

(
SynthDef(\verb, {

    |out=0|

    var source = In.ar(out, 1);

    ReplaceOut.ar(out, FreeVerb.ar(source, 0.5, 0.5, 0.5))
   
    }
   
).send(s);
)

(
Synth(\verb, [\out, 0]);
Synth(\verb, [\out, 1]);
Synth(\verb, [\out, 2]);
Synth(\verb, [\out, 3]);
)



2) I'm a newbie to svn updating, and perhaps this is the problem. I'm on OS 10.4 so I used the Xcode projects to build I'm not sure if this is Deployment or Developer. Since then when running svn update I haven't rebuilt the xcode -- all that I saw download were .sc and .html files so I didn't think I would need to rebuild. Is that not the case? While were at this.. should I use the check out option of the update option of svn?

Thanks again!
sw



On Sat, Mar 7, 2009 at 5:57 PM, Josh Parmenter <josh@xxxxxxxxxxxxxxxxx> wrote:
1) Can you post your problem code?
2) If you built it yourself - can you make sure you built with Deployment mode (not Development)?

Thanks,

Josh

On Mar 7, 2009, at 12:55 PM, Scott Worthington wrote:

I'm experiencing strange CPU things with a recent svn build (8893): both Gverb and FreeVerb take the CPU up to 80-220% and/or kill the server posting Result=0. The same code works swimmingly on an older build I think Josh posted to realizedsound (7885) with the CPU peaking at about 35-40%.

Anyone else having this problem?

sw


******************************************
/* Joshua D. Parmenter

“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
*/



******************************************
/* Joshua D. Parmenter

“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
*/




--
Scott Worthington
stwbass@xxxxxxxxx
www.scottworthington.com

******************************************

/* Joshua D. Parmenter

http://www.realizedsound.net/josh/


“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono

*/




--
Scott Worthington
stwbass@xxxxxxxxx
www.scottworthington.com