[PlanetCCRMA] Path for sounds in supercollider-world
Peter Kirn
peter at createdigitalmedia.net
Fri Jan 29 07:23:01 PST 2010
Yep, that works; thanks!
That's actually hugely helpful to me to know that command, as well, so
I'm glad I asked. ;)
And indeed, it's at ~/share/SuperCollider. I think I probably tried
that but neglected to fully restart sc server. Knowing for certain,
however, is much better than guessing.
On Fri, Jan 29, 2010 at 3:02 AM, <andersvi at notam02.no> wrote:
>>>>>> "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