[PD] absolute vs relative filepath on oggread~

Òscar Martínez Carmona xamps23 at gmail.com
Wed Jan 30 19:07:31 CET 2013


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.
Thanx!

-- 
Òscar Martínez Carmona
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130130/c6dff5c4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oscoggplayer.pd
Type: application/octet-stream
Size: 1986 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130130/c6dff5c4/attachment.obj>


More information about the Pd-list mailing list