Skip to content
Snippets Groups Projects
Commit e523762c authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

remove old, unused extensions/ directory

parent abb01e4b
No related branches found
No related tags found
No related merge requests found
Pipeline #
Showing
with 0 additions and 1720 deletions
#==============================================================================#
#
# Centralized build system for "extensions".
#
# see for instructions: http://puredata.org/docs/developer/build
# <hans@at.or.at>
#
#==============================================================================#
CWD := $(shell pwd)
# these are designed to be overridden by the packages/Makefile
cvs_root_dir := $(shell cd $(CWD)/.. && pwd)
DESTDIR = $(CWD)/build/
BUILDLAYOUT_DIR = $(cvs_root_dir)/packages
# default target
all: gripd
include $(BUILDLAYOUT_DIR)/Makefile.buildlayout
#==============================================================================#
#
# OVERARCHING BUILD TARGETS
#
#==============================================================================#
# clean up after everything is installed
final_setup:
chmod -R ugo-w $(pddocdir)
install: $(examplesdir) $(helpdir) $(manualsdir) $(objectsdir) $(readmesdir) \
gripd_install ix_install
@echo " "
@echo "extensions install succeeded!"
#==============================================================================#
#
# PROJECT-SPECIFIC TARGETS
#
#==============================================================================#
#------------------------------------------------------------------------------#
# GRIPD
GRIPD_NAME = gripd
gripd:
make -C $(extensions_src)/gripd/src -f Makefile.Linux all
gripd_install:
install -d $(helpdir)
install -d $(objectsdir)
# it doesn't compile automatically yet <hans@at.or.at>
# install -p $(extensions_src)/gripd/*.$(EXTENSION) \
# $(extensions_src)/gripd/*.so \
# $(objectsdir)
install -p $(extensions_src)/gripd/examples/gripd.pd \
$(helpdir)/gripd-help.pd
# install -d $(manualsdir)/$(GRIPD_NAME)
install -p $(extensions_src)/gripd/README.txt \
$(readmesdir)/$(GRIPD_NAME).txt
install -d $(examplesdir)/$(GRIPD_NAME)
install -p $(extensions_src)/gripd/examples/*.* \
$(examplesdir)/$(GRIPD_NAME)
gripd_clean:
make -C $(extensions_src)/gripd/src clean
#------------------------------------------------------------------------------#
# IX
IX_NAME = ix
ix_install:
install -d $(objectsdir)/$(IX_NAME)
install -p $(extensions_src)/gui/ix/toxy/*.wid $(objectsdir)/$(IX_NAME)
# install -d $(manualsdir)/$(IX_NAME)
# install -d $(readmesdir)/$(IX_NAME)
# install -p $(extensions_src)/gui/ix/toxy/README \
# $(readmesdir)/$(IX_NAME).txt
install -d $(examplesdir)/$(IX_NAME)
install -p $(extensions_src)/gui/ix/toxy/*.pd $(examplesdir)/$(IX_NAME)
#==============================================================================#
#
# DEVELOPER'S TARGETS
#
#==============================================================================#
# make the symlinks necessary to simulate the installed environment
devsymlinks:
#==============================================================================#
#
# CLEAN TARGETS
#
#==============================================================================#
# the destination-specific clean targets are in Makefile.buildlayout
clean: install_clean
distclean: clean cruft_clean
test_locations:
@echo "PD_VERSION: $(PD_VERSION)"
@echo "PACKAGE_VERSION: $(PACKAGE_VERSION)"
@echo "CWD $(CWD)"
@echo "DESTDIR $(DESTDIR)"
@echo "PREFIX $(prefix)"
@echo "BINDIR $(bindir)"
@echo "LIBDIR $(libdir)"
@echo "OBJECTSDIR $(objectsdir)"
@echo "PDDOCDIR $(pddocdir)"
@echo "LIBPDDIR $(libpddir)"
@echo "LIBPDBINDIR $(libpdbindir)"
@echo "HELPDIR $(helpdir)"
@echo "MANUALSDIR $(manualsdir)"
@echo "EXAMPLESDIR $(examplesdir)"
File deleted
File deleted
GrIPD: Graphical Interface for Pure Data
----------------------------------------
v0.1.1
-What is GrIPD-
GrIPD is a cross-platform extension to Miller Puckette's Pure Data
software that allows the one to design custom graphical user
interfaces for Pd patches. GrIPD is not a replacement for the Pd
Tcl/Tk GUI, but instead is intended to allow one to create a front end
to a Pd patch. The concept is to create your PD patch normally and
then your GUI using GrIPD. You can then lauch Pd using the -nogui
command line argument (although this is certainly not necessary) so
only your custom front end will be displayed. GrIPD, itself, consists
of two parts: the "gripd" Pd object and an external GUI
window/editor. The Pd object was written in C and the external GUI was
written in Python using the wxWindows. GrIPD is released under the
GNU General Public License.
-How GrIPD works-
The two parts of GrIPD communicate via TCP/IP sockets so they can run
on one machine or on separate machines over a network; so, for
example, the GUI could be on a laptop on stage controlling or
displaying info from the Pd audio engine in the house next to the
mixer. The communication works through Pd's implimentation of
"send" and "receive" objects. Basically, each GrIPD control object has
a send and receive symbol associated with it.
-Supported platforms-
GrIPD is currently available for Linux/GTK+ and MS Windows
platforms. It may work on other Unix's, but as of yet it has not been
tested. Since wxPython and C are both highly portable, most of GrIPD
is as well. The only issues should be the C socket and multi-process
code.
-Requirements-
For Win32:
* Pd
For Linux:
* Pd
* GTK+
To compile under Win32:
* Python (v2.2 or later)
* wxPython- wxWindows for Python (v2.4.0 or later)
* a C/C++ compiler
* to make a stand-alone .exe file you'll also need
py2exe v0.3.1 (http://starship.python.net/crew/theller/py2exe/)
To compile under Linux:
* Python (v2.2 or later)
* wxPython- wxWindows for Python (v2.4.0 or later)
* GTK+ and wxGTK
* C/C++ compiler
* to make a stand-alone binary executable you'll also need
Installer v5b4 (http://www.mcmillan-inc.com/install5_ann.html)
All of the above are, of course, free.
For Windows: the package includes compiled binaries of the gripd.dll Pd object
and the gripd.exe GUI executeable.
For Linux: stand-alone binary packages are available for x86 the architecture
with either OSS or ALSA MIDI support.
-Installation-
Windows:
1) Unzip contents of gripd-*.zip to .\pd\gripd\
2) Put gripd.dll where Pd can find it
To compile from source
1) In .\pd\gripd\src:
a) edit makefile
b) run: nmake gripd_nt
2) gripd.exe is included, but to recompile run:
python gripdSetup.py py2exe -w -O2 --icon icon.pic
Linux:
1) Ungzip/untar contents of gripd-*.tar.gz to ./pd/gripd/
2) Put gripd.pd_linux where Pd can find it
To compile from source:
2) In ./pd/gripd/src
a) edit makefile
b) run: make gripd_linux
3) to build a stand-alone binary executable of the GrIPD GUI run:
python -OO Build.py gripd.spec (Build.py is part of Installer v5b4)
Be sure to have gripd.dll or gripd.pd_linux in your Pd path
-Using GrIPD-
To use GrIPD, launch Pd with the -lib gripd command line
argument, and put the gripd Pd object on your patch; it's scope will be
global throughout all canvases. Then send it an "open <optional
filename>" message to launch the GUI (gripd.exe or gripd.py).
You can also send a "open_locked <filename>" message which will open the
GUI in locked mode. This will prevent any changes from being made to
the GUI itself.
You may need to set the path to gripd.py or gripd.exe by sending a
"set_path <path>" message to the gripd Pd object. For Windows users not using
gripd.exe, you may also have to set the path to python.exe by sending a
"set_python_path <path>" message.
You may also send a "connect" message to set the gripd Pd object to wait for
an incomming connection and launch gripd.exe or gripd.py separately.
If the path supplied to either an "open" message or a "set_path" message
is relative (i.e. begins with ./ or ../) they will be considered relative
to the directory containing the Pd executable file (pd.exe for Windows and
pd for Linux). This keeps behavior consistent no matter where Pd is launched
from.
If the GUI is launched from PD, When the GUI window is closed you can re-open
it by sending the gripd Pd object a "show" message. You can also hide it by
sending the gripd Pd object a "hide" message.
The GrIPD GUI itself has two modes: "Performance Mode" and "Edit
Mode". In "Edit Mode" you can add and remove controls using the
"Edit" menu, move them around by selecting them and dragging them by
their tag with the mouse or use the arrow keys (note: ctrl+<arrow key>
will move controls a greater distance). You can edit a controls
properties by either selecting "Edit" from the "Edit" menu or
right-clicking the control's tab. In "Performance Mode" the controls
properties are locked and when activated (e.g. clicked, slid, checked,
etc.) they will send a message via their send symbol. Conversely,
they will receive messages sent within the Pd patch using their
receive symbol. Look at gripd.pd and gripdExamples.pd.
GrIPD can forward MIDI input to Pd from up to two devices. To enable MIDI
function, select "Enable MIDI" from the "Configure" menu. GrIPD will send
note information via the "midi<n>note" symbol where <n> is either 0 or 1.
It will also send controller information via "midi<n>ctl" and program change
information via "midi<n>pgm".
GrIPD also allows for the use of up to two joysticks. To enable joystick
function, select "Enable Joystick" from the "Configure" menu. Joystick
axis and button information are sent to Pd with the send symbols
"joy<n>axis<m>" and "joy<n>button<m>" where <n> is 0 or 1 and ,<m> is
0,1,... for the number of axes and buttons your joystick supports. For
example, to read from joystick 0 axis 0, put a "r joy0axis0" object in your
Pd patch. Axes will send integers in a range that will depend on your
joystick, and buttons will send 1 when depressed and 0 when released.
GrIPD will also catch keystrokes and send the ASCII value to Pd while in
performance mode via a "keystroke" send symbol. Simply put a "r keystroke"
object in your Pd patch.
Note about duplicating radio buttons:
When creating radio buttons, the first button created in a group is the
group marker. Duplicating any of the buttons in a group other than the
group marker button will add a button of the last group created.
Duplicating the group marker button will start a new group.
Note about image paths:
When a path to an image is relative (i.e. begins with ./ or ../), it is
considered relative to the .gpd file containing the image. If no file
has been opened or saved, the path is considered relative to the directory
containing the gripd executable file (gripd.exe for Windows and gripd.py
for Linux). It is therefore recommended that all images used in a GUI be
placed in a directory directly lower than the directory containing the .gpd
file. For example if your .gpd file is in c:\pd-guis put all images in
c:\pd-guis\images. This will make distributing GUIs much simpler.
Note about MIDI and joystick input:
If problems occur due to MIDI or joystick input, you can disable them by
editing gripd.opt
-New in 0.1.1
Added graph control
Added openpanel and savepanel
added MIDI and joystick activity blinking
Fixed zombie bug
Fixed multiple opens bug
Fixed checkbox and radio buttons bug
Fixed rectangle redrawing problem
Fixed selecting inside rectangle problem
-Contact-
Drop me a line at jsarlo@ucsd.edu
/* XPM */
static char * connect_xpm[] = {
"21 16 8 1",
" c None",
". c #000000",
"+ c #00FF04",
"@ c #BFBFBF",
"# c #FEFEFE",
"$ c #00FEFE",
"% c #FF0000",
"& c #0000FE",
" .. ........ ",
" .+. .@@@@@@@@.",
" .....++. .@......@.",
" .+++++++..@.##$$.@.",
" .+...++. .@.#%&#.@.",
" .+. .+. .@.$#%#.@.",
" .+. .. .@......@.",
" ........ .@@@@@@@@.",
".@@@@@@@@. ........ ",
".@......@. .. .+. ",
".@.#&$$.@. .+. .+. ",
".@.#%&#.@. .++...+. ",
".@.$###.@..+++++++. ",
".@......@. .++..... ",
".@@@@@@@@. .+. ",
" ........ .. "};
/* XPM */
static char * connectX_xpm[] = {
"21 16 5 1",
" c None",
". c #000000",
"+ c #BFBFBF",
"@ c #FF0000",
"# c #3F3F3F",
" ........ ",
" .. .++++++++.",
" ....@@. .+......+.",
" .@@@@@. .+.####.+.",
" .@..@@. .+.####.+.",
" .@. .. .+.####.+.",
" .@. .+......+.",
" ........ .++++++++.",
".++++++++. ........ ",
".+......+. .@. ",
".+.####.+. .. .@. ",
".+.####.+. .@@..@. ",
".+.####.+. .@@@@@. ",
".+......+. .@@.... ",
".++++++++. .. ",
" ........ "};
extensions/gripd/examples/clickme.jpg

2.73 KiB

extensions/gripd/examples/fmlogo.gif

6.31 KiB

328
467
#c0c0c0
localhost
32781|1|2|5|10|0|1|FM Synth|0|0|0|0|1|5|0
4
16
57
294
259
srectangle0
rrectangle0
#c0c0c0
#000080
22
74
93
90
0
Arial
!END-CONTROL
5
Carrier Freq
38
105
67
20
stext0
rtext0
#c0c0c0
#000000
12
74
90
90
0
Arial
!END-CONTROL
2
100
34
124
24
139
carrier
rslider0
#c0c0c0
#000000
8
74
90
90
0
MS Sans Serif
100
5000
1
!END-CONTROL
5
Mod Freq
141
105
59
20
stext0
rtext0
#c0c0c0
#000000
12
74
90
90
0
Arial
!END-CONTROL
2
0
140
124
24
139
mod
rslider0
#c0c0c0
#000000
8
74
90
90
0
MS Sans Serif
0
500
1
!END-CONTROL
5
Index
235
105
52
20
stext0
rtext0
#c0c0c0
#000000
12
74
90
90
0
Arial
!END-CONTROL
2
0
243
124
24
139
index
rslider0
#c0c0c0
#000000
8
74
90
90
0
MS Sans Serif
0
1000
1
!END-CONTROL
5
Amplitude:
34
340
73
20
stext2
rtext2
#c0c0c0
#000000
12
74
90
90
0
Arial
!END-CONTROL
3
0
35
364
140
24
amp
rslider1
#c0c0c0
#000000
8
74
90
90
0
MS Sans Serif
0
100
1
!END-CONTROL
14
./fmlogo.gif
77
5
180
48
simage3
rimage3
#c0c0c0
#000000
8
74
90
90
0
MS Shell Dlg
!END-CONTROL
14
./scale.gif
58
124
23
139
simage7
rimage7
#c0c0c0
#000000
8
74
90
90
0
MS Shell Dlg
!END-CONTROL
14
./scale.gif
164
124
23
139
simage7
rimage7
#c0c0c0
#000000
8
74
90
90
0
MS Shell Dlg
!END-CONTROL
14
./scale.gif
268
124
23
139
simage7
rimage7
#c0c0c0
#000000
8
74
90
90
0
MS Shell Dlg
!END-CONTROL
14
./scale2.gif
36
389
139
23
simage48
rimage48
#c0c0c0
#000000
8
74
90
90
0
MS Shell Dlg
!END-CONTROL
4
16
309
294
124
srectangle10
rrectangle10
#c0c0c0
#000000
8
74
90
90
0
MS Shell Dlg
!END-CONTROL
9
100
36
267
34
20
stextbox0
carrier
#d6dcf8
#000000
8
74
90
90
0
MS Shell Dlg
!END-CONTROL
9
0
142
267
34
20
stextbox0
mod
#d6dcf8
#000000
8
74
90
90
0
MS Shell Dlg
!END-CONTROL
9
0
245
267
34
20
stextbox0
index
#d6dcf8
#000000
8
74
90
90
0
MS Shell Dlg
!END-CONTROL
9
0
113
337
34
20
stextbox0
amp
#d6dcf8
#000000
8
74
90
90
0
MS Shell Dlg
!END-CONTROL
14
./screw.gif
3
2
19
19
simage5
rimage5
#c0c0c0
#000000
8
74
90
90
0
MS Shell Dlg
!END-CONTROL
14
./screw.gif
305
2
19
19
simage5
rimage5
#c0c0c0
#000000
8
74
90
90
0
MS Shell Dlg
!END-CONTROL
14
./screw.gif
305
438
19
19
simage5
rimage5
#c0c0c0
#000000
8
74
90
90
0
MS Shell Dlg
!END-CONTROL
14
./screw.gif
3
438
19
19
simage5
rimage5
#c0c0c0
#000000
8
74
90
90
0
MS Shell Dlg
!END-CONTROL
1
Mute
216
381
81
35
mute
rtoggle0
#c0c0c0
#000000
14
74
90
90
0
Arial
!END-CONTROL
1
On/Off
216
333
81
35
onoff
rtoggle0
#c0c0c0
#000000
14
74
90
90
0
Arial
!END-CONTROL
493
433
#c3c3c3
localhost
3490|/dev/js0|/dev/js1|5|10|1|1|GrIPD|0|0|0|0|1|5|1
4
rectangle0
15
5
462
358
srectangle0
rrectangle0
#828282
#303030
12
74
90
90
0
!END-CONTROL
0
button0
37
37
80
22
sbutton0
rbutton0
#828282
#303030
12
74
90
90
0
!END-CONTROL
1
toggle0
59
75
80
22
stoggle0
rtoggle0
#828282
#303030
12
74
90
90
0
!END-CONTROL
2
100
271
31
30
80
sslider0
rslider0
#828282
#303030
12
74
90
90
0
0
100
1
!END-CONTROL
3
0
276
110
80
30
sslider1
rslider1
#828282
#303030
12
74
90
90
0
0
100
1
!END-CONTROL
6
0
33
225
30
80
sgauge0
rgauge0
#a2a2a2
#303030
12
74
90
90
0
0
100
0
!END-CONTROL
7
0
34
313
80
30
sgauge1
rgauge1
#a2a2a2
#303030
12
74
90
90
0
0
100
0
!END-CONTROL
8
checkbox0
109
232
85
24
scheckbox0
rcheckbox0
#828282
#303030
12
74
90
90
0
!END-CONTROL
5
text0
167
34
79
14
stext0
rtext0
#828282
#303030
12
74
90
90
0
!END-CONTROL
10
0
96
113
15
26
sspinbutton0
rspinbutton0
#c3c3c3
#000000
12
74
90
90
0
0
100
0
!END-CONTROL
9
41
183
80
22
stextbox0
rtextbox0
#ffffff
#000000
12
74
90
90
0
!END-CONTROL
5
<- "Enter" to send
118
185
120
15
stext1
rtext1
#c3c3c3
#000000
12
74
90
90
0
!END-CONTROL
11
265
155
100
100
smousearea0
rmousearea0
#9a9a9a
#000000
12
74
90
90
0
!END-CONTROL
5
<- Left click and
363
170
96
19
stext2
rtext2
#c3c3c3
#000000
12
74
90
90
0
!END-CONTROL
5
drag to track
380
185
80
16
stext4
rtext4
#c3c3c3
#000000
12
74
90
90
0
!END-CONTROL
5
mouse position
384
200
83
22
stext5
rtext5
#c3c3c3
#000000
12
74
90
90
0
!END-CONTROL
13
radiobutton0
164
87
93
24
sradiobutton0
rradiobutton0
#c3c3c3
#000000
12
74
90
90
0
!END-CONTROL
12
radiobutton1
164
112
93
24
sradiobutton1
rradiobutton1
#c3c3c3
#000000
12
74
90
90
0
!END-CONTROL
12
radiobutton2
164
137
93
24
sradiobutton2
rradiobutton2
#c3c3c3
#000000
12
74
90
90
0
!END-CONTROL
14
./clickme.jpg
178
276
192
71
simage0
rimage0
#dddddd
#000000
12
74
90
90
0
!END-CONTROL
15
366
26
100
100
sgraph0
rgraph0
#000000
#00ff00
12
74
90
90
0
-1.0
1.0
[100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
!END-CONTROL
#N canvas 420 51 695 867 10;
#X obj 22 747 gripd;
#X msg 23 40 connect;
#X msg 38 75 disconnect;
#X msg 117 445 poll_send 5;
#X msg 124 470 poll_receive 5;
#X msg 126 501 set_path ../gripd;
#X msg 89 631 set_python_path c:/program files/python;
#X text 369 661 "c:/program files/python" by default.;
#X text 372 678 Linux: Does nothing.;
#X text 229 471 Time in ms to poll for info from GUI.;
#X text 199 446 Time in ms to poll for sending info to GUI.;
#X text 62 747 Takes one optional argument to specify a port.;
#X text 82 15 all backslashes must be "/".;
#X text 19 2 Windows: For paths \, spaces are ok \, but;
#X text 120 67 Set gripd object to stop waiting for a connection.;
#X text 121 80 Also closes gripd GUI opened by "open <filename>".;
#X text 86 34 Set gripd object to wait for a connection (Not needed
with "open" message.);
#X floatatom 22 802 5 0 0 0 - - -;
#X msg 105 376 lock;
#X msg 115 407 unlock;
#X msg 49 112 open ../gripd/examples/gripd.gpd;
#X msg 52 219 open_locked ../gripd/examples/gripd.gpd;
#X text 144 376 Set GUI to lock mode;
#X text 164 407 Set GUI to normal (editable) mode;
#X text 283 168 Relative paths are relative to the directory;
#X text 283 180 containing PD executable.;
#X text 255 568 Relative paths are relative to the directory;
#X text 254 583 containing PD executable.;
#X text 68 803 left outlet: 1 on connect \, 0 on disconnect;
#X floatatom 52 780 5 0 0 0 - - -;
#X text 96 781 right outlet: 1 when shown \, 0 when hidden;
#X msg 59 248 show;
#X msg 68 276 hide;
#X text 96 249 show GUI window when hidden;
#X text 106 275 hide GUI window when shown;
#X text 372 645 Normally not needed (used for gripd.py);
#X text 371 629 Windows: Path to directory containing python.exe.;
#X text 283 108 Open gripd GUI and optional .gpd file \, and connect.
;
#X text 330 219 Open gripd GUI in locked mode;
#X text 348 135 If it fails tries gripd.py via python.exe.;
#X text 284 121 Windows: first tries to execute gripd.exe.;
#X text 255 503 Path to directory containing gripd executable;
#X text 255 519 "../gripd" by default;
#X text 254 535 Windows: sets path to file gripd.exe (and gripd.py).
;
#X text 255 552 Linux: sets path to file gripd (symlink to gripd.py).
;
#X text 284 155 Linux: executes file gripd;
#X msg 79 309 openpanel;
#X msg 89 340 savepanel;
#X text 156 340 open a save file dialog and send file to savepanel
receive symbol;
#X text 152 303 open an open file dialog and send file to openpanel
receive symbol;
#X connect 0 0 17 0;
#X connect 0 1 29 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 0 0;
#X connect 5 0 0 0;
#X connect 6 0 0 0;
#X connect 18 0 0 0;
#X connect 19 0 0 0;
#X connect 20 0 0 0;
#X connect 21 0 0 0;
#X connect 31 0 0 0;
#X connect 32 0 0 0;
#X connect 46 0 0 0;
#X connect 47 0 0 0;
#N canvas 249 58 823 654 10;
#X obj 19 198 r sbutton0;
#X obj 19 177 s rbutton0;
#X obj 138 176 s rtoggle0;
#X obj 138 197 r stoggle0;
#X msg 205 151 bang;
#X msg 243 151 New label;
#X msg 19 154 New label;
#X msg 170 151 1;
#X msg 138 151 0;
#X obj 23 278 s rslider0;
#X obj 23 299 r sslider0;
#X floatatom 23 257 4 0 0 0 - - -;
#X floatatom 23 320 4 0 0 0 - - -;
#X floatatom 110 257 4 0 0 0 - - -;
#X floatatom 110 320 4 0 0 0 - - -;
#X obj 110 278 s rslider1;
#X obj 110 299 r sslider1;
#X floatatom 215 257 4 0 0 0 - - -;
#X floatatom 215 299 4 0 0 0 - - -;
#X obj 215 278 s rgauge0;
#X obj 215 320 s rgauge1;
#X obj 293 283 s rtext0;
#X msg 334 262 New label;
#X floatatom 25 361 4 0 0 0 - - -;
#X floatatom 25 424 4 0 0 0 - - -;
#X obj 25 382 s rspinbutton0;
#X obj 25 403 r sspinbutton0;
#X floatatom 152 360 4 0 0 0 - - -;
#X obj 152 381 s rtextbox0;
#X msg 194 360 New text;
#X obj 152 403 r stextbox0;
#X floatatom 286 262 4 0 0 0 - - -;
#X obj 378 356 r smousearea0;
#X obj 324 406 change;
#X obj 375 405 change;
#X floatatom 324 427 4 0 0 0 - - -;
#X floatatom 375 426 4 0 0 0 - - -;
#X floatatom 697 45 7 0 0 0 - - -;
#X floatatom 698 83 5 0 0 0 - - -;
#X obj 17 480 r sradiobutton0;
#X obj 137 501 s rradiobutton0;
#X msg 137 480 bang;
#X msg 137 522 bang;
#X msg 137 564 bang;
#X obj 137 597 s rradiobutton2;
#X obj 137 543 s rradiobutton1;
#X obj 17 522 r sradiobutton1;
#X obj 17 566 r sradiobutton2;
#X obj 698 62 r joy0button0;
#X floatatom 21 131 5 0 0 0 - - -;
#X obj 697 24 r joy0axis0;
#X obj 588 23 r keystroke;
#X obj 616 519 s rimage0;
#X msg 628 495 ./clickme.jpg;
#X text 615 558 relative to directory;
#X text 615 576 containing .gpd file;
#X msg 616 472 ./poof.jpg;
#X text 615 594 Must use ./ or ../ to;
#X text 615 612 specify a relative path;
#X text 252 6 <- click here to open GUI;
#X text 615 539 Relative image paths are;
#X text 256 45 relative to directory;
#X text 256 81 Must use ./ or ../ to;
#X text 256 99 specify a relative path;
#X text 256 26 Relative paths are;
#X text 255 62 containing PD executable;
#X obj 378 377 unpack f f f f;
#X floatatom 426 405 4 0 0 0 - - -;
#X floatatom 503 405 4 0 0 0 - - -;
#X text 324 442 x \, y position;
#X text 426 421 0 - left;
#X text 426 432 1 - middle;
#X text 426 443 2 - right;
#X text 504 421 1 - down;
#X text 504 432 0 - up;
#X floatatom 76 110 5 0 0 0 - - -;
#X obj 588 45 unpack;
#X floatatom 588 72 7 0 0 0 - - -;
#X floatatom 644 72 5 0 0 0 - - -;
#X msg 39 29 show;
#X msg 76 29 hide;
#X obj 532 225 r midi0note;
#X obj 532 250 unpack f f f;
#X floatatom 532 275 5 0 0 0 - - -;
#X floatatom 575 275 5 0 0 0 - - -;
#X floatatom 618 275 5 0 0 0 - - -;
#X floatatom 659 274 5 0 0 0 - - -;
#X floatatom 702 274 5 0 0 0 - - -;
#X obj 659 224 r midi0ctl;
#X floatatom 533 200 5 0 0 0 - - -;
#X floatatom 576 200 5 0 0 0 - - -;
#X obj 533 175 unpack;
#X obj 533 150 r midi0pgm;
#X text 63 131 <- connection status;
#X text 116 108 <- shown or hidden;
#X msg 262 360 bang;
#X text 298 361 <- clear;
#X obj 326 536 change;
#X obj 377 535 change;
#X floatatom 326 557 4 0 0 0 - - -;
#X floatatom 377 556 4 0 0 0 - - -;
#X obj 380 507 unpack f f f f;
#X floatatom 428 535 4 0 0 0 - - -;
#X floatatom 505 535 4 0 0 0 - - -;
#X text 326 572 x \, y position;
#X text 428 551 0 - left;
#X text 428 562 1 - middle;
#X text 428 573 2 - right;
#X text 506 551 1 - down;
#X text 506 562 0 - up;
#X obj 380 483 r simage0;
#X msg 21 6 open ../gripd/examples/gripd.gpd;
#X obj 659 249 unpack f f f;
#X floatatom 742 274 5 0 0 0 - - -;
#X msg 549 498 show;
#X msg 576 472 hide;
#X msg 386 151 bang;
#X msg 436 151 New label;
#X msg 349 151 1;
#X msg 319 151 0;
#X obj 319 178 s rcheckbox0;
#X obj 319 200 r scheckbox0;
#X msg 17 501 0;
#X msg 17 543 1;
#X msg 17 587 2;
#X floatatom 17 617 5 0 0 0 - - -;
#X obj 19 219 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 138 221 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 319 224 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
1;
#X obj 631 416 s rgraph0;
#X floatatom 631 343 5 0 0 0 - - -;
#X obj 631 383 pack;
#X floatatom 674 343 5 0 0 0 - - -;
#X floatatom 682 390 5 0 0 0 - - -;
#X obj 21 86 gripd 3490;
#X text 724 390 <- set size;
#X obj 631 361 i;
#X obj 674 364 t b f;
#X obj 547 344 r sgraph0;
#X obj 547 367 unpack;
#X floatatom 547 392 5 0 0 0 - - -;
#X floatatom 587 392 5 0 0 0 - - -;
#X msg 124 33 openpanel;
#X msg 124 57 savepanel;
#X text 629 325 set data: index \, value;
#X obj 152 425 print textbox;
#X obj 456 71 r openpanel;
#X obj 456 98 print openpanel;
#X obj 458 21 r savepanel;
#X obj 458 48 print savepanel;
#X msg 453 263 New label;
#X floatatom 405 263 4 0 0 0 - - -;
#X obj 412 284 s rrectangle0;
#X connect 0 0 126 0;
#X connect 3 0 127 0;
#X connect 4 0 2 0;
#X connect 5 0 2 0;
#X connect 6 0 1 0;
#X connect 7 0 2 0;
#X connect 8 0 2 0;
#X connect 10 0 12 0;
#X connect 11 0 9 0;
#X connect 13 0 15 0;
#X connect 16 0 14 0;
#X connect 17 0 19 0;
#X connect 18 0 20 0;
#X connect 22 0 21 0;
#X connect 23 0 25 0;
#X connect 26 0 24 0;
#X connect 27 0 28 0;
#X connect 29 0 28 0;
#X connect 30 0 145 0;
#X connect 31 0 21 0;
#X connect 32 0 66 0;
#X connect 33 0 35 0;
#X connect 34 0 36 0;
#X connect 39 0 122 0;
#X connect 41 0 40 0;
#X connect 42 0 45 0;
#X connect 43 0 44 0;
#X connect 46 0 123 0;
#X connect 47 0 124 0;
#X connect 48 0 38 0;
#X connect 50 0 37 0;
#X connect 51 0 76 0;
#X connect 53 0 52 0;
#X connect 56 0 52 0;
#X connect 66 0 33 0;
#X connect 66 1 34 0;
#X connect 66 2 67 0;
#X connect 66 3 68 0;
#X connect 76 0 77 0;
#X connect 76 1 78 0;
#X connect 79 0 134 0;
#X connect 80 0 134 0;
#X connect 81 0 82 0;
#X connect 82 0 83 0;
#X connect 82 1 84 0;
#X connect 82 2 85 0;
#X connect 88 0 112 0;
#X connect 91 0 89 0;
#X connect 91 1 90 0;
#X connect 92 0 91 0;
#X connect 95 0 28 0;
#X connect 97 0 99 0;
#X connect 98 0 100 0;
#X connect 101 0 97 0;
#X connect 101 1 98 0;
#X connect 101 2 102 0;
#X connect 101 3 103 0;
#X connect 110 0 101 0;
#X connect 111 0 134 0;
#X connect 112 0 86 0;
#X connect 112 1 87 0;
#X connect 112 2 113 0;
#X connect 114 0 52 0;
#X connect 115 0 52 0;
#X connect 116 0 120 0;
#X connect 117 0 120 0;
#X connect 118 0 120 0;
#X connect 119 0 120 0;
#X connect 121 0 128 0;
#X connect 122 0 125 0;
#X connect 123 0 125 0;
#X connect 124 0 125 0;
#X connect 130 0 136 0;
#X connect 131 0 129 0;
#X connect 132 0 137 0;
#X connect 133 0 129 0;
#X connect 134 0 49 0;
#X connect 134 1 75 0;
#X connect 136 0 131 0;
#X connect 137 0 136 0;
#X connect 137 1 131 1;
#X connect 138 0 139 0;
#X connect 139 0 140 0;
#X connect 139 1 141 0;
#X connect 142 0 134 0;
#X connect 143 0 134 0;
#X connect 146 0 147 0;
#X connect 148 0 149 0;
#X connect 150 0 152 0;
#X connect 151 0 152 0;
#N canvas 660 45 549 445 10;
#X obj 202 183 *~;
#X floatatom 202 126 0 0 0 0 - - -;
#X obj 267 161 line~;
#X floatatom 114 146 0 0 0 0 - - -;
#X obj 114 268 cos~;
#X obj 114 216 +~;
#X floatatom 143 316 0 0 0 0 - - -;
#N canvas 159 26 495 270 output 0;
#X obj 338 160 t b;
#X obj 338 110 f;
#X obj 338 60 inlet;
#X text 344 29 mute;
#X obj 338 185 f;
#X msg 425 178 0;
#X msg 338 85 bang;
#X obj 338 135 moses 1;
#X obj 425 153 t b f;
#X obj 397 117 moses 1;
#X obj 83 148 dbtorms;
#X obj 397 92 r master-lvl;
#X obj 83 42 r master-lvl;
#X obj 338 210 s master-lvl;
#X obj 22 182 inlet~;
#X obj 199 41 inlet;
#X text 199 18 level;
#X obj 199 100 s master-lvl;
#X msg 96 65 set \$1;
#X obj 96 89 outlet;
#X msg 214 64 \; pd dsp 1;
#X obj 83 194 line~;
#X obj 22 212 *~;
#X obj 22 241 dac~;
#X obj 83 171 pack 0 50;
#X text 20 159 audio;
#X text 93 110 show level;
#X connect 0 0 4 0;
#X connect 1 0 7 0;
#X connect 2 0 6 0;
#X connect 4 0 13 0;
#X connect 5 0 13 0;
#X connect 6 0 1 0;
#X connect 7 0 0 0;
#X connect 7 1 8 0;
#X connect 8 0 5 0;
#X connect 9 1 4 1;
#X connect 10 0 24 0;
#X connect 11 0 1 1;
#X connect 11 0 9 0;
#X connect 12 0 10 0;
#X connect 12 0 18 0;
#X connect 14 0 22 0;
#X connect 15 0 17 0;
#X connect 15 0 20 0;
#X connect 18 0 19 0;
#X connect 21 0 22 1;
#X connect 22 0 23 0;
#X connect 22 0 23 1;
#X connect 24 0 21 0;
#X restore 114 344 pd output;
#X msg 172 316 MUTE;
#X text 213 316 <-- output amplitude;
#X msg 229 262 bang;
#X text 266 263 <-- click to graph;
#X obj 114 173 phasor~ 0;
#X obj 202 151 osc~ 0;
#X text 33 8 PHASE MODULATION ("FM") USING TWO OSCILLATORS;
#X obj 229 286 tabwrite~ fm-output;
#X obj 267 135 pack 0 50;
#X floatatom 267 82 0 0 0 0 - - -;
#X obj 267 109 / 100;
#X text 263 50 modulation index;
#X text 263 65 in hundredths;
#X text 111 103 carrier;
#X text 110 121 frequency;
#X text 187 102 frequency;
#X text 188 85 modulation;
#X text 310 160 <-- signal with smoothed;
#X text 312 176 modulation index to avoid clicks;
#X text 188 345 <-- as in previous patch;
#X text 199 205 amplitude-controlled modulation;
#X text 200 222 oscillator output;
#X text 37 158 carrier;
#X text 37 173 phase -->;
#X text 18 201 phase;
#X text 17 216 modulation-->;
#X text 14 252 output;
#X text 15 268 waveform -->;
#X obj 51 81 r carrier;
#X obj 148 65 r mod;
#X obj 207 30 r index;
#X obj 129 291 r amp;
#X obj 172 245 r mute;
#X msg 438 85 \; pd dsp \$1;
#X obj 438 52 r onoff;
#X obj 27 402 gripd;
#X text 329 377 <-- Click;
#X text 341 402 open GUI;
#X text 347 389 here to;
#N canvas 132 85 450 293 array 0;
#N canvas 0 0 450 300 graph1 0;
#X array fm-output 100 float 0;
#X coords 0 1 99 -1 200 140 1;
#X restore 100 20 graph;
#X restore 417 256 pd array;
#X msg 27 374 open_locked ../gripd/examples/fmsynth.gpd;
#X msg 67 402 show;
#X msg 100 402 unlock;
#X msg 150 402 lock;
#X connect 0 0 5 1;
#X connect 1 0 13 0;
#X connect 2 0 0 1;
#X connect 3 0 12 0;
#X connect 4 0 15 0;
#X connect 4 0 7 0;
#X connect 5 0 4 0;
#X connect 6 0 7 1;
#X connect 7 0 6 0;
#X connect 8 0 7 2;
#X connect 10 0 15 0;
#X connect 12 0 5 0;
#X connect 13 0 0 0;
#X connect 16 0 2 0;
#X connect 17 0 18 0;
#X connect 18 0 16 0;
#X connect 36 0 3 0;
#X connect 37 0 1 0;
#X connect 38 0 17 0;
#X connect 39 0 6 0;
#X connect 40 0 8 0;
#X connect 42 0 41 0;
#X connect 48 0 43 0;
#X connect 49 0 43 0;
#X connect 50 0 43 0;
#X connect 51 0 43 0;
extensions/gripd/examples/poof.jpg

2.02 KiB

extensions/gripd/examples/scale.gif

2.19 KiB

extensions/gripd/examples/scale2.gif

2.24 KiB

extensions/gripd/examples/screw.gif

1.15 KiB

#!/usr/bin/python -OO
## GrIPD v0.1.1 - Graphical Interface for Pure Data
## Copyright (C) 2003 Joseph A. Sarlo
##
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License
## as published by the Free Software Foundation; either version 2
## of the License, or (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
##
## jsarlo@ucsd.edu
from wxPython.wx import *
from gripdMain import *
import sys
import signal
import os
def signalHandler(sigNum, frame):
print 'Caught signal', sigNum
try:
app.frame.eClose(wxEvent())
except:
app.ExitMainLoop()
if (os.name == "posix"):
signal.signal(signal.SIGQUIT, signalHandler)
signal.signal(signal.SIGINT, signalHandler)
signal.signal(signal.SIGTERM, signalHandler)
app = mainApp(sys.argv)
app.MainLoop()
joystick = TRUE
midi = TRUE
#!/usr/bin/python -OO
## GrIPD v0.1.1 - Graphical Interface for Pure Data
## Copyright (C) 2003 Joseph A. Sarlo
##
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License
## as published by the Free Software Foundation; either version 2
## of the License, or (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
##
## jsarlo@ucsd.edu
from wxPython.wx import *
from gripdMain import *
import sys
import signal
import os
def signalHandler(sigNum, frame):
print 'Caught signal', sigNum
try:
app.frame.eClose(wxEvent())
except:
app.ExitMainLoop()
if (os.name == "posix"):
signal.signal(signal.SIGQUIT, signalHandler)
signal.signal(signal.SIGINT, signalHandler)
signal.signal(signal.SIGTERM, signalHandler)
app = mainApp(sys.argv)
app.MainLoop()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment