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_8.m @ 30:1a502830d462

History | View | Annotate | Download (1.09 KB)

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