| 1 |
|
| 2 |
<glossary id="MiscGlossary"> |
| 3 |
<title>Glossary</title> |
| 4 |
|
| 5 |
<glossdiv><title>G</title> |
| 6 |
|
| 7 |
<glossentry id="glossaryGuardPoint"> |
| 8 |
<glossterm>Guard Point</glossterm> |
| 9 |
<glossdef> |
| 10 |
<para> |
| 11 |
A guard point is the last position on a function table. |
| 12 |
If the length is, say 1024, the table will have 1024+1 (1025) points: |
| 13 |
the extra point is the guard point. |
| 14 |
</para> |
| 15 |
|
| 16 |
<para> |
| 17 |
In any case, for a 1024-point table, the first point is index 0 and the |
| 18 |
last 1023; index 1024 is not really used) |
| 19 |
</para> |
| 20 |
|
| 21 |
<para> |
| 22 |
The reason for a guard-point is that some opcodes interpolate |
| 23 |
to obtain a table value, in which case, when the table index is |
| 24 |
say, 1023.5, we need the value of the 1024 pos in order to interpolate. |
| 25 |
</para> |
| 26 |
|
| 27 |
<para> |
| 28 |
There are two ways of filling this point (writing the value that goes |
| 29 |
in it): |
| 30 |
|
| 31 |
<orderedlist> |
| 32 |
|
| 33 |
<listitem> |
| 34 |
<para> |
| 35 |
Default way: by copying the value of the 1st point in the table |
| 36 |
</para> |
| 37 |
</listitem> |
| 38 |
|
| 39 |
<listitem> |
| 40 |
<para> |
| 41 |
Extended Guard-Point: extending the contour of the table (continuing to |
| 42 |
calculate the table for one extra point) |
| 43 |
</para> |
| 44 |
</listitem> |
| 45 |
|
| 46 |
</orderedlist> |
| 47 |
|
| 48 |
|
| 49 |
In general the first mode is used for wrap-around applications, such as |
| 50 |
an oscillator (which loops continuously reading the table). The second |
| 51 |
use is for one-shot readouts, such as envelopes, where the last point |
| 52 |
needs to be interpolated correctly following the table contour (we are not |
| 53 |
looping back to the beginning of the table) |
| 54 |
</para> |
| 55 |
|
| 56 |
</glossdef> |
| 57 |
</glossentry> |
| 58 |
|
| 59 |
</glossdiv> |
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
</glossary> |