view listeningTest/pairComp/pairKey.m @ 15:24be5e9ce25b tip

Update README
author Brecht De Man <brecht.deman@bcu.ac.uk>
date Thu, 20 Sep 2018 12:23:20 +0200
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