pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
Static Public Member Functions
TriggerUnit< SampleType > Class Template Reference

Trigger detects signal transitions from zero or less to greater than zero. More...

List of all members.

Static Public Member Functions

static UnitType ar (UnitType const &input, DurationUnitType const &duration=DurationType(0.005), BlockSize const &preferredBlockSize=BlockSize::getDefault(), SampleRate const &preferredSampleRate=SampleRate::getDefault()) throw ()
 Create an audio rate sample rate converter.

Detailed Description

template<class SampleType>
class TriggerUnit< SampleType >

Trigger detects signal transitions from zero or less to greater than zero.

Trigger outputs 1 for the specified duration when the trigger is detected. Then goes back to 0.

Factory functions:
  • ar (input, duration=0.005, preferredBlockSize=default, preferredSampleRate=default)
  • kr (input, duration=0.005)
Inputs:
  • input: (unit, multi) the input unit within which triggers are detected
  • duration: (unit, multi) the durations of the output trigger signal
  • preferredBlockSize: the preferred output block size
  • preferredSampleRate: the preferred output sample rate

Member Function Documentation

template<class SampleType >
static UnitType TriggerUnit< SampleType >::ar ( UnitType const &  input,
DurationUnitType const &  duration = DurationType (0.005),
BlockSize const &  preferredBlockSize = BlockSize::getDefault(),
SampleRate const &  preferredSampleRate = SampleRate::getDefault() 
) throw () [inline, static]

Create an audio rate sample rate converter.


The documentation for this class was generated from the following file:
 All Classes Functions Typedefs Enumerations Enumerator Properties