[PD] ..

Hans-Christoph Steiner hans at eds.org
Mon Feb 5 15:51:19 CET 2007


You can also use [getdir] to get the current directory, then add  
the ../ to get from there to where you want to.

.hc

On Feb 4, 2007, at 12:00 AM, europa989 at aol.com wrote:

> much thanks, i at first had some difficulty implementing this with  
> opening patches with messages, though ideas are kicking in.
>
> -----Original Message-----
> From: hard.off at gmail.com
> To: europa989 at aol.com
> Cc: pd-list at iem.at
> Sent: Sat, 3 Feb 2007 9:19 PM
> Subject: Re: [PD] ..
>
>   the most foolproof way is to write the complete path to your sample,
> eg c:/audio/samples/sample.wav
>
> the easiest way is to put your sample in the same folder as your
> patch, and then use only one dot before the filename, eg [read -resize
> ./sample.wav arrayname(
>
> you could also put the sample in a folder inside the folder where your
> patch is, and use [read -resize ./folder/sample.wav arrayname(
>
>
>
>
> On 2/4/07, europa989 at aol.com <europa989 at aol.com> wrote:
> > Anyone figure out how to write path shortcuts in messages? In the
>  > [soundfiler] object's help patch, for example, [read ../sound/ 
> bell.aiff
> > array2( accesses lib/pd/doc/sound/bell.aiff. I tried opening a patch
>  > using the ".." then /sound/ and copied the file to the same  
> directory
> > as bell.aiff. the file didnt open however. Ok.
>  >  
> ______________________________________________________________________ 
> __
>
> > Check out the new AOL. Most comprehensive set of free safety and
> > security tools, free access to millions of high-quality videos from
> > across the web, free AOL Mail and more.
> >
> >
> > _______________________________________________
> > PD-list at iem.at mailing list
>  > UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list
> >
>
>
> ______________________________________________________________________ 
> __
> Check out the new AOL.  Most comprehensive set of free safety and  
> security tools, free access to millions of high-quality videos from  
> across the web, free AOL Mail and more.
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list


------------------------------------------------------------------------

Using ReBirth is like trying to play an 808 with a long stick.    - 
David Zicarelli






More information about the Pd-list mailing list