Has anyone had luck getting the csoundapi~ object to run with PD on OSX?
I am able to use it as long as none of the opcode libraries are
loaded (which significantly reduces the number of opcodes I have to
work with!). As soon as I try to load a csd file which calls one of
these opcodes, PD crashes, and even worse, my whole system freezes.
I have the opcodedir variable set correctly for using csound from the
terminal, but it seems aqua apps do not read .profile, only shells
do. So, I've tried the following:
built as an app? It doesn't inherit the shell env variables
2) add opcodedir to ~/.MacOSX/environment.plist -- this sets
environment variables for aqua apps run from my own user account.
I've tested this by adding a test variable and confirming it from a
shell. It works, so the apps should be able to access the variables,
but this still doesn't work
3) as a last long-shot resort, I added my opcodedir to my list of PD
paths. No go.
I think the reason that it fails is that the PD process called by my
user is just a front for other processes run as root. Since root is
not me, it probably doesn't inherit my env variables. I assume the
root processes are MacOSX's method of enabling PD's -rt?
I can think of two undesirable solutions, neither of which I've
tried: enable the root account and run everything as root (which I
loath to do), or disable the real-time features of PD.
Has anyone found a better solution? Sorry for the cross-post, but I
thought csound users would be more likely to have experimented with
this and PD users would be more likely to have a good solution : ).
Julian
i can confirm TOTAL MACHINE FREEZE
On Jul 8, 2005, at 2:04 PM, Julian Peterson wrote:
Has anyone had luck getting the csoundapi~ object to run with PD on OSX?
I am able to use it as long as none of the opcode libraries are loaded (which significantly reduces the number of opcodes I have to work with!). As soon as I try to load a csd file which calls one of these opcodes, PD crashes, and even worse, my whole system freezes.
I have the opcodedir variable set correctly for using csound from the terminal, but it seems aqua apps do not read .profile, only shells do. So, I've tried the following:
- execute PD from the shell -- this doesn't seem to work since it's
built as an app? It doesn't inherit the shell env variables 2) add opcodedir to ~/.MacOSX/environment.plist -- this sets environment variables for aqua apps run from my own user account.
I've tested this by adding a test variable and confirming it from a shell. It works, so the apps should be able to access the variables, but this still doesn't work 3) as a last long-shot resort, I added my opcodedir to my list of PD paths. No go.I think the reason that it fails is that the PD process called by my user is just a front for other processes run as root. Since root is not me, it probably doesn't inherit my env variables. I assume the root processes are MacOSX's method of enabling PD's -rt?
I can think of two undesirable solutions, neither of which I've tried: enable the root account and run everything as root (which I loath to do), or disable the real-time features of PD.
Has anyone found a better solution? Sorry for the cross-post, but I thought csound users would be more likely to have experimented with this and PD users would be more likely to have a good solution : ).
Julian
Send bugs reports to this list. To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
Patrick Pagano, B.S., M.F.A Digital Media Specialist University of Floirda Digital Worlds Institute 352-294-2082
I can think of two undesirable solutions, neither of which I've
tried: enable the root account and run everything as root (which I
loath to do), or disable the real-time features of PD.
I just tested my two undesirable solutions and neither worked.
Running from root still causes a horrible system crash. Running PD
non-rt gave me the same error with csoundapi~ (but at least when it
caused pd to crash it didn't take my whole system down with it!).
I don't know if this will help, but here's what I get when I try to
load a csd file that employs fof...
Error: utility 'srconv' not found
Error in pre-initialisation function of module 'libsrconv.dylib'
Error: utility 'sndinfo' not found
Error in pre-initialisation function of module 'libsndinfo.dylib'
Error: utility 'scale' not found
Error in pre-initialisation function of module 'libscale.dylib'
Csound tidy up: Bus error
Jul 8 15:11:50 crashdump[451]: pd crashed
Jul 8 15:11:54 crashdump[451]: crash report written to: ~/Library/
Logs/CrashReporter/pd.crash.log
I've successfully run csd files that use oscil, buzz, f-tables,
linseg, expseg, among others. I think these are 'built-in'?
Julian
I'm not sure if this issue has been resolved but if you email victor.lazzarini@nuim.ie I'm sure he will help you out once he gets a chance.
Rory.
--- Julian Peterson julianpeterson@mac.com wrote:
I can think of two undesirable solutions, neither
of which I've
tried: enable the root account and run everything
as root (which I
loath to do), or disable the real-time features of
PD.
I just tested my two undesirable solutions and neither worked.
Running from root still causes a horrible system crash. Running PD
non-rt gave me the same error with csoundapi~ (but at least when it
caused pd to crash it didn't take my whole system down with it!).I don't know if this will help, but here's what I get when I try to
load a csd file that employs fof... Error: utility 'srconv' not found Error in pre-initialisation function of module 'libsrconv.dylib' Error: utility 'sndinfo' not found Error in pre-initialisation function of module 'libsndinfo.dylib' Error: utility 'scale' not found Error in pre-initialisation function of module 'libscale.dylib' Csound tidy up: Bus error Jul 8 15:11:50 crashdump[451]: pd crashed Jul 8 15:11:54 crashdump[451]: crash report written to: ~/Library/ Logs/CrashReporter/pd.crash.logI've successfully run csd files that use oscil, buzz, f-tables,
linseg, expseg, among others. I think these are 'built-in'?Julian
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com