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_TMC.m @ 33:161913b595ae
History | View | Annotate | Download (1.55 KB)
| 1 | 0:f233164f4c86 | rmeddis | function paradigm_TMC(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 -4]; |
| 9 | stimulusParameters.WRVlimits=[-30 110]; |
||
| 10 | |||
| 11 | 33:161913b595ae | rmeddis | |
| 12 | 0:f233164f4c86 | rmeddis | stimulusParameters.cueTestDifference = 10; |
| 13 | experiment.psyFunSlope = -1; |
||
| 14 | withinRuns.direction='up'; |
||
| 15 | |||
| 16 | betweenRuns.variableName1='gapDuration'; |
||
| 17 | 28:02aa9826efe0 | rmeddis | betweenRuns.variableList1=[.05 .09 .01 .07 .03 ]; |
| 18 | 0:f233164f4c86 | rmeddis | betweenRuns.variableName2='targetFrequency'; |
| 19 | % retain existing targetFrequencies |
||
| 20 | betweenRuns.variableList2=str2num(get(handles.edittargetFrequency,'string')); |
||
| 21 | |||
| 22 | 30:1a502830d462 | rmeddis | experiment.maskerInUse=1; |
| 23 | 0:f233164f4c86 | rmeddis | stimulusParameters.maskerType='tone'; |
| 24 | stimulusParameters.maskerPhase='sin'; |
||
| 25 | stimulusParameters.maskerDuration=0.108; |
||
| 26 | stimulusParameters.maskerLevel=stimulusParameters.WRVstartValues(1); |
||
| 27 | stimulusParameters.maskerRelativeFrequency=1; |
||
| 28 | |||
| 29 | stimulusParameters.gapDuration=betweenRuns.variableList1; |
||
| 30 | |||
| 31 | stimulusParameters.targetType='tone'; |
||
| 32 | stimulusParameters.targetPhase='sin'; |
||
| 33 | stimulusParameters.targetFrequency=betweenRuns.variableList2(1); |
||
| 34 | stimulusParameters.targetDuration=0.016; |
||
| 35 | stimulusParameters.targetLevel=NaN; |
||
| 36 | |||
| 37 | stimulusParameters.rampDuration=0.004; |
||
| 38 | |||
| 39 | % instructions to user |
||
| 40 | % single interval up/down no cue |
||
| 41 | stimulusParameters.instructions{1}=[{'YES if you hear the added click'}, { }, { 'NO if not (or you are uncertain'}];
|
||
| 42 | % single interval up/down with cue |
||
| 43 | stimulusParameters.instructions{2}=[{'count how many distinct clicks you hear'},{'ignore the tones'},{' '},...
|
||
| 44 | {'The clicks must be **clearly distinct** to count'}];
|