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@aol.com europa989@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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list