diff multithreshold 1.46/paradigms/paradigm_absThreshold_8.m @ 0:f233164f4c86

first commit
author Ray Meddis <rmeddis@essex.ac.uk>
date Fri, 27 May 2011 13:19:21 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/multithreshold 1.46/paradigms/paradigm_absThreshold_8.m	Fri May 27 13:19:21 2011 +0100
@@ -0,0 +1,32 @@
+function paradigm_absThreshold_8(handles)
+global stimulusParameters experiment betweenRuns
+
+paradigm_training(handles) % default
+
+betweenRuns.variableName1='targetFrequency';
+betweenRuns.variableList1=1000;
+betweenRuns.variableList1=str2num(get(handles.edittargetFrequency,'string'));
+betweenRuns.variableName2='targetDuration';
+betweenRuns.variableList2=0.008 ;
+betweenRuns.randomizeSequence=1; % 'random sequence'
+
+% delay > masker > gap > target
+
+
+stimulusParameters.targetType='tone';
+stimulusParameters.targetPhase='sin';
+stimulusParameters.targetFrequency=1000;
+stimulusParameters.targetDuration=0.008;
+stimulusParameters.targetLevel=stimulusParameters.WRVstartValues(1);
+
+stimulusParameters.rampDuration=0.004;
+
+% forced choice window interval
+stimulusParameters.AFCsilenceDuration=0.5;
+
+% instructions to user
+%   single interval up/down no cue
+stimulusParameters.instructions{1}= [{'YES if you hear the tone clearly'}, { }, { 'NO if not (or you are uncertain'}];
+%   single interval up/down with cue
+stimulusParameters.instructions{2}= [{'count the tones you hear clearly'}, { }, { 'ignore indistinct tones'}];
+