Bela
|
Scope Class Reference
Public Member Functions | |
void | setup (unsigned int numChannels, float sampleRate) |
void | log (float chn1,...) |
void | log (float *values) |
bool | trigger () |
Detailed Description
- Examples:
- scope-analog/render.cpp, and scope/render.cpp.
Member Function Documentation
void Scope::setup | ( | unsigned int | numChannels, |
float | sampleRate | ||
) |
Setup the Scope.
- Parameters
-
numChannels number of channels in the scope. sampleRate sampleRate of the data passed in.
- Examples:
- scope-analog/render.cpp, and scope/render.cpp.
void Scope::log | ( | float | chn1, |
... | |||
) |
Logs a frame of data to the scope.
Pass one argument per channel (starting from the first), up to the number of channels of the object. Omitted values will be set to 0.
- Examples:
- scope-analog/render.cpp, and scope/render.cpp.
void Scope::log | ( | float * | values | ) |
Logs a frame of data to the scope.
- Parameters
-
values a pointer to an array containing numChannels values.
The documentation for this class was generated from the following file:
Generated on Sun Dec 22 2024 06:28:13 for Bela by 1.8.11