< Back to IRCAM Forum

Spat 4.9.2

Dear all,
A new version of Spat is ready for download.

Please report any issues with this version.

Changelog:

  • all DSP objects : fix possible issues with automute attribute
  • spat.spat~ : fix bug with @parallel attribute
  • all objects: fix compatibility with “parameter_enable”
  • all HOA objects : explicit warning messages when incompatible settings are detected
  • spat.sfplay~ : fix possible crash in weird situations
  • spat.meter~ : fix possible crash with ‘dumplevels’ message
  • all objects: added ‘azimelev’ coordinate type: sets azimuth and elevation without modifying the distance
  • fix possible crash with ircamverb~ (when using invalid speaker configuration)
  • added sofa support on Windows
  • spat.conv~ : use less RAM
  • fix crash with spat.spat~ in HOA mode
  • fix backwards compatibility with OSX 10.7
  • fix possible crashes with spat.conv~
  • vbap: fix various bugs and improve warning messages
  • HOA : fix critical issues with decoder.
    Warning: the fix may break compatibility with previous versions of Spat.

Additional note for Windows user:
On Windows, you will need to install additional dependencies to handle SOFA files (used for HRTF).
If you are using the 32 bit version, copy the following files:
/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, copy the following files:
/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.

Dear T.,

some feedbacks regarding 4.9.2.

  • SOFA works fine on windows 10, thanxs for this!
  • spat.ir.infos crashes on both OSX and Windows 10, when trying to get T30 etc.

Is there a way of using @parallel for spat.pan @type binaural? Would it make sence?

Cheers
FKN

Hi FKN,

Thanks for the feedbacks.
It’s good to hear SOFA is working fine, even on Windows.

Indeed there are some bugs in spat.ir.infos and the crash is reproducible.
Here is a fixed version : fixed spat.ir.infos (macOS)
(of course it will be included in future versions)

At the moment there is no parallel processing in spat.pan~. It could make sense, sometimes.
Are you facing CPU limitations ? How many sources are you trying to binauralize ? Which HRTFs are you using ?

Cheers,
T.

Hi T,

do you have also a fix for Windows for spat.ir.infos?

In spat.pan~ I’m using 64 sources but it might become even more. And we want to use our own HRTFs, so SOFA HRTF with differnt length. Mainly 128 samples long HRTFs. Buffersize also set to 128 samples. When I’m using our tracker the audio cpu reaches its limitations.

Cheers
FKN

Here is the fixed Windows (64 bit) external.
(let me know if this works OK)

T.

Hey T.,

works fine!

Thanxs!

FKN

Hi T and all !

I’m using Windows 10 64 Bits and I would like to know where can I find the .dll files (sorry if it’s a stupid question) you mentioned higher.

I have : “Error 126 loading external spat.spat~” for example

For ending, My PC don’t ask me to authorize my ircam products. On OSX it’s very easy, it only needs to launch a .app (like AS or Modalys, for example). How can I do this activation, is it necessary for Spat ?

Many THX in advance

Cheers~
… jerome

Hi Jérôme,

After downloading and unzipping the Spat Windows package,
you will find the required DLLs in the “dependencies” folder.

Also Max/MSP externals (Spat and others) do not need any authorization,
regardless of macOS or Windows.

Best,
T.

Just as a remainder:

On Windows, you will need to install additional dependencies to handle SOFA files (used for HRTF).
If you are using the 32 bit version, copy the following files:
/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, copy the following files:
/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 very much for your quick answer,

Everything seems to be all right !

Hoping it could help others…

Cheers~

… jerome

Hi T,

I was just about to ask about the @parallel in Spat 4.9.1. Have a concert tomorrow and was wondering why my sounds were not moving at all in the hall. That was because of the @parallel 1 being on. I’m not going to get the new Spat by tomorrow not to mess up any other things… but thanks for fixing this bug!

Also the timbre changed dramatically after switching the @parallel 1 off. I’m happy to have detected this in time to be able to fix the patch!

Best wishes,

Maija

Hi T,

Is there a limit to the number of @numspeakers and @numsources for spat.pan~, specifically vbap? If so, is there a way to increase the count for both? Like FKN, I am using 64 inputs and will be shortly implementing 128. On the output side, I have 134 outs. I am getting the following error in console when sending loudspeaker coordinates: “cannot build a 3-D vbap: the loudspeaker setup is planar.” I didn’t have this problem with previous distros. My guess is that it is reading the first 64 loudspeakers only because they are on the same plane; the remaining 70 are on other planes. I have included a stripped down version of the patch.

Thank you!

spatVBAP.maxpat (6.56 KB)

Hi,

The maximum number of inputs/outputs in spat.pan~ is 250 (which is currently the limitation in Max).

As for your error message: this seems to be a bug in latest spat.pan~. Actually this is a false alarm, upon initialization of the object. Then, after receiving the speaker positions, everything should be OK and run correctly.

Anyway, please find below a fix version of spat.pan~ (for macOS).
Let me know if this works properly.

Informations sur le fichier spat.pan~.mxo.zip :
Adresse: http://echanges.ircam.fr/filez/download.php?ad=8305BtOXmV
Taille du fichier :7.21 Mo

T.

Thank you, T! That fixed it.