From 5aef03b3a165b309622f6d051bd4d53c42b4532d Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Mon, 25 Nov 2002 10:47:53 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r232, which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=233 --- pd/doc/1.manual/x2.htm | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'pd/doc/1.manual/x2.htm') diff --git a/pd/doc/1.manual/x2.htm b/pd/doc/1.manual/x2.htm index cc382e67..334e6ae2 100644 --- a/pd/doc/1.manual/x2.htm +++ b/pd/doc/1.manual/x2.htm @@ -69,7 +69,7 @@ whether you can see them or not. Here is a simple Pd patch:

-There are four text items in this patch: a number box (showing zero), +There are four text boxes in this patch: a number box (showing zero), an object box showing "print," and two comments. The number box and the object box are connected, the number box's output to the print box's input. Boxes may have zero or more inputs and/or outputs, with the inputs on top and the outputs @@ -651,7 +651,7 @@ carried out in the order they were scheduled.

2.6. semantics

This section describes how objects in Pd are created, how they store data and -how object and other boxes they pass messages among themselves. +how object and other boxes pass messages among themselves.

2.6.1. creation of objects

@@ -759,6 +759,13 @@ is the mechanism for making local variables. In particular, $0 in an abstractio is a counter which is guaranteed to be unique to that abstraction, so sends and receives with names like "$0-bear" can be used as local send/receive pairs. +

Note that the expansion of variables such as $0 and $1 only works at the +beginning of the symbol; so, for instance, "rats-$1" will not be expanded. +Occasionally you may want to have double or triple substitutions; this can +be done one stage at a time by nesting abstractions (with each subpatch +adding its own $-variable to the beginning of a symbol and passing that on +as argument to a further anstraction.) +

2.7. subpatches

Pd offers two mechanisms for making subpatches, called "one-off subpatches" @@ -946,7 +953,7 @@ width and height, in screen pixels.

Many other operations are defined for arrays; see the related patches in the tutorial (starting at 2.control/15.array.pd) for more possibliities. -

2.9. Data structures

+

2.9. Data structures

(Note: this section is adapted from an article submitted to ICMC 2002.)

The original idea in developing Pd was to make a real-time computer music -- cgit v1.2.1