#include <foleys_MagicLevelSource.h>
◆ MagicLevelSource()
◆ pushSamples()
| void pushSamples |
( |
const juce::AudioBuffer< float > & | buffer | ) |
|
Send new sample values to the measurement.
◆ getRMSvalue()
| float getRMSvalue |
( |
int | channel | ) |
const |
◆ getMaxValue()
| float getMaxValue |
( |
int | channel | ) |
const |
◆ setupSource()
| void setupSource |
( |
int | numChannels, |
|
|
double | sampleRate, |
|
|
int | maxKeepMS ) |
Setup the source to measure a signal.
- Parameters
-
| numChannels | the number of channels that will be sent |
| sampleRate | the sampleRate the signal is timed in |
| maxKeepMS | the number of milliseconds to keep the max |
References setNumChannels().
◆ setNumChannels()
| void setNumChannels |
( |
int | numChannels | ) |
|
Set the number of channels to measure.
This should be done on a non-realtime thread.
Referenced by setupSource().
◆ getNumChannels()
| int getNumChannels |
( |
| ) |
const |
The documentation for this class was generated from the following files: