replace '<A NAME=' with '<A ID='
This commit is contained in:
62
node16.html
62
node16.html
@@ -30,48 +30,48 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||
|
||||
<BODY >
|
||||
<!--Navigation Panel-->
|
||||
<A NAME="tex2html779"
|
||||
<A ID="tex2html779"
|
||||
HREF="node17.html">
|
||||
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
||||
SRC="next.png"></A>
|
||||
<A NAME="tex2html773"
|
||||
<A ID="tex2html773"
|
||||
HREF="node15.html">
|
||||
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
||||
SRC="up.png"></A>
|
||||
<A NAME="tex2html767"
|
||||
<A ID="tex2html767"
|
||||
HREF="node15.html">
|
||||
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
||||
SRC="prev.png"></A>
|
||||
<A NAME="tex2html775"
|
||||
<A ID="tex2html775"
|
||||
HREF="node4.html">
|
||||
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
||||
SRC="contents.png"></A>
|
||||
<A NAME="tex2html777"
|
||||
<A ID="tex2html777"
|
||||
HREF="node201.html">
|
||||
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
|
||||
SRC="index.png"></A>
|
||||
<BR>
|
||||
<B> Next:</B> <A NAME="tex2html780"
|
||||
<B> Next:</B> <A ID="tex2html780"
|
||||
HREF="node17.html">How to find and</A>
|
||||
<B> Up:</B> <A NAME="tex2html774"
|
||||
<B> Up:</B> <A ID="tex2html774"
|
||||
HREF="node15.html">About the Software Examples</A>
|
||||
<B> Previous:</B> <A NAME="tex2html768"
|
||||
<B> Previous:</B> <A ID="tex2html768"
|
||||
HREF="node15.html">About the Software Examples</A>
|
||||
<B> <A NAME="tex2html776"
|
||||
<B> <A ID="tex2html776"
|
||||
HREF="node4.html">Contents</A></B>
|
||||
<B> <A NAME="tex2html778"
|
||||
<B> <A ID="tex2html778"
|
||||
HREF="node201.html">Index</A></B>
|
||||
<BR>
|
||||
<BR>
|
||||
<!--End of Navigation Panel-->
|
||||
|
||||
<H2><A NAME="SECTION00581000000000000000">
|
||||
<H2><A ID="SECTION00581000000000000000">
|
||||
Quick Introduction to Pd</A>
|
||||
</H2>
|
||||
|
||||
<P>
|
||||
Pd documents are called
|
||||
<A NAME="1211"></A><I>patches</I>. They correspond roughly to the
|
||||
<A ID="1211"></A><I>patches</I>. They correspond roughly to the
|
||||
boxes in the abstract block diagrams shown earlier in this chapter, but in
|
||||
detail they
|
||||
are quite different, because Pd is an implementation
|
||||
@@ -80,7 +80,7 @@ environment, not a specification language.
|
||||
<P>
|
||||
A Pd patch, such as the ones shown in
|
||||
Figure <A HREF="#fig01.10">1.10</A>, consists of a collection of
|
||||
<A NAME="1214"></A><I>boxes</I>
|
||||
<A ID="1214"></A><I>boxes</I>
|
||||
connected in a network.
|
||||
The border of a box tells you how its text is interpreted and how the box
|
||||
functions. In part (a) of the figure we see three types of boxes. From
|
||||
@@ -88,7 +88,7 @@ top to bottom they are:
|
||||
|
||||
<UL>
|
||||
<LI>a
|
||||
<A NAME="1217"></A><A NAME="1218"></A><I>message box</I>.
|
||||
<A ID="1217"></A><A ID="1218"></A><I>message box</I>.
|
||||
Message boxes, with a flag-shaped border, interpret the text as a message to
|
||||
send whenever the box is
|
||||
activated (by an incoming message or with a pointing device). The message in this
|
||||
@@ -97,7 +97,7 @@ case consists simply of the number "21".
|
||||
<P>
|
||||
</LI>
|
||||
<LI>an
|
||||
<A NAME="1220"></A><A NAME="1221"></A><I>object box</I>.
|
||||
<A ID="1220"></A><A ID="1221"></A><I>object box</I>.
|
||||
Object boxes have a rectangular border; they interpret the text to create
|
||||
objects
|
||||
when you load a patch. Object boxes may hold hundreds of different
|
||||
@@ -106,18 +106,18 @@ signal processing modules to be introduced later--depending on the text
|
||||
inside. In this example, the box holds an adder. In most Pd patches, the
|
||||
majority of boxes are of type "object". The first word typed into an object
|
||||
box specifies its
|
||||
<A NAME="1223"></A><I>class</I>,
|
||||
<A ID="1223"></A><I>class</I>,
|
||||
which in this case is just "+". Any additional (blank-space-separated) words
|
||||
appearing in the box are called
|
||||
<A NAME="1225"></A><A NAME="1226"></A><I>creation arguments</I>,
|
||||
<A ID="1225"></A><A ID="1226"></A><I>creation arguments</I>,
|
||||
which specify the initial state of the object when it is created.
|
||||
|
||||
<P>
|
||||
</LI>
|
||||
<LI>a
|
||||
<A NAME="1228"></A><A NAME="1229"></A><I>number box</I>.
|
||||
<A ID="1228"></A><A ID="1229"></A><I>number box</I>.
|
||||
Number boxes are a particular type of
|
||||
<A NAME="1231"></A><A NAME="1232"></A><I>GUI box</I>. Others include push buttons and
|
||||
<A ID="1231"></A><A ID="1232"></A><I>GUI box</I>. Others include push buttons and
|
||||
toggle switches; these will come up later in the examples.
|
||||
The number box
|
||||
has a punched-card-shaped border, with a nick out of its top right corner.
|
||||
@@ -137,7 +137,7 @@ from one box to the next; outputs of boxes are on the bottom and inputs on top.
|
||||
|
||||
<P>
|
||||
|
||||
<DIV ALIGN="CENTER"><A NAME="fig01.10"></A><A NAME="1238"></A>
|
||||
<DIV ALIGN="CENTER"><A ID="fig01.10"></A><A ID="1238"></A>
|
||||
<TABLE>
|
||||
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 1.10:</STRONG>
|
||||
(a) three types of boxes in Pd (message, object, and GUI); (b) a simple patch to output a
|
||||
@@ -153,7 +153,7 @@ sinusoid.</CAPTION>
|
||||
Figure <A HREF="#fig01.10">1.10</A> (part b) shows a Pd patch which
|
||||
makes a sinusoid with controllable frequency and amplitude. The connecting
|
||||
patch lines are of two types here; the thin ones are for carrying sporadic
|
||||
<A NAME="1242"></A><I>messages</I>,
|
||||
<A ID="1242"></A><I>messages</I>,
|
||||
and the thicker ones (connecting the oscillator, the multiplier, and the output
|
||||
<TT>dac~</TT> object) carry digital audio signals. Since Pd is a real-time
|
||||
program, the audio signals flow in a continuous stream. On the other hand, the
|
||||
@@ -173,36 +173,36 @@ and "<TT>osc~</TT>".
|
||||
<P>
|
||||
<HR>
|
||||
<!--Navigation Panel-->
|
||||
<A NAME="tex2html779"
|
||||
<A ID="tex2html779"
|
||||
HREF="node17.html">
|
||||
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
||||
SRC="next.png"></A>
|
||||
<A NAME="tex2html773"
|
||||
<A ID="tex2html773"
|
||||
HREF="node15.html">
|
||||
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
||||
SRC="up.png"></A>
|
||||
<A NAME="tex2html767"
|
||||
<A ID="tex2html767"
|
||||
HREF="node15.html">
|
||||
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
||||
SRC="prev.png"></A>
|
||||
<A NAME="tex2html775"
|
||||
<A ID="tex2html775"
|
||||
HREF="node4.html">
|
||||
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
||||
SRC="contents.png"></A>
|
||||
<A NAME="tex2html777"
|
||||
<A ID="tex2html777"
|
||||
HREF="node201.html">
|
||||
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
|
||||
SRC="index.png"></A>
|
||||
<BR>
|
||||
<B> Next:</B> <A NAME="tex2html780"
|
||||
<B> Next:</B> <A ID="tex2html780"
|
||||
HREF="node17.html">How to find and</A>
|
||||
<B> Up:</B> <A NAME="tex2html774"
|
||||
<B> Up:</B> <A ID="tex2html774"
|
||||
HREF="node15.html">About the Software Examples</A>
|
||||
<B> Previous:</B> <A NAME="tex2html768"
|
||||
<B> Previous:</B> <A ID="tex2html768"
|
||||
HREF="node15.html">About the Software Examples</A>
|
||||
<B> <A NAME="tex2html776"
|
||||
<B> <A ID="tex2html776"
|
||||
HREF="node4.html">Contents</A></B>
|
||||
<B> <A NAME="tex2html778"
|
||||
<B> <A ID="tex2html778"
|
||||
HREF="node201.html">Index</A></B>
|
||||
<!--End of Navigation Panel-->
|
||||
<ADDRESS>
|
||||
|
||||
Reference in New Issue
Block a user