File: mjLib.c

package info (click to toggle)
pd-mjlib 0.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 1,296 kB
  • ctags: 369
  • sloc: ansic: 1,273; makefile: 333
file content (42 lines) | stat: -rw-r--r-- 860 bytes parent folder | download | duplicates (3)
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("");
}