Xref: utzoo comp.sys.mac.hypercard:1323 comp.sys.mac.programmer:3415
Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!pasteur!agate!labrea!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!ukc!mupsy!liv-cs!phil
From: phil@mva.cs.liv.ac.uk
Newsgroups: comp.sys.mac.hypercard,comp.sys.mac.programmer
Subject: Reaction Time stacks : can I do this?
Message-ID: <6012@mva.cs.liv.ac.uk>
Date: 5 Dec 88 11:53:39 GMT
Lines: 19
Organisation: Computer Science CSMVAX, Liverpool University

Here at Liverpool University a number of students are doing project work
involving Hypercard.  One of the projects involves the writing of reaction
timing stacks.  What I would like to know is:
1) is it possible to write an XCMD/XFCN to await a keypress and to time
more accurately than 1/60th of a second, and return this info to a script.
2) One of the reaction timing stacks is supposed to play a sound on a
background of white noise.  Can an XCMD/XFCN play noise + a simple tone and
do (1) above?

I've written some Mac programs (nothing good enough to post) but I've never
tried to write any XCMDs/XFCNs.

Phil Jimmieson,           ***************************************************
Computer Science Dept.,   *        ** Note New Address & UserName **        *
Liverpool University,     * JANET : PHIL@UK.AC.LIV.CS.MVA                   *
Merseyside, England,      * ARPA  : PHIL%mva.cs.liv.ac.uk@cunyvm.cuny.edu   *
L69  3BX                  *                                                 *
                          * old address SQPHIL@UK.AC.LIV.CSVAX may work     *
(UK) 051-794-3689         ***************************************************