Record an incoming analog audio signal into a flat (continuous, unstructured) AIX file.
The audio adapter converts the analog audio signal into digital sampled data that can be manipulated and stored within the Power System.
The sampling rate used in the conversion process is fixed at 8 kHz, corresponding to that used for digital telephony.
Recording is done at a 16-bit linear resolution, with samples being stored to disk in big-endian format (that is, most significant byte first).
bvi_rec stores the input audio data in a flat (continuous, unstructured) AIX file.
The bvi_rec utility uses the following control parameters from the bvi.control file:
The file format is 8 kHz, 16-bit linear big-endian (that is, the most significant byte for each sample is written before the least significant byte).
After opening the BVI Custom Server Import window, (see Starting the BVI custom server), the current working directory should be $CUR_DIR/ca/BVI_dir.
df .
The utility reads the control parameters from the bvi.control file and then waits.
The utility starts recording. Immediately after starting, bvi_rec pauses before starting to record to disk. In this state, the audio adapter is in monitor mode (that is, the selected input is fed back to the audio adapter line and headphone outputs). This allows you to check that all is working correctly before starting the recording proper.
The audio adapter remains in monitor mode but bvi_rec starts to record the digitized audio data to disk.
While recording, bvi_rec displays three pieces of information each second:
The dBm levels are useful in determining how to set the silence threshold level for a following segmentation (bvi_seg) operation.
bvi_rec continually monitors the level of the input signal and displays a warning message if the signal amplitude is too great. Note that too high a signal input to the audio adapter causes clipping distortion which, in turn, reduces the quality of your voice segments. If you see the signal level warning message, you should attempt to reduce the level of the input audio signal. See The Batch Voice Import control file (bvi.control) for a discussion of input signal levels.
The audio adapter leaves monitor mode, the file is closed, and bvi_rec terminates.
You can now use bvi_seg to find the start and end position of each voice segment.