-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathhoa.library.cpp
83 lines (71 loc) · 2.6 KB
/
hoa.library.cpp
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
71
72
73
74
75
76
77
78
79
80
81
82
/*
// Copyright (c) 2012-2015 Pierre Guillot, Eliott Paris & Thomas Le Meur CICM, Universite Paris 8.
// For information on usage and redistribution, and for a DISCLAIMER OF ALL
// WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*/
#include "hoa.library.hpp"
char hoaversion[] = "Beta 2.2";
static t_eclass *cream_class;
static void *hoa_new(t_symbol *s)
{
t_eobj *x = (t_eobj *)eobj_new(cream_class);
if(x)
{
logpost(x, 3, "HOA Library by Pierre Guillot, Eliott Paris & Thomas Le Meur\n© 2013 - 2015 CICM | Paris 8 University\nVersion %s (%s) for Pure Data %i.%i\n",hoaversion, __DATE__, PD_MAJOR_VERSION, PD_MINOR_VERSION);
}
return (x);
}
extern "C" void hoa_setup(void)
{
cream_class = eclass_new("hoa", (method)hoa_new, (method)eobj_free, (short)sizeof(t_eobj), CLASS_PD, A_NULL, 0);
cream_class = eclass_new("Hoa", (method)hoa_new, (method)eobj_free, (short)sizeof(t_eobj), CLASS_PD, A_NULL, 0);
t_eobj* obj = (t_eobj *)hoa_new(NULL);
if(!obj)
{
verbose(3, "HOA Library by Pierre Guillot, Eliott Paris & Thomas Le Meur\n© 2013 - 2015 CICM | Paris 8 University\nVersion %s (%s) for Pure Data %i.%i\n",hoaversion, __DATE__, PD_MAJOR_VERSION, PD_MINOR_VERSION);
eobj_free(obj);
}
// HOA COMMON //
setup_hoa0x2econnect();
setup_hoa0x2edac_tilde();
setup_hoa0x2ein();
setup_hoa0x2ein_tilde();
setup_hoa0x2eout();
setup_hoa0x2eout_tilde();
setup_hoa0x2epi();
setup_hoa0x2epi_tilde();
setup_hoa0x2eprocess_tilde();
setup_hoa0x2ethisprocess_tilde();
setup_hoa0x2emap();
// HOA 2D //
setup_hoa0x2e2d0x2edecoder_tilde();
setup_hoa0x2e2d0x2eencoder_tilde();
setup_hoa0x2e2d0x2emap_tilde();
setup_hoa0x2e2d0x2emeter_tilde();
setup_hoa0x2e2d0x2eoptim_tilde();
setup_hoa0x2e2d0x2eprojector_tilde();
setup_hoa0x2e2d0x2erecomposer_tilde();
setup_hoa0x2e2d0x2erotate_tilde();
setup_hoa0x2e2d0x2escope_tilde();
setup_hoa0x2e2d0x2espace();
setup_hoa0x2e2d0x2ewider_tilde();
setup_hoa0x2e2d0x2eexchanger_tilde();
// HOA 3D //
setup_hoa0x2e3d0x2edecoder_tilde();
setup_hoa0x2e3d0x2eencoder_tilde();
setup_hoa0x2e3d0x2eoptim_tilde();
setup_hoa0x2e3d0x2ewider_tilde();
setup_hoa0x2e3d0x2emap_tilde();
setup_hoa0x2e3d0x2emeter_tilde();
setup_hoa0x2e3d0x2escope_tilde();
setup_hoa0x2e3d0x2eexchanger_tilde();
epd_add_folder("Hoa", "patchers");
epd_add_folder("Hoa", "clippings");
epd_add_folder("Hoa", "dependencies");
epd_add_folder("Hoa", "media");
epd_add_folder("Hoa", "misc");
}
extern "C" void Hoa_setup(void)
{
hoa_setup();
}