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_TENtest.m @ 38:c2204b18f4a2
History | View | Annotate | Download (1.25 KB)
| 1 | 0:f233164f4c86 | rmeddis | function paradigm_TENtest(handles) |
|---|---|---|---|
| 2 | global stimulusParameters experiment betweenRuns |
||
| 3 | |||
| 4 | 38:c2204b18f4a2 | rmeddis | paradigmBase(handles) % default |
| 5 | 0:f233164f4c86 | rmeddis | |
| 6 | stimulusParameters.WRVname='targetLevel'; |
||
| 7 | stimulusParameters.WRVstartValues=40; |
||
| 8 | stimulusParameters.WRVsteps=[10 2]; |
||
| 9 | stimulusParameters.WRVlimits=[-30 110]; |
||
| 10 | |||
| 11 | betweenRuns.variableName1='targetFrequency'; |
||
| 12 | betweenRuns.variableList1=[250 500 1000 2000 4000 8000 ]; |
||
| 13 | betweenRuns.variableName2='targetDuration'; |
||
| 14 | betweenRuns.variableList2= 0.25; |
||
| 15 | 30:1a502830d462 | rmeddis | |
| 16 | experiment.maskerInUse=0; |
||
| 17 | 0:f233164f4c86 | rmeddis | |
| 18 | stimulusParameters.targetType='tone'; |
||
| 19 | stimulusParameters.targetPhase='sin'; |
||
| 20 | stimulusParameters.targetFrequency=betweenRuns.variableList1; |
||
| 21 | stimulusParameters.targetDuration=0.5; |
||
| 22 | stimulusParameters.targetLevel=stimulusParameters.WRVstartValues(1); |
||
| 23 | |||
| 24 | % {'none','noise', 'pinkNoise', 'TEN','noiseDich', 'pinkNoiseDich','whiteNoise'}
|
||
| 25 | stimulusParameters.backgroundType='TEN'; |
||
| 26 | stimulusParameters.backgroundLevel=20; |
||
| 27 | |||
| 28 | % instructions to user |
||
| 29 | % single interval up/down no cue |
||
| 30 | stimulusParameters.instructions{1}=[{'YES if you hear the added click'}, { }, { 'NO if not (or you are uncertain'}];
|
||
| 31 | % single interval up/down with cue |
||
| 32 | 38:c2204b18f4a2 | rmeddis | stimulusParameters.instructions{2}=[{'count how many distinct clicks you hear'},{'ignore the noise'},{' '},...
|
| 33 | 0:f233164f4c86 | rmeddis | {'The clicks must be **clearly distinct** to count'}];
|