annotate README @ 18:2d5f50205527
jabuilder_int tip
Escape the trailing backslash as well
author |
Chris Cannam |
date |
Tue, 30 Sep 2014 16:23:00 +0100 |
parents |
68e34e3857a7 |
children |
|
rev |
line source |
tp@5
|
1 Code that takes parameters of one geometry as input and gives one wav file of binaural signals.
|
tp@1
|
2
|
tp@5
|
3 The objective is to now use this as the basis for the development of the matlab -> web shell integration code.
|
tp@1
|
4
|
tp@5
|
5 Following that, the objective should be to add more user defined parameters that will work within the
|
tp@5
|
6 matlab -> web shell integration paradigm.
|
tp@1
|
7
|
tp@5
|
8 Matlab help preample of simulateBinauralSignals.m:
|
tp@7
|
9 function simulateBinauralSignals(inputstruct)
|
tp@5
|
10 %Creates .wav file of 2sec long binaural signals for specific board dimensions and gaussian white noise stimulus
|
tp@5
|
11 %
|
tp@5
|
12 % The .wav is created in the current directory with filename is 'binsimecho.wav'
|
tp@5
|
13 %
|
tp@5
|
14 % INPUTS:
|
tp@7
|
15 % The input must be a structure with fields:
|
tp@7
|
16 % .dist (1st input argument) is the distance in meters
|
tp@7
|
17 % .azim (2nd input argument) is the azimuth in degrees (0 means straight ahead, positive angles are left and negative
|
tp@5
|
18 % are right)
|
tp@7
|
19 % .orient (3rd input argument) must be either 'horz' or 'angled' corresponding to flat and angled descriptions in
|
tp@5
|
20 % Papadopoulos et al. BSPC 2011.
|
tp@7
|
21 % .dirweight (4tht input argument) must be a nonnegative real scalar determining what is the relative weight of the
|
tp@5
|
22 % emission path to the echo path (i.e. due to directivity focus in the frontal direction of the source, the emission
|
tp@5
|
23 % which is directed upwards and backwards in our specific geometry is significantly attenuated, typically by factor in
|
tp@5
|
24 % the vicinity of 0.2)
|
tp@5
|
25 %
|