aboutsummaryrefslogtreecommitdiff
path: root/mjLib.c
blob: a46f9a783438ba6035aa40165aa4c2c1ef0f178f (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
#ifdef NT
#include "stdafx.h"
#endif
#include "mjLib.h"
#include "m_pd.h"
#include "things.h"

typedef struct _mjLib
{
     t_object x_obj;
} t_mjLib;

static t_class* mjLib_class;



static void* mjLib_new(t_symbol* s) {
    t_mjLib *x = (t_mjLib *)pd_new( mjLib_class);
    return (x);
}

 void mjLib_setup(void) 
{
    mjLib_class = class_new(gensym("mjLib"), (t_newmethod)mjLib_new, 0,
    	sizeof(t_mjLib), 0, (t_atomtype)0);

      pin_tilde_setup();
	  metroplus_setup();
	  monorhythm_setup();
	  prob_setup();
	  about_setup();
	  synapseA_tilde_setup();
	  n2m_setup();
	  morse_setup();

     post("mjLib by mark williamson");
     post("Contact: mark@junklight.com");
     post("website: http://www.junklight.com");
     post("mjLib: version:  0.1 ");
     post("mjLib: compiled: "__DATE__);
	 post("");
}