view listeningTest/pairComp/pairKey.m @ 8:2afd6ff39f08

prepare2listen fixes
author Brecht De Man <b.deman@qmul.ac.uk>
date Fri, 28 Nov 2014 00:52:12 +0000
parents 4fd284285159
children
line wrap: on
line source
function pairKey

hf=gcf;
c=get(hf,'currentcharacter');
switch c
case '4' % left play A
   PCpush(hf,1);
case '6'	% right play B
   PCpush(hf,3);
case ' ' % space stop   
   PCpush(hf,2);
end