# HG changeset patch # User Timos Papadopoulos # Date 1385212126 0 # Node ID 68e34e3857a735561223c9b206aea98378b2ae61 # Parent f3d8070c17812fcd9c383e58ca480e86007d153e updated readme diff -r f3d8070c1781 -r 68e34e3857a7 README --- a/README Sat Nov 23 13:07:19 2013 +0000 +++ b/README Sat Nov 23 13:08:46 2013 +0000 @@ -6,17 +6,19 @@ matlab -> web shell integration paradigm. Matlab help preample of simulateBinauralSignals.m: +function simulateBinauralSignals(inputstruct) %Creates .wav file of 2sec long binaural signals for specific board dimensions and gaussian white noise stimulus % % The .wav is created in the current directory with filename is 'binsimecho.wav' % % INPUTS: -% - dist (1st input argument) is the distance in meters -% - azim (2nd input argument) is the azimuth in degrees (0 means straight ahead, positive angles are left and negative +% The input must be a structure with fields: +% .dist (1st input argument) is the distance in meters +% .azim (2nd input argument) is the azimuth in degrees (0 means straight ahead, positive angles are left and negative % are right) -% - orient (3rd input argument) must be either 'horz' or 'angled' corresponding to flat and angled descriptions in +% .orient (3rd input argument) must be either 'horz' or 'angled' corresponding to flat and angled descriptions in % Papadopoulos et al. BSPC 2011. -% - dirweight (4tht input argument) must be a nonnegative real scalar determining what is the relative weight of the +% .dirweight (4tht input argument) must be a nonnegative real scalar determining what is the relative weight of the % emission path to the echo path (i.e. due to directivity focus in the frontal direction of the source, the emission % which is directed upwards and backwards in our specific geometry is significantly attenuated, typically by factor in % the vicinity of 0.2)