Video display and composing engine for JUCE
Loading...
Searching...
No Matches
StereoFieldBuffer< FloatType > Class Template Reference

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)
 

Detailed Description

template<typename FloatType>
class foleys::StereoFieldBuffer< FloatType >

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.

Constructor & Destructor Documentation

◆ StereoFieldBuffer()

template<typename FloatType >
StereoFieldBuffer ( )

Member Function Documentation

◆ setBufferSize()

template<typename FloatType >
void setBufferSize ( int  newNumChannels,
int  newNumSamples 
)

◆ pushSampleBlock()

template<typename FloatType >
void pushSampleBlock ( juce::AudioBuffer< FloatType >  buffer,
int  numSamples 
)

◆ resetMaxValues()

template<typename FloatType >
void resetMaxValues ( )

◆ getOscilloscope()

template<typename FloatType >
juce::Path getOscilloscope ( const int  numSamples,
const juce::Rectangle< FloatType >  bounds,
int  leftIdx,
int  rightIdx 
) const

◆ getDirections()

template<typename FloatType >
void getDirections ( std::vector< FloatType > &  directions,
int  numSamples,
int  leftIdx,
int  rightIdx 
)

The documentation for this class was generated from the following file: