#include <jack/jack.h>#include <cshellsynth/atomic-types.h>#include <cshellsynth/synth.h>Go to the source code of this file.
Data Structures | |
| struct | cs_parab_t |
Defines | |
| #define | cs_parab_destroy(cs_parab) cs_synth_destroy((cs_synth_t *) (cs_parab)) |
| #define | cs_parab_set_freq(cs_parab, freq) cs_synth_set_freq((cs_synth_t *) (cs_parab), (freq)) |
| #define | cs_parab_set_offset(cs_parab, offset) cs_synth_set_offset((cs_synth_t *) (cs_parab), (offset)) |
| #define | cs_parab_set_amp(cs_parab, amp) cs_synth_set_amp((cs_synth_t *) (cs_parab), (amp)) |
Functions | |
| int | cs_parab_init (cs_parab_t *self, const char *client_name, jack_options_t flags, char *server_name) |
Parabolic Wave Synth
Ruby version: Synths::Parabola
Makes a wave of the equation:
2 2 π ( (ft - floor(ft)) - 0.5) - 1/12 )
Which is equivalent to:
inf 2 Σ sin(n*wt) / n n=1
| #define cs_parab_destroy | ( | cs_parab | ) | cs_synth_destroy((cs_synth_t *) (cs_parab)) |
Destroy parabola synth
See cs_synth_destroy
| #define cs_parab_set_amp | ( | cs_parab, | |||
| amp | ) | cs_synth_set_amp((cs_synth_t *) (cs_parab), (amp)) |
| #define cs_parab_set_freq | ( | cs_parab, | |||
| freq | ) | cs_synth_set_freq((cs_synth_t *) (cs_parab), (freq)) |
| #define cs_parab_set_offset | ( | cs_parab, | |||
| offset | ) | cs_synth_set_offset((cs_synth_t *) (cs_parab), (offset)) |
| int cs_parab_init | ( | cs_parab_t * | self, | |
| const char * | client_name, | |||
| jack_options_t | flags, | |||
| char * | server_name | |||
| ) |
Initialize parabola synth
See cs_synth_destroy
1.6.3