aboutsummaryrefslogtreecommitdiff
path: root/source/sIgpAck.c
blob: e666e75efadfa347f2dbd4ca2551f109bc619033 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#ifndef VERSION
#define VERSION "0.03"
#endif

#include <m_pd.h>


typedef struct _sigpack
{
     t_object x_obj;
} t_sigpack;

static t_class* sigpack_class;

void chop_tilde_setup();
void decimate_tilde_setup();
void diode_tilde_setup();
void foldback_tilde_setup();
void foldover_tilde_setup();
void freqdiv_tilde_setup();
void freqshift_tilde_setup();
void harmgen_tilde_setup();
void rectify_tilde_setup();
void round_tilde_setup();
void saturate_tilde_setup();
void sieve_tilde_setup();
void split_tilde_setup();
void ustep_tilde_setup();
void vowel_tilde_setup();

static void* sigpack_new(t_symbol* s) {
    t_sigpack *x = (t_sigpack *)pd_new(sigpack_class);
    return (x);
}

void sigpack_setup(void) 
{
    sigpack_class = class_new(gensym("sIgpAck"), (t_newmethod)sigpack_new, 0,
    	sizeof(t_sigpack), 0,0);

	 chop_tilde_setup();
	 decimate_tilde_setup();
	 diode_tilde_setup();
	 foldback_tilde_setup();
	 foldover_tilde_setup();
	 freqdiv_tilde_setup();
	 freqshift_tilde_setup();
	 harmgen_tilde_setup();
	 rectify_tilde_setup();
	 round_tilde_setup();
	 saturate_tilde_setup();
	 sieve_tilde_setup();
	 split_tilde_setup();
	 ustep_tilde_setup();
	 vowel_tilde_setup();
     
     post("sIgpAck"" "VERSION " weiss www.weiss-archiv.de");
}