I'm trying to make a patch where a file with the name "ghost%i.aif" is created and recorded into an sfrecord~ object where %i is a random integer.
I'm using sprintf to format the message as described in the sprintf help file.
I can make the files apparently (?) as their zero-kb placeholders are appearing, correctly formatted, into the correct filepath.
But I get this error message in the Max window:
"can't make file Macintosh:/Users/Jason/Documents/Computer Music projects and components/Sounding Circle/SCGhosts/ghost%i.aif, err -1."
What gives??? The open dialog works just fine.