Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

Muter Class Reference

Sets start or end part of a float series to 0. More...

List of all members.

Public Member Functions

 Muter (float taperlen, bool tail=false)
void mute (ValueSeries< float > &, int sz, float mutepos) const

Static Public Member Functions

static float mutePos (float z, const SamplingData< float > &sd)

Protected Member Functions

void topMute (ValueSeries< float > &, int, float) const
void tailMute (ValueSeries< float > &, int, float) const

Protected Attributes

float taperlen_
bool tail_

Detailed Description

Sets start or end part of a float series to 0.

This object measures distance in units of samples.

Taper is cosine taper.


Constructor & Destructor Documentation

Muter::Muter ( float  taperlen,
bool  tail = false 
) [inline]

Member Function Documentation

void Muter::mute ( ValueSeries< float > &  ,
int  sz,
float  mutepos 
) const
static float Muter::mutePos ( float  z,
const SamplingData< float > &  sd 
) [inline, static]
void Muter::tailMute ( ValueSeries< float > &  ,
int  ,
float   
) const [protected]
void Muter::topMute ( ValueSeries< float > &  ,
int  ,
float   
) const [protected]

Member Data Documentation

bool Muter::tail_ [protected]
float Muter::taperlen_ [protected]