tp@5: Code that takes parameters of one geometry as input and gives one wav file of binaural signals. tp@1: tp@5: The objective is to now use this as the basis for the development of the matlab -> web shell integration code. tp@1: tp@5: Following that, the objective should be to add more user defined parameters that will work within the tp@5: matlab -> web shell integration paradigm. tp@1: tp@5: Matlab help preample of simulateBinauralSignals.m: tp@7: function simulateBinauralSignals(inputstruct) tp@5: %Creates .wav file of 2sec long binaural signals for specific board dimensions and gaussian white noise stimulus tp@5: % tp@5: % The .wav is created in the current directory with filename is 'binsimecho.wav' tp@5: % tp@5: % INPUTS: tp@7: % The input must be a structure with fields: tp@7: % .dist (1st input argument) is the distance in meters tp@7: % .azim (2nd input argument) is the azimuth in degrees (0 means straight ahead, positive angles are left and negative tp@5: % are right) tp@7: % .orient (3rd input argument) must be either 'horz' or 'angled' corresponding to flat and angled descriptions in tp@5: % Papadopoulos et al. BSPC 2011. tp@7: % .dirweight (4tht input argument) must be a nonnegative real scalar determining what is the relative weight of the tp@5: % emission path to the echo path (i.e. due to directivity focus in the frontal direction of the source, the emission tp@5: % which is directed upwards and backwards in our specific geometry is significantly attenuated, typically by factor in tp@5: % the vicinity of 0.2) tp@5: %