Mercurial > hg > map
comparison Copy_of_multithreshold 1.46/paradigms/paradigm_absThreshold_8.m @ 28:02aa9826efe0
mainly multiThreshold
author | Ray Meddis <rmeddis@essex.ac.uk> |
---|---|
date | Fri, 01 Jul 2011 12:59:47 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
27:d4a7675b0413 | 28:02aa9826efe0 |
---|---|
1 function paradigm_absThreshold_8(handles) | |
2 global stimulusParameters experiment betweenRuns | |
3 | |
4 paradigm_training(handles) % default | |
5 | |
6 betweenRuns.variableName1='targetFrequency'; | |
7 betweenRuns.variableList1=1000; | |
8 betweenRuns.variableList1=str2num(get(handles.edittargetFrequency,'string')); | |
9 betweenRuns.variableName2='targetDuration'; | |
10 betweenRuns.variableList2=0.008 ; | |
11 betweenRuns.randomizeSequence=1; % 'random sequence' | |
12 | |
13 % delay > masker > gap > target | |
14 | |
15 | |
16 stimulusParameters.targetType='tone'; | |
17 stimulusParameters.targetPhase='sin'; | |
18 stimulusParameters.targetFrequency=1000; | |
19 stimulusParameters.targetDuration=0.008; | |
20 stimulusParameters.targetLevel=stimulusParameters.WRVstartValues(1); | |
21 | |
22 stimulusParameters.rampDuration=0.004; | |
23 | |
24 % forced choice window interval | |
25 stimulusParameters.AFCsilenceDuration=0.5; | |
26 | |
27 % instructions to user | |
28 % single interval up/down no cue | |
29 stimulusParameters.instructions{1}= [{'YES if you hear the tone clearly'}, { }, { 'NO if not (or you are uncertain'}]; | |
30 % single interval up/down with cue | |
31 stimulusParameters.instructions{2}= [{'count the tones you hear clearly'}, { }, { 'ignore indistinct tones'}]; | |
32 |