File: sigpack.c

package info (click to toggle)
pd-sigpack 0.0.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 312 kB
  • sloc: ansic: 1,666; makefile: 503
file content (70 lines) | stat: -rw-r--r-- 1,592 bytes parent folder | download | duplicates (2)
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
59
60
61
62
63
64
65
66
67
68
69
70
#ifndef VERSION
#define VERSION "0.04"
#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 hardlimit_tilde_setup();
void harmgen_tilde_setup();
void impulse_tilde_setup();
void rectify_tilde_setup();
void round_tilde_setup();
void saturate_tilde_setup();
void shape_tilde_setup();
void sieve_tilde_setup();
void split_tilde_setup();
void transient_tilde_setup();
void ustep_tilde_setup();
void valverect_tilde_setup();
void vowel_tilde_setup();
void wavewrap_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();
	 hardlimit_tilde_setup();
	 harmgen_tilde_setup();
	 impulse_tilde_setup();
	 rectify_tilde_setup();
	 round_tilde_setup();
	 saturate_tilde_setup();
	 shape_tilde_setup();
	 sieve_tilde_setup();
	 split_tilde_setup();
	 transient_tilde_setup();
	 ustep_tilde_setup();
	 valverect_tilde_setup();
	 vowel_tilde_setup();
	 wavewrap_tilde_setup();
     
     post("sigpack"" "VERSION " | 12.2007 | www.weiss-archiv.de");
}