#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) |
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 cs_lin2exp_destroy | ( | cs_lin2exp | ) | cs_filter_destroy((cs_filter_t *) (cs_lin2exp)) |
Destroy distortion filter
| #define cs_lin2exp_set_in | ( | self, | |||
| in | ) | cs_filter_set_in((cs_filter_t *) (self), in) |
| 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=
| zero | the value when the input is 0. |
1.6.3