[PD] absolute vs relative filepath on oggread~

IOhannes m zmoelnig zmoelnig at iem.at
Wed Jan 30 19:14:15 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2013-01-30 19:07, Òscar Martínez Carmona wrote:
> Hi list, I'm having some trouble trying to open ogg files with
> [oggread~] when I send to it the name of the file via OSC. If I use
> the relative path in the  open message [open ../samples/$1( I get
> these errors:
> 
> oggread~: file "/samples/filename.ogg" opened oggread~: error:
> could not open "/samples/filename.ogg" as an OggVorbis file 
> oggread~: file closed due to error
> 
> I can solve the problem providing the whole path in the message or
> via OSC but, as you can understand, it ain't the most desirable
> solution!
> 
> It is there a bug or  am I doing something wrong? I attach the
> patch for more detail.

what do you get when trying to open the files  with relative filenames
(without OSC)?

i suspect that you and [oggread~] have different directories they
relate the "relative path" to.

fgamsdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlEJYvMACgkQkX2Xpv6ydvTfggCffkLZTVOM8Qbp8mlobJFNedCq
uwoAn38EFv7xaGSUTKUOtKelLgJxlOy8
=j2Ua
-----END PGP SIGNATURE-----



More information about the Pd-list mailing list