To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

The primary repository for this project is hosted at git://github.com/rmeddis/MAP.git .
This repository is a read-only copy which is updated automatically every hour.

Statistics Download as Zip
| Branch: | Revision:

root / multithreshold 1.46 / paradigms / paradigm_absThreshold_16.m @ 31:c54a34161e4a

History | View | Annotate | Download (1.11 KB)

1
function paradigm_absThreshold16(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.016;
11

    
12
experiment.maskerInUse=0;
13

    
14
stimulusParameters.targetType='tone';
15
stimulusParameters.targetPhase='sin';
16
stimulusParameters.targetFrequency=1000;
17
stimulusParameters.targetDuration=0.016;
18
stimulusParameters.targetLevel=stimulusParameters.WRVstartValues(1);
19

    
20
stimulusParameters.rampDuration=0.004;
21

    
22
experiment.stopCriteria2IFC=[75 3 5];
23
experiment.singleIntervalMaxTrials=[20];
24

    
25

    
26
% forced choice window interval
27
stimulusParameters.AFCsilenceDuration=0.5;
28

    
29
% instructions to user
30
%   single interval up/down no cue
31
stimulusParameters.instructions{1}= [{'YES if you hear the tone clearly'}, { }, { 'NO if not (or you are uncertain'}];
32
%   single interval up/down with cue
33
stimulusParameters.instructions{2}= [{'count the tones you hear clearly'}, { }, { 'ignore indistinct tones'}];
34