Jamoma API  0.6.0.a19
j.pack_equal/j.pack.cpp File Reference

j.pack= : Max external packing several MSP audio signals onto one AudioGraph multichannel audio signal. More...

#include "j.pack.h"
+ Include dependency graph for j.pack_equal/j.pack.cpp:

Go to the source code of this file.

Functions

int C74_EXPORT main (void)
 Set up this class as a Max external the first time an object of this kind is instantiated. More...
 
PackPtr PackNew (t_symbol *msg, long argc, t_atom *argv)
 Create a new instance of the j.in= object. More...
 
void PackFree (PackPtr self)
 Called when the object is freed (destroyed), ensuring that memory is properly freed up. More...
 
void PackAssist (PackPtr self, void *b, long msg, long arg, char *dst)
 Provides assist strings in Max for object inlets and outlets. More...
 
TTErr PackReset (PackPtr self, long vectorSize)
 Reset audio for this object. More...
 
TTErr PackSetup (PackPtr self)
 This method is used internally by AudioGraph when configuring itself. More...
 
void PackDsp64 (PackPtr self, t_object *dsp64, short *count, double samplerate, long maxvectorsize, long flags)
 Called when MSP is compiling the DSP chain, used to set up audio processing. More...
 

Detailed Description

j.pack= : Max external packing several MSP audio signals onto one AudioGraph multichannel audio signal.

This object functions as a source (generator) for TTAudioSignal usable by a Jamoma AudioGraph dsp chain.

Authors
Tim Place, Trond Lossius, Nils Peters

Definition in file j.pack_equal/j.pack.cpp.

Function Documentation

int C74_EXPORT main ( void  )

Set up this class as a Max external the first time an object of this kind is instantiated.

Returns
Error message if the object fails to load.

Set up this class as a Max external the first time an object of this kind is instantiated.

Definition at line 24 of file j.pack_equal/j.pack.cpp.

References MaxAudioGraphDrop(), MaxAudioGraphObject(), PackAssist(), PackDsp64(), PackFree(), PackNew(), PackReset(), and PackSetup().

+ Here is the call graph for this function:

void PackAssist ( PackPtr  self,
void *  b,
long  msg,
long  arg,
char *  dst 
)

Provides assist strings in Max for object inlets and outlets.

Parameters
selfPointer to this instance of j.in=. Not used Is this a request for assistance regarding an inlet or outlet?
  • Which inlet or outlet number is the request relating to? Destination that the assistance string is to be copied to.

Definition at line 111 of file j.pack_equal/j.pack.cpp.

Referenced by main().

void PackDsp64 ( PackPtr  self,
t_object *  dsp64,
short *  count,
double  samplerate,
long  maxvectorsize,
long  flags 
)

Called when MSP is compiling the DSP chain, used to set up audio processing.

Parameters
selfPointer to this instance of j.in=.
dsp64
count
samplerate
maxvectorsize
flags

Definition at line 149 of file j.pack_equal/j.pack.cpp.

Referenced by main().

void PackFree ( PackPtr  self)

Called when the object is freed (destroyed), ensuring that memory is properly freed up.

Parameters
selfPointer to this instance of j.in=.

Definition at line 99 of file j.pack_equal/j.pack.cpp.

References TTObjectBaseRelease().

Referenced by main().

+ Here is the call graph for this function:

PackPtr PackNew ( t_symbol *  msg,
long  argc,
t_atom *  argv 
)

Create a new instance of the j.in= object.

Parameters
msgMessage to the new instance at creation time.
argcThe number of arguments to the object at instantiation.
argvPointer to an array of atoms containing instantiation arguments.
Returns
Pointer to this instance if successfully instantiated.

Definition at line 51 of file j.pack_equal/j.pack.cpp.

References kTTAudioGraphGenerator, TTValue::resize(), TTObjectBase::setAttributeValue(), TTDictionary::setSchema(), TT, ttEnvironment, and TTObjectBaseInstantiate().

Referenced by main().

+ Here is the call graph for this function:

TTErr PackReset ( PackPtr  self,
long  vectorSize 
)

Reset audio for this object.

Parameters
selfPointer to this instance of j.in=.
vectorSizeNot used currently.

Definition at line 125 of file j.pack_equal/j.pack.cpp.

Referenced by main().

TTErr PackSetup ( PackPtr  self)

This method is used internally by AudioGraph when configuring itself.

Parameters
selfPointer to this instance of j.in=.

Definition at line 131 of file j.pack_equal/j.pack.cpp.

References kTTErrNone.

Referenced by main().