Jamoma API  0.6.0.a19
TTSpat Class Reference

Generalized SpatLib rendering unit wrapper. More...

#include <TTSpat.h>

+ Inheritance diagram for TTSpat:
+ Collaboration diagram for TTSpat:

Protected Member Functions

TTErr setSpatFunction (const TTValue &aSpatFunction)
 Set what spatialisation function to use. More...
 
TTErr setSourceCount (const TTValue &aSource)
 Set the number of sources. More...
 
TTErr setSinkCount (const TTValue &aSink)
 Set number of destinations. More...
 
TTErr getSpatFunctions (const TTValue &, TTValue &listOfSpatFunctionsToReturn)
 Return a list of all the available spatialisation methods. More...
 
TTErr process (TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs)
 Return a list of all the available parameters that are specific to the current spatialisation method. More...
 

Protected Attributes

TTChannelCount mSourceCount
 The number of sources.
 
TTChannelCount mSinkCount
 The number of destinations.
 

Detailed Description

Generalized SpatLib rendering unit wrapper.

Definition at line 24 of file TTSpat.h.

Member Function Documentation

TTErr TTSpat::getSpatFunctions ( const TTValue ,
TTValue listOfSpatFunctionsToReturn 
)
protected

Return a list of all the available spatialisation methods.

Parameters

Definition at line 98 of file TTSpat.cpp.

References TTObject::GetRegisteredClassNamesForTags(), TTValue::resize(), and TT.

+ Here is the call graph for this function:

TTErr TTSpat::process ( TTAudioSignalArrayPtr  inputs,
TTAudioSignalArrayPtr  outputs 
)
protected

Return a list of all the available parameters that are specific to the current spatialisation method.

Parameters

Definition at line 187 of file TTSpat.cpp.

References TTAudioObjectBase::process().

+ Here is the call graph for this function:

TTErr TTSpat::setSinkCount ( const TTValue aSink)
protected

Set number of destinations.

Parameters
modeThe number of destinations that sound will be rendered to.
Returns
TTErr error code if the method fails to execute, else kTTErrNone.

Definition at line 146 of file TTSpat.cpp.

References mSinkCount, TTObjectBase::setAttributeValue(), and TT.

+ Here is the call graph for this function:

TTErr TTSpat::setSourceCount ( const TTValue aSource)
protected

Set the number of sources.

Parameters
modeThe number of sources to spatialise.
Returns
TTErr error code if the method fails to execute, else kTTErrNone.

Definition at line 139 of file TTSpat.cpp.

References mSourceCount, TTObjectBase::setAttributeValue(), and TT.

+ Here is the call graph for this function:

TTErr TTSpat::setSpatFunction ( const TTValue aSpatFunction)
protected

Set what spatialisation function to use.

Parameters
aSpatFunctionThe SpatLib renderer to use.
Returns
TTErr error code if the method fails to execute, else kTTErrNone.

Definition at line 57 of file TTSpat.cpp.

References kTTErrNone, mSinkCount, mSourceCount, TTObjectBase::setAttributeValue(), TT, and TTObjectBaseInstantiate().

+ Here is the call graph for this function:


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