diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/listeningTest/multiComp/TpushKey.m	Thu Apr 24 23:53:31 2014 +0100
@@ -0,0 +1,15 @@
+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
+