[PD] earplug~ or FIR~ for HRTF?

Claude Heiland-Allen claudiusmaximus at goto10.org
Thu Sep 4 16:09:25 CEST 2008

Hi all,

I'm considering whether to use the earplug~ HRTF external or some 
alternative implementation of binaural spatialization.

On the plus side, earplug~ seems quite easy to use.

On the down side, earplug~ seems not to handle any sample-rate stuff at 
all, so I'm wondering which samplerate the impulse responses in the 
earplug_data.txt are sampled at (because obviously it would be somewhat 
weird to use them at another rate...).

I don't really need the interpolation provided by earplug~ either, so I 
guess I could save some CPU by using FIR~ directly, but then I need to 
obtain some HRIR's (ideally both at 44100Hz and 48000Hz sample rates).

So: has someone already made a binaural processing patch using FIR~ and 
some set of impulse responses and would care to share it?

Some context for the curious:  I'm trying to auralize 4D space using 4D 
room simulation, with an "ear" made up of several co-solid listening 
points in the 4D space, each mapped to a 3D source point for binaural 

Thanks for any tips,


More information about the Pd-list mailing list