view multithreshold 1.46/paradigms/paradigm_discomfort.m @ 38:c2204b18f4a2 tip

End nov big change
author Ray Meddis <rmeddis@essex.ac.uk>
date Mon, 28 Nov 2011 13:34:28 +0000
parents 1a502830d462
children
line wrap: on
line source
function paradigm_discomfort(handles)
global stimulusParameters experiment betweenRuns

paradigmBase(handles) % default

stimulusParameters.WRVname='targetLevel';
stimulusParameters.WRVstartValues=75 ;
stimulusParameters.WRVsteps=[3 3];
stimulusParameters.WRVlimits=[-30 110];

betweenRuns.variableName1='targetFrequency';
betweenRuns.variableList1=[1000];
betweenRuns.variableName2='targetDuration';
betweenRuns.variableList2=0.5 ;
% 'randomize within blocks', 'fixed sequence', 'randomize across blocks'
betweenRuns.randomizeSequence='fixed sequence'; 

stimulusParameters.stimulusDelay=0;

experiment.maskerInUse=0;

stimulusParameters.targetType='tone';
stimulusParameters.targetPhase='sin';
stimulusParameters.targetFrequency=1000;
stimulusParameters.targetDuration=0.5;
stimulusParameters.targetLevel=stimulusParameters.WRVstartValues(1);

stimulusParameters.instructions{1}= ['Is the tone ''comfortable'', ''loud'' or ''uncomfortable''?'];
%   single interval up/down with cue
stimulusParameters.instructions{2}= [];