Home   Information   Classes   Download   Usage   Mail List   Requirements   Links   Tutorial


ReedTable Class Reference

#include <ReedTable.h>

Inheritance diagram for ReedTable:

Function Stk List of all members.

Detailed Description

STK reed table class.

This class implements a simple one breakpoint, non-linear reed function, as described by Smith (1986). This function is based on a memoryless non-linear spring model of the reed (the reed mass is ignored) which saturates when the reed collides with the mouthpiece facing.

See McIntyre, Schumacher, & Woodhouse (1983), Smith (1986), Hirschman, Cook, Scavone, and others for more information.

by Perry R. Cook and Gary P. Scavone, 1995 - 2004.

Definition at line 25 of file ReedTable.h.

Public Member Functions

 ReedTable ()
 Default constructor.

 ~ReedTable ()
 Class destructor.

void setOffset (StkFloat offset)
 Set the table offset value.

void setSlope (StkFloat slope)
 Set the table slope value.

StkFloat tick (StkFloat input)
 Return the function value for input.

StkFloat * tick (StkFloat *vector, unsigned int vectorSize)
 Take vectorSize inputs from vector and replace them with corresponding outputs.

StkFramestick (StkFrames &frames, unsigned int channel=1)
 Take a channel of the StkFrames object as inputs to the function and replace with corresponding outputs.


Member Function Documentation

void ReedTable::setOffset StkFloat  offset  ) 
 

Set the table offset value.

The table offset roughly corresponds to the size of the initial reed tip opening (a greater offset represents a smaller opening).

void ReedTable::setSlope StkFloat  slope  ) 
 

Set the table slope value.

The table slope roughly corresponds to the reed stiffness (a greater slope represents a harder reed).

StkFloat ReedTable::tick StkFloat  input  )  [virtual]
 

Return the function value for input.

The function input represents the differential pressure across the reeds.

Implements Function.

StkFrames& ReedTable::tick StkFrames frames,
unsigned int  channel = 1
[virtual]
 

Take a channel of the StkFrames object as inputs to the function and replace with corresponding outputs.

The channel argument should be one or greater (the first channel is specified by 1). An StkError will be thrown if the channel argument is zero or it is greater than the number of channels in the StkFrames object.

Reimplemented from Function.


The documentation for this class was generated from the following file:
The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.