Thanx for your reply IOhannnes, I'll check that out later (whenever I got home after work), the weird thing is that with other externals [tabplay~] or [readsf~] that worked just fine, is there something diferent with this one?
thanx!


On Wed, Jan 30, 2013 at 7:14 PM, IOhannes m zmoelnig <zmoelnig@iem.at> wrote:
-----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-----

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



--
Ňscar Martínez Carmona