CSL 5.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Namespaces | Macros
Binaural.h File Reference
`#include "BinauralDB.h"`

Go to the source code of this file.

## Classes
class | csl::BinauralPanner
| forward declaration More...
class | csl::BinauralSourceCache
| BinauralSourceCache: used for caching previous state of spatial sources. This has the history of input FFTs and the last output sample block for OLA. More...

## Namespaces
namespace | csl
| AdditiveInstrument.h – Sum-of-sines synthesis instrument class.

## Macros
#define | SUM_DOWNS 1
| Binaural.h – Specification of the HRTF-based binaural spatializer. This is the CSL 5 version that uses the FFT wrapper framework.
#define | FFT_DOWNS 2
#define | LEN_DOWNS 1

## Macro Definition Documentation

#define SUM_DOWNS 1

Binaural.h – Specification of the HRTF-based binaural spatializer. This is the CSL 5 version that uses the FFT wrapper framework.

Classes BinauralPanner: place sources in 3D using block-wise convolution with an HRTF; best heard over headphones. Supports multiple moving sources and does cached multi-block FFT/IFFT convolution.

BinauralSourceCache: used for caching previous state of spatial sources.

The companion file has the classes HRTF: holds the data that corresponds to an HRTF for a single position. HRTFDatabase: vector of HRTFs; implemented as a Singleton because it's large.

See the copyright notice and acknowledgment of authors in the file COPYRIGHT Created by Jorge Castellanos on 7/19/06. Inspired by and partially based on the VST HRTF Plug-in written by Ryan Avery. Rewritten for FFT wrappers and pluggable sound file APIs in 8/09 by STP.

Todo:

  HRTFs should be equalized, currently they are being loaded and used raw.

  Interpolation of HRTFs. Currently the closest HRTF is being used.

Definition at line 35 of file Binaural.h.

Referenced by csl::BinauralPanner::BinauralPanner().

#define FFT_DOWNS 2

Definition at line 36 of file Binaural.h.

#define LEN_DOWNS 1

Definition at line 37 of file Binaural.h.

Referenced by csl::BinauralPanner::nextBuffer().