[PlanetCCRMA] Path for sounds in supercollider-world

andersvi at notam02.no andersvi at notam02.no
Fri Jan 29 00:02:39 PST 2010


>>>>> "P" == Peter Kirn <peter at createdigitalmedia.net> writes:

    P> I thought /usr/share/Supercollider was actually where this stuff
    P> lived, but there's nothing there.

    P> So... where should this path be?

It should normally be inside ~/share/SuperCollider/ (ie
~/share/SuperCollider/sounds/mysound.wav) - which it seems youve tested
already.

Try evaluating

  thisProcess.platform.userAppSupportDir

in the client.  It should print the directory where the client starts
looking (ie. where "sounds/*" should be contained):

On my sc3 here it types out:

 /home/(myusername)/share/SuperCollider
 
So, putting a sound in

 /home/(myusername)/share/SuperCollider/sounds/test.wav

makes

 Buffer.read(s, "sounds/test.wav")

return a sound-buffer as excpected.

-anders



More information about the PlanetCCRMA mailing list