/
README
69 lines (51 loc) · 1.17 KB
/
README
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
ZenGarden
Copyright RjDj, 2009
By Martin Roth <mhroth@rjdj.me>
Requirements
------------
libsndfile
- Darwin/OSX: port install libsndfile
- Debian GNU/Linux: apt-get install libsndfile
- Other Linux's may vary
java - for the java example - you need at least java5
- Debian: apt-get install sun-java6-jdk
Build
-----
Here is how to build the java demo from scratch.
cd src
make
You can build individual components like so:
# build the library as a shared object file
make libzengarden
# build the Java Native Interface as a shared object file
make libjnizengarden
# build the Java hosted example
make examplegarden
Test
----
This runs the Java hosted example
./runme.sh
Advantages
----------
Why use ZenGarden?
* Clean code
* Portable and embeddable
* Embedded devices, synthesizers
* Mobile phones
* Inside other languages
* Compiling Pd as a library is non-trivial and requires modifications to Pd vanilla
* Less bloat
* No GUI
* No hardware specific audio driver code
Layout
------
src/
- Source code
src/me/
- Java JNI demo source
Xcode/
- Xcode project
pd-patches/
- Demo Pd patches
pd-patches/unittest/
- Pd patches for doing unit testing of ZenGarden