THE AUDITORY MODELING TOOLBOX

Applies to version: 0.10.0

View the code

Go to function

sig_baumgartner2017looming - - flattens magnitude spectra of HRTFs

Usage

Obj = sig_baumgartner2017looming(Obj,C,flow,fhigh)
stim = sig_baumgartner2017looming(exp)

sig_baumgartner2017looming either generates spectrally flattened HRTF representations as used by Baumgartner et al. (2017) in order to induce various degrees of sound externalization, or generates the signals presented to the listeners in one of the two experiments from Baumgartner et al. (2017) as specified by the exp flag.

Input parameters

'',Obj reference SOFA object
'',C spectral contrast. 1 refers to reference (default), 0 to flat, -1 to flipped spectral magnitude
'',flow lower cut-off frequency in Hz. Default is 1 kHz.
'',fhigh higher cut-off frequency in Hz. Default is 18 kHz.

Output parameters

'',Obj modified SOFA object
'',stim stimulus structure containing subject ID (ID), sampling rate (fs), impulse responses (IR referring to contrasts C_IR), selected azimuths (azi), and stimuli of the selected experiment (cont for Exp. I; cont and discont for Exp. II; both referring to contrasts specified in C_pair).

The exp flag may be used to get stimuli and impulse responses: 'exp1 Stimuli from Exp. I. 'exp2 Stimuli from Exp. II.''

References:

R. Baumgartner, D. K. Reed, B. Tóth, V. Best, P. Majdak, H. S. Colburn, and B. Shinn-Cunningham. Asymmetries in behavioral and neural responses to spectral cues demonstrate the generality of auditory looming bias. Proceedings of the National Academy of Sciences, 2017. [ DOI | arXiv | http ]