JUCE: juce::dsp::Panner< SampleType > Class Template Reference

JUCE

- Main Page
- Related Pages
- Topics
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
juce::dsp::Panner< SampleType > Class Template Reference
juce_dsp » processors

A processor to perform panning operations on stereo buffers. More...

`#include <juce_Panner.h>`

## Public Types
using | Rule = PannerRule

## Public Member Functions
| Panner ()
| Constructor.
void | setRule (Rule newRule)
| Sets the panning rule.
void | setPan (SampleType newPan)
| Sets the current panning value, between -1 (full left) and 1 (full right).
void | prepare (const ProcessSpec &spec)
| Initialises the processor.
void | reset ()
| Resets the internal state variables of the processor.
template<typename ProcessContext >
void | process (const ProcessContext &context) noexcept
| Processes the input and output samples supplied in the processing context.

## Detailed Description

template<typename SampleType>
class juce::dsp::Panner< SampleType >

A processor to perform panning operations on stereo buffers.

## Member Typedef Documentation

## ◆ Rule

template<typename SampleType >

using juce::dsp::Panner< SampleType >::Rule = PannerRule

## Constructor & Destructor Documentation

## ◆ Panner()

template<typename SampleType >

juce::dsp::Panner< SampleType >::Panner | ( |  | ) |

Constructor.

## Member Function Documentation

## ◆ setRule()

template<typename SampleType >

void juce::dsp::Panner< SampleType >::setRule | ( | Rule | newRule | ) |

Sets the panning rule.

## ◆ setPan()

template<typename SampleType >

void juce::dsp::Panner< SampleType >::setPan | ( | SampleType | newPan | ) |

Sets the current panning value, between -1 (full left) and 1 (full right).

## ◆ prepare()

template<typename SampleType >

void juce::dsp::Panner< SampleType >::prepare | ( | const ProcessSpec & | spec | ) |

Initialises the processor.

## ◆ reset()

template<typename SampleType >

void juce::dsp::Panner< SampleType >::reset | ( |  | ) |

Resets the internal state variables of the processor.

## ◆ process()

template<typename SampleType >
template<typename ProcessContext >

void juce::dsp::Panner< SampleType >::process | ( | const ProcessContext & | context | ) |
| noexcept

Processes the input and output samples supplied in the processing context.

References jassert.

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

- juce_Panner.h