NetKS Class Reference

A simple (basic) network Karplus Strong. More...

#include <NetKS.h>

Inheritance diagram for NetKS:

Inheritance graph
[legend]
Collaboration diagram for NetKS:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual int getNumInputs ()
 Return Number of Input Channels.
virtual int getNumOutputs ()
 Return Number of Output Channels.
virtual void instanceInit (int samplingFreq)
virtual void init (int samplingFreq)
 Do proper Initialization of members and class instances. By default this initializes the Sampling Frequency. If a class instance depends on the sampling frequency, it should be initialize here.
virtual void compute (int count, float **input, float **output)
 Compute process.

Static Public Member Functions

static void classInit (int)

Private Slots

void exciteString ()
 Stlot to excite (play) the string.

Private Attributes

float fbutton0
float fVec0 [2]
float fRec0 [2]
int iRec1 [2]
float fVec1 [2]


Detailed Description

A simple (basic) network Karplus Strong.

This plugin creates a one channel network karplus strong.


Member Function Documentation

void NetKS::exciteString (  )  [inline, private, slot]

Stlot to excite (play) the string.

Todo:
Define this number based on the sampling rate and buffer size

virtual int NetKS::getNumInputs (  )  [inline, virtual]

Return Number of Input Channels.

Implements ProcessPlugin.

virtual int NetKS::getNumOutputs (  )  [inline, virtual]

Return Number of Output Channels.

Implements ProcessPlugin.

static void NetKS::classInit ( int   )  [inline, static]

virtual void NetKS::instanceInit ( int  samplingFreq  )  [inline, virtual]

virtual void NetKS::init ( int  samplingRate  )  [inline, virtual]

Do proper Initialization of members and class instances. By default this initializes the Sampling Frequency. If a class instance depends on the sampling frequency, it should be initialize here.

Reimplemented from ProcessPlugin.

virtual void NetKS::compute ( int  nframes,
float **  inputs,
float **  outputs 
) [inline, virtual]

Compute process.

Implements ProcessPlugin.


Member Data Documentation

float NetKS::fbutton0 [private]

float NetKS::fVec0[2] [private]

float NetKS::fRec0[2] [private]

int NetKS::iRec1[2] [private]

float NetKS::fVec1[2] [private]


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