Data acquisition consists of acquiring a pulse from the lightning detector and subsequently audio from 3-4 microphones. The signal from the lightning detector is monitored for a short pulse. When the pulse occurs, if the analysis module is connected to the acquisition server via the vrpn_trLightningDetector interface, then a message with the time of the pulse is sent to the analysis module. In response, the analysis module should send a message via the vrpn_trRecorder interface back to the acquisition server. This tells the program to start recording audio from the sound card. The audio data is sent to the analysis module in chunks containing a preset number of samples.
Communication between the analysis module and the lightning detector is done through the vrpn_trLightningDetector interface. This interface simply specifies one message which is sent from the server to the client specifying the time at which a lightning strike occurred.
Communication between the analysis module and the lightning detector is done through the vrpn_trRecorder interface. The interface allows users to set details of the recording such as how many samples to take per second, bits per sample, number of channels, and how much data to send in each audio data message. The user can also tell the server when to start and stop sending audio data.
author(s): Adam Seeger,
Eric D. Baker
last update: 05 May 1999 2:50p by Eric D. Baker