[PD] Install path assumptions for [soundfiler] vs [file glob]

Antoine Rousseau antoine at metalu.net
Tue Jan 11 14:50:41 CET 2022


>
> I was hopeful to get [file which] to give me the path of [media/] but no
> luck.


 It should allow you to get the path of [media/mysound.wav] though.



Le mar. 11 janv. 2022 à 14:41, Pierre Alexandre Tremblay <tremblap at gmail.com>
a écrit :

> Thanks Roman for the fabulous answer.
>
> > If 'media' lies near the patch
>
> It doesn’t actually. It seems to work from wherever I am on my machine.
>
> > TLDR: Unlike many other file accessing objects like [soundfile],
> > [reasf~], [textfile], etc. [file] doesn't use search paths¹.
>
> With that footnote, I was hopeful to get [file which] to give me the path
> of [media/] but no luck.
>
> I’ve also tried to find a way to get [dir] from pdcontrol… I wondered if
> there was a way to get the path to a given object help, like in
> SuperCollider
>
> FluidBufAmpGate.class.filenameSymbol
>
> Anyway. Good to know that it is not me. Thanks again for the
> reply._______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20220111/38a0ee61/attachment.htm>


More information about the Pd-list mailing list