00001
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef CSHELLSYNTH_NOTCH_H
00031 #define CSHELLSYNTH_NOTCH_H 1
00032
00033 #include <jack/jack.h>
00034 #include <cshellsynth/atomic-types.h>
00035 #include <cshellsynth/filter.h>
00036 #include <cshellsynth/lowpass.h>
00037
00045 typedef cs_lowpass_t cs_notch_t;
00046
00052 #define cs_notch_destroy(cs_notch) cs_filter_destroy((cs_filter_t *) (cs_notch))
00053
00059 int cs_notch_init(cs_notch_t *self, const char *client_name, jack_options_t flags, char *server_name);
00060
00064 #define cs_notch_set_in(self, in) cs_filter_set_in(self, in)
00065
00069 #define cs_notch_set_freq(self, freq) cs_lowpass_set_freq(self, freq)
00070
00074 #define cs_notch_set_Q(self, Q) cs_lowpass_set_Q(self, Q)
00075
00079 #define cs_notch_set_atten(self, atten) cs_lowpass_set_atten(self, atten)
00080
00081 #endif