Commit 14cc3404 authored by Hendrik Kayser's avatar Hendrik Kayser

changes from last week, minor things...

parent 487175d6
......@@ -7,3 +7,4 @@ afc/experimentDOA_user.asv
*.asv
afc/experimentDOA_protocol.pro
afc/experimentDOA_subject_5deg_ollo_female_white.dat
afc/control_experimentDOA_subject_5deg_ollo_male_white.dat
......@@ -43,7 +43,6 @@ def.terminate = 1; % terminate execution on min/maxvar hit: 0 = warning, 1 =
def.endstop = 3; % Allows x nominal levels higher/lower than the limits before terminating (if def.terminate = 1)
% experimental parameter (independent variable)
def.exppar1 = [0 45 90]; % vector containing experimental parameters for which the exp is performed
def.exppar1unit = 'deg'; % unit of experimental parameter
def.exppar1description = 'reference angle';% description of the experimental parameter
......
......@@ -79,10 +79,10 @@ addpath(genpath(def.hrirdir))
setup.HRIRs=cell(length(def.exppar1),1) % [0 45 90];
for k=1:length(setup.HRIRs)
%load the hrir for the reference angle
setup.HRIRs{k}.hrir_ref=loadHRIR('Anechoic', 80, 0, def.exppar1(k),'in-ear')
setup.HRIRs{k}.hrir_ref=loadHRIR('Anechoic', 300, 0, def.exppar1(k),'in-ear');
%load the hrirs for the angle 5° away from the reference angle
setup.HRIRs{k}.hrir_refplus=loadHRIR('Anechoic', 80, 0, def.exppar1(k)+setup.degdiff,'in-ear')
setup.HRIRs{k}.hrir_refminus=loadHRIR('Anechoic', 80, 0, def.exppar1(k)-setup.degdiff,'in-ear')
setup.HRIRs{k}.hrir_refplus=loadHRIR('Anechoic', 300, 0, def.exppar1(k)+setup.degdiff,'in-ear');
setup.HRIRs{k}.hrir_refminus=loadHRIR('Anechoic', 300, 0, def.exppar1(k)-setup.degdiff,'in-ear');
end
% eof
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment