THE AUDITORY MODELING TOOLBOX

Applies to version: 1.0.0

View the code

Go to function

sig_hartmann1996 - - Stimulus from Hartmann and Wittenberg (1996)

Usage

sig = sig_hartmann1996(nprime,f0,Obj,azi,dur,condition)

Input parameters

nprime Highest altered harmonic. Default is 0.
f0 Fundamental frequency. Default is 125 Hz.
Obj HRTFs as SOFA object.
azi Azimuth. Default is -37 deg.
dur Duration in seconds. Default is 1 s.
fs Sampling rate in Hz. Default is 48 kHz.

Output parameters

sig signal wave form

Description

The additional optional parameter condition flag may be one of:

'ILD' ILDs up to nprime set to zero. This is the default.
'ISLD' ISLDs (interaural spectral level differeces) maintained while flattening right-ear HRTF up to nprime.

Complex tone (vowel /a/) with 38 harmonics from Hartmann and Wittenberg (1996) with interaural cue alterations up to a certain harmonic nprime.

References:

W. M. Hartmann and A. Wittenberg. On the externalization of sound images. J. Acoust. Soc. Am., 99(6):3678--88, June 1996. [ http ]