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_discomfort.m @ 33:161913b595ae

History | View | Annotate | Download (1.01 KB)

1
function paradigm_discomfort(handles)
2
global stimulusParameters experiment betweenRuns
3

    
4
paradigm_training(handles) % default
5

    
6
stimulusParameters.WRVname='targetLevel';
7
stimulusParameters.WRVstartValues=75 ;
8
stimulusParameters.WRVsteps=[3 3];
9
stimulusParameters.WRVlimits=[-30 110];
10

    
11
betweenRuns.variableName1='targetFrequency';
12
betweenRuns.variableList1=[1000];
13
betweenRuns.variableName2='targetDuration';
14
betweenRuns.variableList2=0.5 ;
15
% 'randomize within blocks', 'fixed sequence', 'randomize across blocks'
16
betweenRuns.randomizeSequence='fixed sequence'; 
17

    
18
stimulusParameters.stimulusDelay=0;
19

    
20
experiment.maskerInUse=0;
21

    
22
stimulusParameters.targetType='tone';
23
stimulusParameters.targetPhase='sin';
24
stimulusParameters.targetFrequency=1000;
25
stimulusParameters.targetDuration=0.5;
26
stimulusParameters.targetLevel=stimulusParameters.WRVstartValues(1);
27

    
28
stimulusParameters.instructions{1}= ['Is the tone ''comfortable'', ''loud'' or ''uncomfortable''?'];
29
%   single interval up/down with cue
30
stimulusParameters.instructions{2}= [];
31