annotate 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
rev   line source
b@0 1 function pairKey
b@0 2
b@0 3 hf=gcf;
b@0 4 c=get(hf,'currentcharacter');
b@0 5 switch c
b@0 6 case '4' % left play A
b@0 7 PCpush(hf,1);
b@0 8 case '6' % right play B
b@0 9 PCpush(hf,3);
b@0 10 case ' ' % space stop
b@0 11 PCpush(hf,2);
b@0 12 end