-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.lisp
95 lines (75 loc) · 2.7 KB
/
package.lisp
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
83
84
85
86
87
88
89
90
91
92
93
94
95
;;;; package.lisp
(defpackage #:cl-pure-data
(:nicknames #:pd #:clpd)
(:use #:cl)
(:export
;; Hooks
#:*print-hook*
#:*bang-hook*
#:*float-hook*
#:*symbol-hook*
#:*list-hook*
#:*message-hook*
#:init-default-hooks
;; Audio
#:*audio-in-channels*
#:*audio-out-channels*
#:*audio-sample-rate*
#:*audio-block-size*
#:init-audio
#:process
;; Arrays
#:arr
#:contents
#:elem
;; Basic PD
#:*instance*
#:*verbose*
#:*search-path*
#:*queued*
#:with-pd
#:defpdfun
#:open-patch
#:close-patch
#:with-patch
#:message
#:subscribe
#:release
;; Proxies
#:defproxy))
(defpackage #:libpd
(:import-from #:cffi #:defcfun)
(:use #:cl)
(:export
#:libpd-init #:libpd-clear-search-path #:libpd-add-to-search-path
#:libpd-openfile #:libpd-closefile #:libpd-getdollarzero
#:libpd-blocksize #:libpd-init-audio
#:libpd-process-raw #:libpd-process-float #:libpd-process-double #:libpd-process-short
#:libpd-arraysize #:libpd-resize-array #:libpd-read-array #:libpd-write-array
#:libpd-bang #:libpd-float #:libpd-symbol
#:libpd-set-float #:libpd-set-symbol
#:libpd-list #:libpd-message
#:libpd-start-message #:libpd-add-float #:libpd-add-symbol
#:libpd-finish-list #:libpd-finish-message
#:libpd-exists #:libpd-bind #:libpd-unbind
#:libpd-is-float #:libpd-is-symbol #:libpd-get-float #:libpd-get-symbol #:libpd-next-atom
#:libpd-set-printhook #:libpd-set-messagehook
#:libpd-set-banghook #:libpd-set-floathook #:libpd-set-symbolhook #:libpd-set-listhook
#:libpd-noteon #:libpd-controlchange #:libpd-programchange #:libpd-pitchbend #:libpd-aftertouch
#:libpd-polyaftertouch #:libpd-midibyte #:libpd-sysex #:libpd-sysrealtime
#:libpd-set-noteonhook #:libpd-set-controlchangehook #:libpd-set-programchangehook
#:libpd-set-pitchbendhook #:libpd-set-aftertouchhook #:libpd-set-polyaftertouchhook
#:libpd-set-midibytehook
#:libpd-start-gui #:libpd-stop-gui #:libpd-poll-gui
#:libpd-new-instance #:libpd-set-instance #:libpd-free-instance
#:libpd-this-instance #:libpd-get-instance #:libpd-num-instances
#:libpd-set-verbose #:libpd-get-verbose
#:libpd-queued-init #:libpd-queued-release
#:libpd-queued-receive-pd-messages #:libpd-queued-receive-midi-messages
#:libpd-set-queued-printhook #:libpd-set-queued-messagehook
#:libpd-set-queued-banghook #:libpd-set-queued-floathook #:libpd-set-queued-symbolhook
#:libpd-set-queued-listhook
#:libpd-set-queued-noteonhook #:libpd-set-queued-controlchangehook
#:libpd-set-queued-programchangehook #:libpd-set-queued-pitchbendhook
#:libpd-set-queued-aftertouchhook #:libpd-set-queued-polyaftertouchhook
#:libpd-set-queued-midibytehook))