#include <jack/jack.h>#include <cshellsynth/jclient.h>#include <cshellsynth/atomic-types.h>Go to the source code of this file.
Data Structures | |
| struct | cs_noise_t |
Defines | |
| #define | cs_noise_destroy(cs_noise) jclient_destroy((jclient_t *) (cs_noise)) |
| #define | CS_WHITE 1 |
| #define | CS_PINK 2 |
| #define | CS_RED 3 |
Functions | |
| int | cs_noise_init (cs_noise_t *self, const char *client_name, jack_options_t flags, char *server_name) |
| void | cs_noise_set_kind (cs_noise_t *self, int kind) |
| void | cs_noise_set_offset (cs_noise_t *self, float offset) |
| void | cs_noise_set_amp (cs_noise_t *self, float amp) |
Noise Generator
Ruby version: Synths::Noise
| #define cs_noise_destroy | ( | cs_noise | ) | jclient_destroy((jclient_t *) (cs_noise)) |
Destroy noise generator
| int cs_noise_init | ( | cs_noise_t * | self, | |
| const char * | client_name, | |||
| jack_options_t | flags, | |||
| char * | server_name | |||
| ) |
Initialize noise generator
| void cs_noise_set_amp | ( | cs_noise_t * | self, | |
| float | amp | |||
| ) |
| void cs_noise_set_kind | ( | cs_noise_t * | self, | |
| int | kind | |||
| ) |
Set which kind of noise to generate.
Ruby version: kind=
Ruby version of values is Synths::Noise::White, Synths::Noise::Pink, and Synths::Noise::Red
| kind | CS_WHITE, CS_PINK, or CS_RED. Red is currently unsupported. |
| void cs_noise_set_offset | ( | cs_noise_t * | self, | |
| float | offset | |||
| ) |
1.6.3