Technical data

DOC-01-TELAS-CRG-4 ASTi ACE Studio Components Reference Guide Rev.M
54 Copyright © 2014 Advanced Simulation Technology inc.
2.22. Record Replay
Summary: The Record Replay component provides the ability to record and replay
digitally encoded soundfiles (known simply as “recordings” in ACE vernacular).
The component is capable of recording any signal source within a model and
features host control inputs for controlling record-replay modes, file selection and
file position, gain and other parameters.
Description: The Record Replay component provides the ability to record any
input signal and to replay from a pre-recording file (which may already exist) on
the hard disk. Host inputs are provided to control record-replay-stop operation, file
and group index selection, file pointer repositioning during record and replay, and
gain adjustment. The Record Replay component features a host-controlled
selectable link to the recording index, enabling dynamic selection of specific files
inside specific groups during record and replay.
Additional Record replay file information:
I. Record replay files (called recordings) are processed and stored separately
from playsound files (called sounds).
II. Record Replay component cannot replay sounds and the Playsound
component cannot replay recordings.
III. The internal recording file format TSR is a raw uncompressed audio file.
See the Remote Management System > Archive Recordings to convert the file
into a wave (.wav) file.
IV. Unlike playsound files, record replay files do not contain meta data
(internal file settings for start-stop positions, playall-normal).
V. An import-export utility is required for file conversion to a wave file.
VI. TSR files are stored on the Target hard drive in the following location:
/var/local/asti/recordreplay
The files have the following name structure:
library000_groupN_indexM.tsr
where ‘N’ is the group number defined in the component and ‘M’ is the index
number defined in the component.
Audio Inputs
SignalIn
Type Default Value
audio n/a
Description: Audio linked in to this field will be recorded. When in
replay mode this is unused. Audio level is controlled by the gain
field.
Control Inputs
Command
Type Default Value
uint8 0
Description: Three states exist in the Record Replay component.
They are:
0 = Stopped
1 = Replay
2 = Record
The command variable should always transition through the stopped
state when switching from record to replay or vice-versa.
Gain
Type Default Value
float32 1
Description: Amplitude gain control for the record or replay audio.
This effects both signal in and signal out.