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.
root / multithreshold 1.46 / paradigms / paradigm_IFMC.m @ 38:c2204b18f4a2
History | View | Annotate | Download (1.54 KB)
| 1 | 0:f233164f4c86 | rmeddis | function paradigm_IFMC(handles) |
|---|---|---|---|
| 2 | global stimulusParameters experiment betweenRuns |
||
| 3 | |||
| 4 | 38:c2204b18f4a2 | rmeddis | paradigmBase(handles) % default |
| 5 | 0:f233164f4c86 | rmeddis | |
| 6 | stimulusParameters.WRVname='maskerLevel'; |
||
| 7 | 36:3ea506487b3b | rmeddis | stimulusParameters.WRVstartValues=10; |
| 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 | |||
| 20 | 30:1a502830d462 | rmeddis | experiment.maskerInUse=1; |
| 21 | stimulusParameters.maskerType='tone'; |
||
| 22 | stimulusParameters.maskerPhase='sin'; |
||
| 23 | 0:f233164f4c86 | rmeddis | stimulusParameters.maskerDuration=0.108; |
| 24 | stimulusParameters.maskerLevel=stimulusParameters.WRVstartValues(1); |
||
| 25 | stimulusParameters.maskerRelativeFrequency=betweenRuns.variableList1; |
||
| 26 | |||
| 27 | stimulusParameters.gapDuration=0.01; |
||
| 28 | |||
| 29 | stimulusParameters.targetType='tone'; |
||
| 30 | stimulusParameters.targetPhase='sin'; |
||
| 31 | stimulusParameters.targetFrequency=betweenRuns.variableList2(1); |
||
| 32 | stimulusParameters.targetDuration=0.016; |
||
| 33 | stimulusParameters.targetLevel=NaN; |
||
| 34 | |||
| 35 | stimulusParameters.rampDuration=0.004; |
||
| 36 | |||
| 37 | % instructions to user |
||
| 38 | % single interval up/down no cue |
||
| 39 | stimulusParameters.instructions{1}=[{'YES if you hear the added click'}, { }, { 'NO if not (or you are uncertain'}];
|
||
| 40 | % single interval up/down with cue |
||
| 41 | stimulusParameters.instructions{2}=[{'count how many distinct clicks you hear'},{'ignore the tones'},{' '},...
|
||
| 42 | {'The clicks must be **clearly distinct** to count'}];
|