Forums > MaxMSP

Buffer~ – "Can't open" error on all but one audio files

Mar 28 2013 | 3:58 pm

I’m making a simple audio file selector, so that I can choose a sample and send it through vst~. However, only one of the samples in my folder will load into buffer~, any and all other audio files (.wav and .aif) give me the "can’t open" error. I’ve tried using [prepend read] instead of [prepend replace], but no luck. I feel like I’m missing something really obvious?

-- Pasted Max Patch, click to expand. --

Mar 28 2013 | 4:13 pm

Are you sure the files are in your search path?

Another option is to use full pathes of your files, prepending the path with the help of combine or sprintf.

Mar 28 2013 | 4:17 pm

I’m pretty sure they are. They’re in the same folder as the one file that does work, so I can’t see how that could be causing problems.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP