< Back to IRCAM Forum

Spat5.sfrecord~ problem writing to external hard disc

I have experienced the following problem with spat5.sfrecord~ for a while, and guessed it was just something simple to solve concerning permissions. But now I dig deeper I can’t fix it:

When I write to my internal hard disc, it’s fine.
When I try to write to any of my external discs I get this error:
“spat5.sfrecord~: Could not open file “/file.wav”. Unsupported format?”

sfrecord~ works fine writing to any discs, and any format (But I don’t want to use sfrecord~).

OS 15.6.1.

So, what I have missed?

Thanks!

Hi Natasha,

This problem had never been reported !
After a quick test with my external hard disk, this actually looks like a (macOS) permission issue.

When Max does not have permission to access “external volumes”, I get the same error message than you (which, admittedly is very confusing. I’ll see if I can improve that).
When this permission is granted the files are properly written on the external hard drive.

Option #1
Go to macOS System Settings. Then “Confidentiality & Security”. Then “Files and Folders”.
Enable “access to external volumes” for the Max application. If necessary restart Max.

Curious note: On my computer, I have both Max8 and Max9 installed. In the macOS System Settings, only Max9 appears, and its setting impacts permissions for both Max8 and Max9.

Option #2
Totally reset the permissions granted to Max.
Quit Max.
In a Terminal, type:
tccutil reset All com.cycling74.Max
Restart Max.
Send a message like “/open /Volume/MY_EXTERNAL_HARD_DRIVE/test.wav” to spat5.sfrecord~. A dialog should now ask you to allow access to the external drive.

Both options worked fine on my system. Let us know if that solves the problem on your side.

Cheers,
T.