GNU Octave: Recorder Properties

Previous: Data Retrieval, Up: Audio Recorder [Contents][Index]

#### 33.4.3 Properties

The remaining two methods allow you to read or alter the properties of audiorecorder objects.

Function File: value = get (recorder, name)
Function File: values = get (recorder)

  Return the value of the property identified by name. If name is a cell array, return the values of the properties corresponding to the elements of the cell array. Given only the recorder object, return a scalar structure with values of all properties of recorder. The field names of the structure correspond to property names.

Function File: set (recorder, name, value)
Function File: set (recorder, properties)
Function File: properties = set (recorder)

  Set the value of property specified by name to a given value. If name and value are cell arrays of the same size, set each property to a corresponding value. Given a structure with fields corresponding to property names, set the value of those properties to the corresponding field values. Given only the recorder object, return a structure of settable properties.