This class implements a circular buffer to buffer audio samples. More...
#include <StereoFieldBuffer.h>
Public Member Functions | |
| StereoFieldBuffer () | |
| void | setBufferSize (int newNumChannels, int newNumSamples) |
| void | pushSampleBlock (juce::AudioBuffer< FloatType > buffer, int numSamples) |
| void | resetMaxValues () |
| juce::Path | getOscilloscope (const int numSamples, const juce::Rectangle< FloatType > bounds, int leftIdx, int rightIdx) const |
| void | getDirections (std::vector< FloatType > &directions, int numSamples, int leftIdx, int rightIdx) |
This class implements a circular buffer to buffer audio samples.
At any time the GUI can ask for a stereo field visualisation of two neightbouring channels.
| StereoFieldBuffer | ( | ) |
| void setBufferSize | ( | int | newNumChannels, |
| int | newNumSamples | ||
| ) |
| void pushSampleBlock | ( | juce::AudioBuffer< FloatType > | buffer, |
| int | numSamples | ||
| ) |
| void resetMaxValues | ( | ) |
| juce::Path getOscilloscope | ( | const int | numSamples, |
| const juce::Rectangle< FloatType > | bounds, | ||
| int | leftIdx, | ||
| int | rightIdx | ||
| ) | const |
| void getDirections | ( | std::vector< FloatType > & | directions, |
| int | numSamples, | ||
| int | leftIdx, | ||
| int | rightIdx | ||
| ) |