< Back to IRCAM Forum

Instructions for using Spat on Windows

Instructions for using Spat on Windows:

Spat for Windows requires the “Visual C++ Redistributable Packages for Visual Studio 2015”.
You can (freely) download it from Microsoft website: https://www.microsoft.com/en-us/download/details.aspx?id=48145.

In addition to that, you’ll need to install some dependencies to handle SOFA files (used for HRTF).
If you are using the 32 bit version of Max, copy the following files from the Spat package:
/ircam-spat-i386/dependencies/zlib1.dll
/ircam-spat-i386/dependencies/hdf5_hl.dll
/ircam-spat-i386/dependencies/hdf5.dll
/ircam-spat-i386/dependencies/libcurl.dll
/ircam-spat-i386/dependencies/netcdf.dll
alongside the Max 32 bit executable i.e.: C:\Program Files (x86)\Cycling ’74\Max 7\

If you are using the 64 bit version of Max, copy the following files from the Spat package:
/ircam-spat-x64/dependencies/zlib1.dll
/ircam-spat-x64/dependencies/hdf5_hl.dll
/ircam-spat-x64/dependencies/hdf5.dll
/ircam-spat-x64/dependencies/libcurl.dll
/ircam-spat-x64/dependencies/netcdf.dll
alongside the Max 64 bit executable i.e.: C:\Programmes\Cycling ’74\Max 7\

(if you are using Max 6.1 instead of Max 7, just adjust the destination folder accordingly)

If you dont do this step, the spat externals which handle SOFA files (i.e. spat.spat~, spat.pan~, spat.hrtf.infos, etc.) wont load.

Thank you T!