view listeningTest/multiComp/TpushKey.m @ 0:4fd284285159

Adding listening test plus some helpful functions and scripts.
author Brecht <b.deman@qmul.ac.uk>
date Thu, 24 Apr 2014 23:53:31 +0100
parents
children
line wrap: on
line source
function TpushKey(hfig)

dat=get(hfig,'userdata');

cobj=get(hfig,'currentObject');

ckey=get(hfig,'currentcharacter');

switch ckey

case ' '
   set(dat.hIcon,'backgroundcolor',[.6 .9 .6]);
   wavplay(0)	
end