Group Admins

  • Profile picture of warusfel
  • Profile picture of T.

Spat

Public Group active 1 day, 22 hours ago

User group for Spat, panoramix, ToscA , and ADMix

Spat Binaural/Panner with Variable Window/Blocksize?

Author 2 Subscribed Users |
Profile photo of marielle
marielle

Bonjour a tout and thank you for the great tools!
I’m trying to optimize my patch to allow the panner in binaural mode to load HRTF’s with variable HRIR length. I am finding that longer HRIR lengths cause considerable CPU overloading, and was wondering if there is a way to set the window or block size for the binaural rendering? I noticed in spat5.conv~ for example, there is a blocksize parameter which can be optimized for the best CPU efficiency/delay tradeoff for your application, but I am looking for an HRTF application similar to this.
Merci beaucoup!
Marielle

May 31, 2018 at 21:08 #26654
Profile photo of T.
T.

Hi Marielle, and welcome to this discussion group,

No, there is unfortunately no such option in the binaural engine.
(and to be honest, there is no plan to add that in a near future)

However, in order to reduce the CPU load, I would recommend to use HRTF modeled as IIR filters (a.k.a. Second Order Sections (SOS) a.k.a. cascades of biquad filters). There is a large collection of such SOS-HRTF files accessible via the spat5.sofa.loader interface.

Regards,
T.

May 31, 2018 at 22:20 #26655
Profile photo of marielle
marielle

Thank you for the quick response T, much appreciated.
If I continue with the HRIR route, is there a default size that I should be targeting for best performance? Thanks, Marielle

May 31, 2018 at 22:57 #26656
Profile photo of T.
T.

No, there is no “default size” that I can recommend for best performance.
The shortest the fastest, of course; and power of 2 are always appreciated.
Besides that, I havent benchmarked the processor.

T.

June 1, 2018 at 14:02 #26657

You must be logged in to reply to this topic.

Log in now