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_IFMC.m @ 29:b51bf546ca3f

History | View | Annotate | Download (1.5 KB)

1 0:f233164f4c86 rmeddis
function paradigm_IFMC(handles)
2
global stimulusParameters experiment betweenRuns
3
4
paradigm_training(handles) % default
5
6
stimulusParameters.WRVname='maskerLevel';
7 29:b51bf546ca3f rmeddis
stimulusParameters.WRVstartValues=50;
8 0:f233164f4c86 rmeddis
stimulusParameters.WRVsteps= [-10 -2];
9
stimulusParameters.WRVlimits=[-30 110];
10
11
experiment.psyFunSlope = -1;
12
withinRuns.direction='up';
13
14
betweenRuns.variableName1='maskerRelativeFrequency';
15
betweenRuns.variableList1=[1       0.5       1.6   .9 .7   1.1 1.3      ];
16
betweenRuns.variableName2='targetFrequency';
17
% keep old list of target frequencies
18
betweenRuns.variableList2=str2num(get(handles.edittargetFrequency,'string'));
19
betweenRuns.randomizeSequence=1; % 'random sequence'
20
21
stimulusParameters.maskerDuration=0.108;
22
stimulusParameters.maskerLevel=stimulusParameters.WRVstartValues(1);
23
stimulusParameters.maskerRelativeFrequency=betweenRuns.variableList1;
24
25
stimulusParameters.gapDuration=0.01;
26
27
stimulusParameters.targetType='tone';
28
stimulusParameters.targetPhase='sin';
29
stimulusParameters.targetFrequency=betweenRuns.variableList2(1);
30
stimulusParameters.targetDuration=0.016;
31
stimulusParameters.targetLevel=NaN;
32
33
stimulusParameters.rampDuration=0.004;
34
35
% instructions to user
36
% single interval up/down no cue
37
stimulusParameters.instructions{1}=[{'YES if you hear the added click'}, { }, { 'NO if not (or you are uncertain'}];
38
% single interval up/down with cue
39
stimulusParameters.instructions{2}=[{'count how many distinct clicks you hear'},{'ignore the tones'},{' '},...
40
    {'The clicks must be **clearly distinct** to count'}];