src/cshellsynth/lin2exp.h File Reference

#include <jack/jack.h>
#include <cshellsynth/atomic-types.h>
#include <cshellsynth/filter.h>

Go to the source code of this file.

Data Structures

struct  cs_lin2exp_t

Defines

#define cs_lin2exp_destroy(cs_lin2exp)   cs_filter_destroy((cs_filter_t *) (cs_lin2exp))
#define cs_lin2exp_set_in(self, in)   cs_filter_set_in((cs_filter_t *) (self), in)

Functions

int cs_lin2exp_init (cs_lin2exp_t *self, const char *client_name, jack_options_t flags, char *server_name)
void cs_lin2exp_set_zero (cs_lin2exp_t *self, float zero)

Detailed Description

Linear to Exponential Filter

Ruby version: Filters::Lin2Exp

Translates a linear change into an exponential change according to the equation:

  x
z2

where x is the original input, and z is zero, the value when x is 0

If z is a frequency, x is the number of octaves to shift that frequency.


Define Documentation

#define cs_lin2exp_destroy ( cs_lin2exp   )     cs_filter_destroy((cs_filter_t *) (cs_lin2exp))

Destroy distortion filter

See cs_filter_destroy

#define cs_lin2exp_set_in ( self,
in   )     cs_filter_set_in((cs_filter_t *) (self), in)

Function Documentation

int cs_lin2exp_init ( cs_lin2exp_t self,
const char *  client_name,
jack_options_t  flags,
char *  server_name 
)

Initialize distortion filter

See cs_filter_init

void cs_lin2exp_set_zero ( cs_lin2exp_t self,
float  zero 
)

Set zero

Ruby version: zero=

Parameters:
zero the value when the input is 0.
 All Data Structures Files Functions Variables Typedefs Enumerations Defines
Generated on Thu Sep 2 23:47:09 2010 for cshellsynth by  doxygen 1.6.3