replace in opening quotations
This commit is contained in:
14
node34.html
14
node34.html
@@ -117,12 +117,12 @@ you can send messages to select which table to use.
|
||||
<A NAME="2556"></A>record an audio signal into a wavetable. In this example the
|
||||
<TT>tabwrite~</TT> is used to display the output (although later
|
||||
on it will be used for all sorts of other things.) Whenever it receives a
|
||||
``bang" message from the pushbutton icon above it, <TT>tabwrite~</TT> begins
|
||||
"bang" message from the pushbutton icon above it, <TT>tabwrite~</TT> begins
|
||||
writing successive samples of its input to the named table.
|
||||
|
||||
<P>
|
||||
Example B03.tabread4.pd shows how to combine a <TT>phasor~</TT> and a <TT>tabread4~</TT> object to make a wavetable oscillator. The <TT>phasor~</TT>'s output ranges from
|
||||
0 to 1 in value. In this case the input wavetable, named ``waveform12", is 131
|
||||
0 to 1 in value. In this case the input wavetable, named "waveform12", is 131
|
||||
elements long. The domain for the <TT>tabread4~</TT> object is thus from 1 to
|
||||
129. To adjust the range of the <TT>phasor~</TT> accordingly, we multiply it by
|
||||
the length of the domain (128) so that it reaches between 0 and 128, and then
|
||||
@@ -133,7 +133,7 @@ between the <TT>phasor~</TT> and the <TT>tabread4~</TT>.
|
||||
<P>
|
||||
With only these four boxes we would have essentially reinvented the
|
||||
<TT>tabosc4~</TT> class. In this example, however, the multiplication
|
||||
is not by a constant 128 but by a variable amount controlled by the ``squeeze"
|
||||
is not by a constant 128 but by a variable amount controlled by the "squeeze"
|
||||
parameter. The function of the four boxes at the right hand side of the patch
|
||||
is to supply the <TT>*~</TT> object with values to scale the
|
||||
<TT>phasor~</TT> by. This makes use of one more new object class:
|
||||
@@ -150,18 +150,18 @@ is to supply the <TT>*~</TT> object with values to scale the
|
||||
number of arguments, their types (usually numbers) and their initial values.
|
||||
The inlets (there will be as many as you specified creation arguments) update
|
||||
the values of the message arguments, and, if the leftmost inlet is changed
|
||||
(or just triggered with a ``bang" message), the message is output.
|
||||
(or just triggered with a "bang" message), the message is output.
|
||||
<A NAME="pdpack"></A>
|
||||
<P>
|
||||
In this patch the arguments are initially 0 and 50, but the number box will
|
||||
update the value of the first argument, so that, as pictured, the most recent
|
||||
message to leave the <TT>pack</TT> object was ``206 50". The effect of this
|
||||
message to leave the <TT>pack</TT> object was "206 50". The effect of this
|
||||
on the <TT>line~</TT> object below is to ramp to 206 in 50 milliseconds; in
|
||||
general the output of the <TT>line~</TT> object is an audio signal that smoothly
|
||||
follows the sporadically changing values of the number box labeled ``squeeze".
|
||||
follows the sporadically changing values of the number box labeled "squeeze".
|
||||
|
||||
<P>
|
||||
Finally, 128 is added to the ``squeeze" value; if ``squeeze" takes non-negative
|
||||
Finally, 128 is added to the "squeeze" value; if "squeeze" takes non-negative
|
||||
values (as the number box in this patch enforces), the range-setting multiplier
|
||||
ranges the phasor by 128 or more. If the value is greater than 128, the effect
|
||||
is that the rescaled phasor spends some fraction of its cycle stuck at the end
|
||||
|
||||
Reference in New Issue
Block a user