rmeddis@0: function paradigm_SRT(handles) rmeddis@0: global stimulusParameters experiment betweenRuns rmeddis@0: rmeddis@0: stimulusParameters.subjectSampleRate=44100; rmeddis@0: rmeddis@0: % assessment method rmeddis@0: % {'oneIntervalUpDown', 'MaxLikelihood', '2I2AFC++', '2I2AFC+++'} rmeddis@0: experiment.threshEstMethod='oneIntervalUpDown'; rmeddis@0: % {'cued', 'noCue'}; rmeddis@0: stimulusParameters.includeCue=0; rmeddis@0: stimulusParameters.cueTestDifference=10; rmeddis@0: rmeddis@0: experiment.singleIntervalMaxTrials=10; rmeddis@0: experiment.maxTrials=10; rmeddis@0: experiment.allowCatchTrials= 0; rmeddis@0: rmeddis@0: % {'tone','noise', 'pinkNoise','whiteNoise','OHIO'} rmeddis@0: stimulusParameters.WRVname='targetLevel'; rmeddis@0: stimulusParameters.WRVstartValues=60 ; rmeddis@0: stimulusParameters.WRVsteps=[5 2]; rmeddis@0: stimulusParameters.WRVlimits=[-30 110]; rmeddis@0: rmeddis@0: % target variable: slope=1, start going down. rmeddis@0: experiment.psyFunSlope=1; rmeddis@0: withinRuns.direction='down'; rmeddis@0: rmeddis@0: betweenRuns.variableName1='targetFrequency'; rmeddis@0: betweenRuns.variableList1=1000; rmeddis@0: betweenRuns.variableName2='maskerDuration'; rmeddis@0: betweenRuns.variableList2=0.1 ; rmeddis@0: rmeddis@0: % delay > masker > gap > target rmeddis@0: stimulusParameters.stimulusDelay=0.3; rmeddis@0: rmeddis@0: % maskerTypes={'tone','noise', 'pinkNoise','TEN','whiteNoise'}; rmeddis@30: experiment.maskerInUse=0; rmeddis@0: rmeddis@0: stimulusParameters.gapDuration=0.0; rmeddis@0: rmeddis@0: % targetTypes={'tone','noise', 'pinkNoise','whiteNoise','OHIO'}; rmeddis@0: stimulusParameters.targetType='digitStrings'; rmeddis@0: stimulusParameters.targetPhase='sin'; rmeddis@0: stimulusParameters.targetFrequency=1000; rmeddis@0: stimulusParameters.targetDuration=2; rmeddis@0: stimulusParameters.targetLevel=stimulusParameters.WRVstartValues(1); rmeddis@0: rmeddis@0: stimulusParameters.rampDuration=0.004; rmeddis@0: stimulusParameters.stimulusDelay=1; rmeddis@0: rmeddis@0: % forced choice window interval rmeddis@0: stimulusParameters.AFCsilenceDuration=0.5; rmeddis@0: rmeddis@0: % {'none','noise', 'pinkNoise', 'TEN','noiseDich', 'pinkNoiseDich','whiteNoise'} rmeddis@0: stimulusParameters.backgroundType='24TalkerBabble'; rmeddis@0: stimulusParameters.backgroundLevel= 60; rmeddis@0: rmeddis@0: % instructions to user rmeddis@0: % single interval up/down no cue rmeddis@0: stimulusParameters.instructions{1}= ... rmeddis@0: [{'Type three digits in the box (top left)'}, { }, ... rmeddis@0: {'then hit return'}]; rmeddis@0: rmeddis@0: stimulusParameters.numOHIOtones=1; rmeddis@0: