|
Jamoma API
0.6.0.a19
|
j.envexp - Create envelope with linear attack and exponential decay. More...
#include "JamomaForMax.h"
Include dependency graph for j.envexp.cpp:Go to the source code of this file.
Macros | |
| #define | NUM_OF_POINTS 128 |
| maximum number of points that line~ accepts | |
Functions | |
| void * | envExp_new (Symbol *s, long argc, t_atom *argv) |
| Creates new instance. | |
| void | envExp_bang (t_envExp *x) |
| Trigger new amplitude envelope using currenlty stored values. More... | |
| void | envExp_float (t_envExp *x, double f) |
| Set peak amplitude attribute and trigger output. More... | |
| void | envExp_assist (t_envExp *x, void *b, long msg, long arg, char *dst) |
| Provides assistance cues. More... | |
| void | envExp_setattack (t_envExp *x, void *attr, long argc, t_atom *argv) |
| Set attack time in ms. | |
| void | envExp_setamplitude (t_envExp *x, void *attr, long argc, t_atom *argv) |
| Sets the peak amplitude. | |
| void | envExp_setdecayrate (t_envExp *x, void *attr, long argc, t_atom *argv) |
| Sets the decay rate attribute. | |
| void | envExp_setthreshold (t_envExp *x, void *attr, long argc, t_atom *argv) |
| Sets the threshold attribute. | |
| void | envExp_steal (t_envExp *x, long var) |
| Sets the note stealing attribute. | |
| void | envExp_calculate (t_envExp *x) |
| Calculates array of envelope points. | |
| int JAMOMA_EXPORT_MAXOBJ | main (void) |
| Class Definition. More... | |
Variables | |
| t_class * | this_class |
| Required. Global pointing to this class. | |
j.envexp - Create envelope with linear attack and exponential decay.
This object replaces tl.envexp, previously a part of the tl.objects distribution.
Definition in file j.envexp.cpp.
| void envExp_assist | ( | t_envExp * | x, |
| void * | b, | ||
| long | msg, | ||
| long | arg, | ||
| char * | dst | ||
| ) |
Provides assistance cues.
Definition at line 288 of file j.envexp.cpp.
Referenced by main().
| void envExp_bang | ( | t_envExp * | x | ) |
Trigger new amplitude envelope using currenlty stored values.
Definition at line 211 of file j.envexp.cpp.
References NUM_OF_POINTS.
Referenced by envExp_float(), and main().
| void envExp_float | ( | t_envExp * | x, |
| double | f | ||
| ) |
Set peak amplitude attribute and trigger output.
Definition at line 220 of file j.envexp.cpp.
References envExp_bang(), and envExp_calculate().
Referenced by main().
Here is the call graph for this function:| int JAMOMA_EXPORT_MAXOBJ main | ( | void | ) |
Class Definition.
Set up this class as a Max external the first time an object of this kind is instantiated.
Definition at line 117 of file j.envexp.cpp.
References envExp_assist(), envExp_bang(), envExp_float(), envExp_new(), envExp_setamplitude(), envExp_setattack(), envExp_setdecayrate(), envExp_setthreshold(), and this_class.
Here is the call graph for this function: