Home > slabtools > smake.m

smake

PURPOSE ^

smake - makes a slab3d archive struct.

SYNOPSIS ^

function h = smake( name, source, comment, ir, itd, dgrid, finc, fs, mp,tgrid, eqfs, eqm, eqf, fgrid, eqd, eqb, eqh, hcom )

DESCRIPTION ^

 smake - makes a slab3d archive struct.

 h = smake( name, source, comment, ir, itd, dgrid, finc, fs, mp, tgrid, ...
            eqfs, eqm, eqf, fgrid, eqd, eqb, eqh, hcom )

 name    - subject name
 source  - source of data (e.g., 'snapshot', 'headzap', 'slabslh', 'cipic',
           'custom' )
 comment - comment string
 ir      - HRIR data, all left ear data followed by all right ear data
 itd     - ITD data, #samples left lags right
 dgrid   - data grid (az,el order, elevations grouped by azimuth)
 finc    - dgrid fixed increment flag (default = 1)
 fs      - HRIR sample rate (default = 44100)
 mp      - HRIR minimum-phase flag (default = 0)
 tgrid   - measurement grid read by head-tracker (default = [])
 eqfs    - EQ sampleing rate (default = 0)
 eqm     - mixed EQ (e.g., Snapshot eq) (default = [])
 eqf     - free-field EQ (default = [])
 fgrid   - free-field EQ grid (elevations grouped by azimuth) (default = [])
 eqd     - diffuse-field EQ (default = [])
 eqb     - bass-boost EQ (default = [])
 eqh     - headphone EQ (default = [])
 hcom    - headphone comment describing model, type, and coupling
           (default = '')

 h - slab3d archive struct (see sarc.m)

 smake returns a slab3d archive constructed from the parameters.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 20-Nov-2009 18:52:57 by m2html © 2003