[PD] u_samplekit2 text file formatting

Frank Barknecht fbar at footils.org
Sun Sep 15 14:33:31 CEST 2013


Hi,

great to hear that you've solved it. Maybe you can add [declare -path .] to you toplevel
main Pd file to add its directory to the search path. Then you can use it as a main point 
of reference for relative path names.

Ciao
-- 
Frank

On Sat, Sep 14, 2013 at 03:26:37PM -0700, Joe Newlin wrote:
> Okay, so I solved the issue myself by using the absolute directory path in
> the open message, and it was an issue with [textfile] within [u_dumpfile]
> not receiving the correct path in the open message.
> 
> On Sat, Sep 14, 2013 at 2:54 PM, Joe Newlin <jtnewlin at gmail.com> wrote:
> 
> > Hello,
> >
> > I'm trying to use the u_samplekit2 abstraction from rjlib, and having
> > trouble getting it to work.
> >
> > The help file says that the directory containing the samples must also
> > contain a text file named "index.txt" that maps filenames to numbers. But
> > it does not say how exactly one is supposed to enter that information in
> > the text file. I tried writing a couple of lines to test it ("g1" and "g2"
> > are sample filenames):
> >
> > g1 0
> > g2 1
> >
> > ...and I get these errors:
> >
> > /samples/index.txt: can't open
> > /samples/index.txt: read failed
> >
> >
> > The "samples" directory is located in the same directory as the patch.
> >
> > Can someone teach me how to use this?
> >
> > Thanks,
> >
> > Joe
> >
> > --
> > www.joenewlin.net
> > www.twitter.com/joe_newlin
> >
> 
> 
> 
> -- 
> www.joenewlin.net
> www.twitter.com/joe_newlin

> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


-- 
 Frank Barknecht                                     _ ______footils.org__



More information about the Pd-list mailing list