-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathINSTALL.txt
51 lines (29 loc) · 2.51 KB
/
INSTALL.txt
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
# about notes
##############################
## LOADING the library in Pd
##############################
[notes] is a library that contains three Pd objects. To use it, you can either 1) tell Pd to load the notesLib binary file at startup via Pd's "Preferences/Startup" dialog, or 2) use the [declare] object to load notes as needed per patch.
For method 1), make a new startup path in the Startup dialog, and provide the path to the notesLib binary in this directory. Note that you must not list the extension of the notesLib file (i.e., pd_linux, pd_darwin, or dll). For example:
/home/yourname/Pd/externals/notes/notesLib
When using Pd's Startup dialog on Windows, note that you still give the path with forward slashes, and spaces in the path are ok. There is still no need to list the library file extension of .dll. For instance:
C:/Users/Your Name/Documents/Pd/externals/notes/notesLib
Once you have listed the path to notesLib in the Startup dialog, you must quit and restart Pd.
For method 2), assuming notes is installed to the default Externals Install Directory, you can simply use the [declare] object like this:
[declare -lib notes/notesLib]
If notes is loaded successfully (using either method), you will see a message in Pd's post window stating the notes version number.
##############################
## BUILDING notes from source
##############################
As of notes 0.2, pd-lib-builder is used for building:
<https://github.com/pure-data/pd-lib-builder>
Once you have installed pd-lib-builder, you must specify its location at the bottom of the Makefile in this directory (default is one directory above, ie: "../"). You will also need to specify the location of puredata at the top of the Makefile in this directory.
Then, you can compile notesLib by typing "make" in this directory.
##############################
## INSTALLING LilyPond to compile PDFs directly from within Pd
##############################
## LINUX ##
Install lilypond via apt-get, yum, or similar and make sure you can run it from the command line and notes will find it.
## OSX ##
Install Lilypond with the regular installer from lilypond.org. Notes will use the default location in the Applications folder. If you install it elsewhere you will need to point to it from inside the patch by sending a lily_dir message to the notes object. See helpfile for further details.
## WINDOWS ##
Install Lilypond with the regular installer from lilypond.org, and then follow these instructions to run it in the command line: https://lilypond.org/windows.html