can't open

Dg's icon

Hi,

When I populate my ubumenu directly from [opendialog] I can load soundfiles in a [buffer~].

This seems not possible if I give the same path with [folder].

In all case the path seems the same, but with this 2nd method I get the message:

error: buffer~:path/..../file.aif: can't open

Anyone has an idea?

I want to use [folder] to select only soundfiles in the specified folder.

Max Patch
Copy patch and select New From Clipboard in Max.

Emmanuel Jourdan's icon

On 1 oct. 08, at 17:03, Derrick Giscloux wrote:

>
> Hi,
>
> When I populate my ubumenu directly from [opendialog] I can load
> soundfiles in a [buffer~].
>
> This seems not possible if I give the same path with [folder].

It's probably a symbol issue, when you have spaces in the name of the
file for instance. Make sure you use the symout argument for [sprintf]
and it should work smoothly.

ej

Dg's icon

Neither symout or no space in the path or soundfile allows me to resolve the strangeness.

any other idea?

Max Patch
Copy patch and select New From Clipboard in Max.

Chris Muir's icon

On Oct 1, 2008, at 9:57 AM, Derrick Giscloux wrote:

> any other idea?

Judiciously hanging message boxes around allowed me to see what the
problem is (you'll have to have a bunch of [prepend set], too in Max 4).

Your "bad" menu has a prefix of "append" so file names are all in the
form of appendFileName.aif

-C

Chris Muir
cbm@well.com    
http://www.xfade.com

Dg's icon

pfff!

Yes, of course.
Thank you very much.