replace in opening quotations

This commit is contained in:
2022-04-12 23:17:03 -03:00
parent 1ca5c25706
commit 19822c017f
89 changed files with 282 additions and 282 deletions

View File

@@ -130,8 +130,8 @@ directly use hardware MIDI input or output.
SRC="img355.png"
ALT="\fbox{ $\mathrm{t}$}">:
<A NAME="3853"></A>copy a message to outlets in right to left order, with type conversion. The
creation arguments (``b" and ``f" in this example) specify two outlets, one
giving ``bang" messages, the other ``float" (i.e., numbers). One outlet
creation arguments ("b" and "f" in this example) specify two outlets, one
giving "bang" messages, the other "float" (i.e., numbers). One outlet
is created for each creation argument. The outputs appear in Pd's standard
right-to-left order.
@@ -146,19 +146,19 @@ the input failed to match 0); this is divided by the maximum MIDI velocity of
<P>
However, when a note-off is received, it is only appropriate to stop the sound
if the note-off pitch actually matches the pitch the instrument is playing.
For example, suppose the messages received are ``60 127", ``72 127",
``60 0", and ``72 0". When the note-on at pitch 72 arrives the pitch should
change to 72, and then the ``60 0" message should be ignored, with the note
playing until the ``72 0" message.
For example, suppose the messages received are "60 127", "72 127",
"60 0", and "72 0". When the note-on at pitch 72 arrives the pitch should
change to 72, and then the "60 0" message should be ignored, with the note
playing until the "72 0" message.
<P>
To accomplish this, first we store the velocity in the upper <TT>float</TT> object. Second, when the pitch arrives, it too is stored (the lower
<TT>float</TT> object) and then the velocity is tested against zero (the
``bang" outlet of <TT>t b f</TT> recalls the velocity which is sent to
"bang" outlet of <TT>t b f</TT> recalls the velocity which is sent to
<TT>sel 0</TT>). If this is zero, the second step is to recall the pitch and
test it (the <TT>select</TT> object) against the most recently received
note-on pitch. Only if these are equal (so that ``bang" appears at the
left-hand-side outlet of <TT>select</TT>) does the message ``0 1000" go to the
note-on pitch. Only if these are equal (so that "bang" appears at the
left-hand-side outlet of <TT>select</TT>) does the message "0 1000" go to the
<TT>line~</TT> object.
<P>