Jamoma API  0.6.0.a19
TTMultiMixer Class Reference

TTMultiMixer mixes N input signals (presumably of matching channel counts) to M output signals (again presumably of matching channel counts). More...

#include <TTMultiMixer.h>

+ Inheritance diagram for TTMultiMixer:
+ Collaboration diagram for TTMultiMixer:

Protected Member Functions

TTErr processAudio (TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs)
 A standard audio processing method as used by TTBlue objects. More...
 
TTErr setGain (const TTValue &newValue, TTValue &e)
 setter for converting gain input from db to linear. More...
 

Detailed Description

TTMultiMixer mixes N input signals (presumably of matching channel counts) to M output signals (again presumably of matching channel counts).

Definition at line 18 of file TTMultiMixer.h.

Member Function Documentation

TTErr TTMultiMixer::processAudio ( TTAudioSignalArrayPtr  inputs,
TTAudioSignalArrayPtr  outputs 
)
protected

A standard audio processing method as used by TTBlue objects.

Definition at line 214 of file TTMultiMixer.cpp.

References TTAudioSignal::clear(), TTMatrix::get2d(), kTTErrNone, and TTAudioSignalArray::numAudioSignals.

+ Here is the call graph for this function:

TTErr TTMultiMixer::setGain ( const TTValue newValue,
TTValue e 
)
protected

setter for converting gain input from db to linear.

Parameters
newValueThe argument must consist of three values:
  • The x coordinate of the matrix point (beginning with zero)
  • The y coordinate of the matrix point (beggining with zero)
  • The gain level of the matrix point (in dB)
Returns
An error code.

Definition at line 118 of file TTMultiMixer.cpp.

References kTTErrNone, kTTErrWrongNumValues, TTMatrix::set2d(), TTValue::size(), and TTDecibelsToLinearGain().

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: