view listeningTest/multiComp/TpushKey.m @ 11:0014c50188da

New and modified auxiliary scripts
author Brecht De Man <b.deman@qmul.ac.uk>
date Fri, 19 Jun 2015 19:16:08 +0100
parents 4fd284285159
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