sfplay "can't find file"

cYberSport91's icon

I'm having the strangest issue with sfplay. It's a little too abstract to share (data dependencies) here's an example:

It looks a little something like this.


but the errors i'm getting look like this (notice sometimes it loads one and sometimes it doesnt)

am i wiring this up incorrectly?

cYberSport91's icon

in an odd turn of events, these manual buttons as overrides work fine every time.

what could be going wrong with that dict? Printing the [open $1.wav] value - it's the exact same as the manual buttons

Source Audio's icon

Are the wave files in the search path ?
They must be, otherwise sfplay can't find them.
Search path would be either next to the patch or standalone app /in same folder)
or at some place set in filepath preferences, which can also be set
using filepath object.

cYberSport91's icon

I believe so - when i press the manual buttons it plays the audio. But coming from a dict unpack it seems to fail (only sometimes). Even though the message being sent is identical

Source Audio's icon

I don't know what the dictionary actually outputs.
It could be something that disturbs the path.

You could try this simple workaround :

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