Views
this stuff is now included in Pd-extended! Check the Help Browser, under manuals -> pd-msg.
Some documentation about internal Pd messages.
- This has been edited - please update tar file.
http://dh7.free.fr/pd-msg/pd-msg_05.tar.gz
https://forum.pdpatchrepo.info/uploads/files/1497602807047-pd-msg.zip (more up-to-date)
This Document's favorite place is /doc/7.Stuff/pdmsg/0.intro.txt .
It should work on all platforms supported by Pd.
A brief resume :
1) Internal Pd messages are sent directly to pd (pd selector) or to a loaded patch (pd-patch.pd selector). All msgs must be terminated by ";" Test msgs with: TkPd? File menu : message pdsend executable tclsend2pd in /pdmsg/4.msg_from_tcl/ .
These msgs allows you (for example): To control pd without the gui : Take advantage of the no-gui option open a patch via socket... (tcl, python, sh, c++,...) modify or create new patch Create patch that will create another Deals with massive polyphonie (100 osc~ or more...) load patches from another construct generative patch Create new gui etc...
2) List of msgs (* are documented below):
Messages to pd:
init gimme
- open symbol symbol
- quit
foo gimme
- dsp gimme
meters float
key gimme
- audiostatus
finderror
ping
messages to canvas:
- obj gimme
- msg gimme
- floatatom gimme
- symbolatom gimme
- text gimme
- graph gimme
- array
- scalar gimme
bng gimme
toggle gimme
vslider gimme
hslider gimme
radio gimme
vumeter gimme
mycnv gimme
- connect float float float float
- restore gimme
sort
- click float float float float
- mouseup float float float
- key gimme
- motion float float float
- print symbol
- menusave
- menusaveas
- menuclose deffloat
- saveto symbol symbol
- cut
- copy
- paste
- duplicate
- selectall
- tidy
- texteditor
- editmode deffloat
protectmode deffloat
- print symbol
- pop deffloat
- loadbang
- relocate symbol symbol
- menufont
- font float float float
- find gimme
- findagain
- findparent
- vis float
arraydialog symbol float float float
map float
clear
intatom gimme
atom gimme
- audiostatus
- dsp gimme
3) Map of documentation :
- msg_and_patch
Describes msgs that can be sent to patch.
Contains Pd files
- msg_and_pd
Describes msgs that can be sent to pd.
Contains Pd files
- pdscript
A sh scrip using pdsend to create patch into pd.
pdscript written by Guenter Geiger.
Contains readme + files.
- msg_from_tcl/tk
Describes usage of tcl/tk to create, open patch, etc...
- Examples
Contains example of how a "obj x y myOsc~" message can be used to deal with massive polyphonie
4) Releases :
release 0.5 : pd-msg_05.tar.gz
add some more msg.
Thanks to Krzysztof Czaja
all msg are listed for pd0.34
release 0.4 : pd-msg_04.tar.gz
add many message :
the events messages
the menu messages
the cut msg, etc...
complete the polyphonie example
release 0.3 : pd-msg
Rearrange patch & examples in different directory.
add polyphonie examples
add tcl scripts...
release 0.2 : self-generation
add messages to open and close patch.
release 0.1 : self-construction
first release
5) To do list :
Some msg are not well explained or not explained at all.
6) Reference :
Look @ the end of code of g_canvas.c in the source directory.
Damien HENRY