#include <iso_synth_limiter_unit.h>
Inherits iso::synth::ProcessUnit.
Inheritance diagram for iso::synth::LimiterUnit:


Public Member Functions | |
| LimiterUnit () | |
| default constructor | |
| LimiterUnit (const String &pName) | |
| name constructor | |
| LimiterUnit (unsigned int pChannelCount) | |
| default constructor | |
| LimiterUnit (const String &pName, unsigned int pChannelCount) | |
| name constructor | |
| LimiterUnit (const String &pName, unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pRate, FanInType pFanInType=FANIN_ADD) throw (SynthException) | |
| name and parameter based contructor | |
| LimiterUnit (const String &pName, const Unit &pUnit) | |
| name & copy constructor | |
| LimiterUnit (const data::Values &pValues) throw (SynthException) | |
| values based constructor | |
| virtual | ~LimiterUnit () |
| destructor | |
| virtual void | process (Buffer *pBuffer) throw (SynthException) |
| processes buffer | |
| virtual String | info (bool pPropagate=false, bool pShowPorts=true) const |
| obtain textual unit information | |
Static Public Attributes | |
| static const String | sClassName |
| default name | |
Protected Attributes | |
| ControlPort * | mThresh1 |
| operand control port | |
| ControlPort * | mThresh2 |
| Buffer * | mT1Buffer |
| operand control port buffer | |
| Buffer * | mT2Buffer |
control ports:
mThresh1, mThresh2 : threshold ports, the unit auto-detects which one is the upper threshold of the two every frame
Created by Daniel Bisig on 6/24/06. Copyright 2007 John Flury All rights reserved.
| LimiterUnit::LimiterUnit | ( | ) |
default constructor
| LimiterUnit::LimiterUnit | ( | const String & | pName | ) |
name constructor
| pName | unit name |
| LimiterUnit::LimiterUnit | ( | unsigned int | pChannelCount | ) |
default constructor
| LimiterUnit::LimiterUnit | ( | const String & | pName, | |
| unsigned int | pChannelCount | |||
| ) |
name constructor
| pName | unit name | |
| pChannelCount | number of channels |
| LimiterUnit::LimiterUnit | ( | const String & | pName, | |
| unsigned int | pFrameCount, | |||
| unsigned int | pChannelCount, | |||
| unsigned int | pRate, | |||
| FanInType | pFanInType = FANIN_ADD | |||
| ) | throw (SynthException) |
name and parameter based contructor
| pName | unit name | |
| pFrameCount | number of frames | |
| pChannelCount | number of channels | |
| pRate | samping rate | |
| pFanInType | strategy for combining audio buffers in case this unit is connected to several units |
name & copy constructor
| pName | unit name | |
| pUnit | unit to copy properties from |
| LimiterUnit::LimiterUnit | ( | const data::Values & | pValues | ) | throw (SynthException) |
values based constructor
| pValues | unit values |
| SynthException | failed to create unit |
| LimiterUnit::~LimiterUnit | ( | ) | [virtual] |
destructor
| void LimiterUnit::process | ( | Buffer * | pBuffer | ) | throw (SynthException) [virtual] |
| String LimiterUnit::info | ( | bool | pPropagate = false, |
|
| bool | pShowPorts = true | |||
| ) | const [virtual] |
obtain textual unit information
| pPropagate | if true, the unit calls the info methods of its input ports | |
| pShowPorts | print port information |
Reimplemented from iso::synth::ProcessUnit.
const String LimiterUnit::sClassName [static] |
ControlPort* iso::synth::LimiterUnit::mThresh1 [protected] |
operand control port
ControlPort* iso::synth::LimiterUnit::mThresh2 [protected] |
Buffer* iso::synth::LimiterUnit::mT1Buffer [protected] |
operand control port buffer
Buffer* iso::synth::LimiterUnit::mT2Buffer [protected] |
1.5.1