


tron2slab - converts 44.1kHz tron-format file to slab3d-format file.
tron2slab( tronFileName, slabFileName, azInc, elInc,
numPts, strName, strComment, fs, scale )
tronFileName - Tron HRTF database filename
slabFileName - slab3d HRTF database filename
azInc - output azimuth increment (default = 30)
elInc - output elevation increment (default = 18)
numPts - number of FIR points in each HRIR (default = 128)
strName - name of head (< 32 chars) (default = empty)
strComment - comment string (< 256 chars) (default = empty)
fs - sample rate (default = 44100)
scale - scale HRIR to +/- 1.0 flag (default = 1)
tron2slab requires the Snapshot function tron2mat.m.
tron2slab outputs the slab3d map grid defined below:
az = [180:-azInc:-180]; el = [90:-elInc:-90];
mapslab = [kron(ones(size(az)),el); kron(az,ones(size(el)))];