Mercurial > hg > ape
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4fd284285159 |
---|---|
1 function TpushKey(hfig) | |
2 | |
3 dat=get(hfig,'userdata'); | |
4 | |
5 cobj=get(hfig,'currentObject'); | |
6 | |
7 ckey=get(hfig,'currentcharacter'); | |
8 | |
9 switch ckey | |
10 | |
11 case ' ' | |
12 set(dat.hIcon,'backgroundcolor',[.6 .9 .6]); | |
13 wavplay(0) | |
14 end | |
15 |