Documentation

clone

System object: dsp.AudioRecorder
Package: dsp

Create audio recorder object with same property values

    Note:   The dsp.AudioRecorder object will be removed in a future release. Existing instances of the object continue to run. For new code, use the audioDeviceReader object from Audio System Toolbox™ instead.

Syntax

clone(H)

Description

clone(H) creates an audio recorder object, C, with the same property values as H. If an object is locked, the clone method creates a copy that is also locked and has states initialized to the same values as the original. If an object is not locked, the clone method creates a new unlocked object with uninitialized states.

Was this topic helpful?