Component: Level (DSP)

From Flowcode Help
Revision as of 14:19, 9 August 2013 by JonnyW (talk | contribs) (XML import of component documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Author Matrix Ltd
Version 1.2
Category DSP


Image Level component

Allows for detection and collection of peaks, troughs and averages.

Examples

No additional examples


Downloadable macro reference

ReadPeakTick

Returns the highest value from the last "Decay" number of index locations.

Parameters

This macro has no parameters


Return value

UINT


ReadTrough

Returns the lowest value from the last "Decay" number of buffers.

Parameters

This macro has no parameters


Return value

UINT


ReadAverage

Returns the average from the last "Decay" number of buffers.

Parameters

This macro has no parameters


Return value

UINT


ReadAverageTick

Returns the average from the last "Decay" number of index locations.

Parameters

This macro has no parameters


Return value

UINT


ReadTroughTick

Returns the lowest value from the last "Decay" number of index locations.

Parameters

This macro has no parameters


Return value

UINT


ReadPeak

Returns the highest value from the last "Decay" number of buffers.

Parameters

This macro has no parameters


Return value

UINT


Simulation macro reference

This component does not contain any simulation macros


Property reference

Buffer Manager

This property is of type Fixed list of ints and can be referenced with the variable name buffer_manager.

Reference to DSP system buffer manager component.

Input

This property is of type Fixed list of ints and can be referenced with the variable name input_a.

Buffer assigned to input channel

Decay

This property is of type Signed integer and can be referenced with the variable name decay.

Configures how many buffers or values to allow a record to persist