Nsound  0.9.4
Classes | Namespaces | Typedefs | Functions
Buffer.h File Reference
#include <Nsound/Nsound.h>
#include <Nsound/BufferSelection.h>
#include <Nsound/CircularIterators.h>
#include <cmath>
#include <iostream>
#include <iterator>
#include <string>
#include <vector>
Include dependency graph for Buffer.h:

Go to the source code of this file.

Classes

class  Nsound::Buffer
 A Buffer for storing audio samples. More...
 

Namespaces

 Nsound
 

Typedefs

typedef std::vector< Buffer > Nsound::BufferVector
 
typedef std::vector< Buffer * > Nsound::BufferPointerVector
 

Functions

Buffer Nsound::operator+ (const Buffer &lhs, const Buffer &rhs)
 Add the Buffers together on a sample by sample basis. More...
 
Buffer Nsound::operator- (const Buffer &lhs, const Buffer &rhs)
 Subtract the Buffers together on a sample by sample basis. More...
 
Buffer Nsound::operator* (const Buffer &lhs, const Buffer &rhs)
 Multiply the Buffers together on a sample by sample basis. More...
 
Buffer Nsound::operator/ (const Buffer &lhs, const Buffer &rhs)
 Divide the samples in the Buffers sample by sample basis. More...
 
Buffer Nsound::operator^ (const Buffer &lhs, const Buffer &rhs)
 Raise the left hand side (lhs) samples to the power in the of the samples in the right hand side (rhs). More...
 
Buffer Nsound::operator+ (const Buffer &lhs, float64 d)
 Add the scalar d to every sample in the Buffer. More...
 
Buffer Nsound::operator- (const Buffer &lhs, float64 d)
 Subtract the scalar d to every sample in the Buffer. More...
 
Buffer Nsound::operator* (const Buffer &lhs, float64 d)
 Multiply the scalar d to every sample in the Buffer. More...
 
Buffer Nsound::operator/ (const Buffer &lhs, float64 d)
 Divide every sample in the Buffer by d. More...
 
Buffer Nsound::operator^ (const Buffer &lhs, float64 d)
 Each sample in the Buffer becomes the power x^n. More...
 
Buffer Nsound::operator+ (float64 d, const Buffer &rhs)
 Add every sample in the Buffer to the scalar d. More...
 
Buffer Nsound::operator- (float64 d, const Buffer &rhs)
 Subtract every sample in the Buffer from the scalar d. More...
 
Buffer Nsound::operator* (float64 d, const Buffer &rhs)
 Multiply the scalar d by every sample in the Buffer. More...
 
Buffer Nsound::operator/ (float64 d, const Buffer &rhs)
 Divide the scalar d by every sample in the Buffer. More...
 
Buffer Nsound::operator^ (float64 d, const Buffer &rhs)
 Raise the scalar d to the power of every sample in the Buffer. More...
 
std::ostream & Nsound::operator<< (std::ostream &out, const Buffer &rhs_buffer)