This documentation page applies to an outdated AMT version (1.3.0). Click here for the most recent page.
[sphrtfs,polangs] = extractsp( lat,hM,pos ) [sphrtfs,polangs] = extractsp( lat,Obj ) [sphrtfs,polangs,latangs] = extractsp( lat,hM,pos ) [sphrtfs,polangs,latangs,idx] = extractsp( lat,hM,pos ) [sphrtfs,polangs,latangs] = extractsp( lat,Obj ) [sphrtfs,polangs,latangs,idx] = extractsp( lat,Obj )
lat | lateral angle of the SP |
Obj | HRIR Data in SOFA format |
hM | matrix containing head-related impulse responses in ARI Format Dimensions: time,position,channel (for more details see doc: HRTF format description) |
pos | source-position matrix referring to 2nd dimension of hM and formated acc. to meta.pos (ARI format). 6th col: lateral angle. 7th col: polar angle |
sphrtfs | all available HRTFs in the current SP, sorted acc. to ascending polar angle |
polangs | corresponding polar angles (deg) |
latangs | corresponding actual lateral angles (deg) |
idx | index to the considered positions |
extractsp(...) extracts all HRTFs available for a specific SP or lateral angle. In order to result in a representative HRTF template, demands are made on: