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

Re: [sc-users] include files



a = "~/Documents".standardizePath

a == "~/Documents"

Without it on OS X, all sorts of badness (not the good kind) occurs.

Josh

On Dec 22, 2007, at 1:00 PM, Stephan Wittwer wrote:


Am 22.12.2007 um 21:37 schrieb William Brent:

i have to use it all the time. maybe because i put my sounds folder outside the SC directory.

"~/Documents/SC_sounds/sample.aiff".standardizePath

is the only way for me to access that path successfully.





But, just for tilde expansion it is not necessary:

"~/Documents/*".pathMatch == "~/Documents/*".standardizePath.pathMatch
// is true






On Dec 22, 2007 12:27 PM, Stephan Wittwer <s@xxxxxxxxxx> wrote:

Am 22.12.2007 um 20:42 schrieb Josh Parmenter:

> You probably need to do standardizePath as well:


Hey Josh (and everybody),
can you show me one example where standardizePath makes a difference?
Just curious (I never use it myself).
Thanks,
Stephan


_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users

******************************************
/* 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
*/