File: index.html

package info (click to toggle)
sfront 0.99-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,232 kB
  • ctags: 7,117
  • sloc: ansic: 113,695; haskell: 2,230; makefile: 1,242; objc: 677; yacc: 325
file content (187 lines) | stat: -rw-r--r-- 5,668 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">


<HTML>
<HEAD>
<TITLE>The MP4-SA Book: Appendix F: Language Rules</TITLE>
<META name="description" content="An index to semantics, syntax,
width, rate, and other types of rules in MP4-SA.">
<META name="keywords" content="MP4-SA">
</HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="0000EE" ALINK="FF6666"
VLINK="551A8B">

<A NAME="begin"> </A>

<TABLE BGCOLOR="#CCCCFF" WIDTH="100%" CLASS=navbar>
<TR>
<TD>
<FONT FACE="Verdana, Lucida Sans, Arial, Helvetica, Geneva,
sans-serif"><SMALL>
<A HREF="../../index.html">mp4-sa</A>-><A HREF="../../index.html">
the mp4-sa book</A>-><A HREF="../index.html">
appendices</A>-><STRONG>language rules</STRONG>
</SMALL></FONT>
</TD></TR>
</TABLE>

<H3>From <A HREF="../../index.html">The MPEG-4 Structured Audio Book</A>
by <A HREF="http://www.cs.berkeley.edu/~lazzaro/index.html">
John Lazzaro</A> and <A HREF="http://www.cs.berkeley.edu/~johnw">
John Wawrzynek.</A></H3>

<H1>Appendix F: Language Rules</H1>


<TABLE WIDTH="100%" CELLPADDING=12 CELLSPACING=0>
<TR>

<TD WIDTH="50%" VALIGN=top BGCOLOR="#CCFFCC">


<H2>Atomic Elements</H2>

<P>
How to form correct <A
HREF="../../saol/vars/index.html#numbers">numbers</A>.  How to form
correct <A HREF="../../saol/vars/index.html#names">names</A> for
variables and other elements in SAOL, including
<A HREF="../../opcodes/user/index.html#header">user-defined opcodes</A>.

<H2>Bus Rules</H2>

<P>
How to determine the width of the <A
HREF="../../saol/bus/index.html#output">audio input port</A> and the
<A HREF="../../saol/bus/index.html#send">audio output port</A> of an
instrument. How to determine the <A
HREF="../../saol/bus/index.html#determine">execution order</A> of the
instruments in a SAOL program, and how to use this ordering to
determine the width of <A
HREF="../../saol/bus/index.html#apply">user-defined buses</A>.

<H2>Decoder Execution Order</H2>

<P>
Table <A HREF="../../tut/index.html#trace">introducing</A> the
execution cycle (i-pass, k-pass, and a-pass code synchronized to
decoder k-cycles and a-cycles).  How to determine the <A
HREF="../../saol/bus/index.html#determine">execution order</A> of the
instruments in a SAOL program.  <A
HREF="../../saol/bus/index.html#apply">Introduction</A> and <A
HREF="../../control/saolc/index.html#order">detailed description</A>
of how this ordering impacts the execution of a SAOL program.

<H2>Opcode Call Semantics</H2>

<P>
The calling semantics for core opcodes are <A
HREF="../../saol/simple/index.html#opcode">introduced</A> early in the
book, and <A
HREF="../../saol/simple/index.html#summary">summarized</A> in a table.
Near the end of the book, we explain the calling semantics for <A
HREF="../../opcodes/user/index.html#calls">user-defined</A> opcodes.
Oparray calling are <A
HREF="../../opcodes/filter/index.html#frac">introduced</A> as part of
the <B>fracdelay</b> core opcode description. The special semantics of
<A HREF="../../opcodes/sproc/index.html#special">specialop</A> opcodes
are introduced during the discussion of the 5 core opcodes that are
<B>specialop</B>.

</TD>

<TD WIDTH="50%" VALIGN=top BGCOLOR="#FFCCCC">

<H2>Opcode Definitions</H2>

<P>
Rules for legal user-defined opcodes that result in useful
computation are divided into rules for declaring useful
<A
HREF="../../opcodes/user/index.html#header">parameters and
variables</A> and rules for <A
HREF="../../opcodes/user/index.html#block">statement blocks</A>.


<H2>Parameter Lists</H2>

<P>
How to form correct parameter lists for <A
HREF="../../saol/vars/index.html#preamble">instruments</A> and <A
HREF="../../opcodes/user/index.html#header">user-defined opcodes</A>.

<H2>Pitch Types</H2>

<P>
A <A HREF="../../saol/simple/index.html#pitch">conversion table</A>
shows the four ways to represent pitch in SAOL.

<H2>Precedence</H2>

<P>
The <A HREF="../../saol/exstat/index.html#logic">precedence</A> table
for SAOL expressions. See also this <A
HREF="../../saol/exstat/index.html#arith">explanation</A> of the
concept of precedence.

<H2>Statement Semantics</H2>

<P>
Rate semantics for <A
HREF="../../saol/exstat/index.html#assign">assignment </A>, <A
HREF="../../saol/exstat/index.html#if">if and if-else</A>, and <A
HREF="../../saol/exstat/index.html#while">while</A> statements, as
well as a <A HREF="../../saol/exstat/index.html#summary">summary
table</A> for these three statements. Rate and width semantics for the
bus and audio <A HREF="../../saol/bus/index.html#output">output</A>,
<A HREF="../../saol/bus/index.html#ancillary">outbus</A>, and <A
HREF="../../saol/bus/index.html#ancillary">spatialize</A> statements.
Rate and width semantics of control-oriented <A
HREF="../../control/saolc/index.html#instr">instr</A>, <A
HREF="../../control/saolc/index.html#extend">extend</A>, and <A
HREF="../../control/saolc/index.html#turnoff">turnoff</A> statements.
The user-defined opcode chapter explains the rate and width semantics
of the
<A
HREF="../../opcodes/user/index.html#block">return</A> statement.




<pre>

</pre>

<B><P>
Appendix G:</B>
</B>
<A HREF="../cor1/index.html">COR 1 SAOL changes</A>

</TD>
</TR>
</TABLE>

<BODY BGCOLOR="#FFFFFF">
<TABLE BGCOLOR="#CCCCFF" WIDTH="100%" CLASS=navbar>
<TR>
<TD>
<FONT FACE="Verdana, Lucida Sans, Arial, Helvetica, Geneva,
sans-serif"><SMALL>
<A HREF="../../../index.html">mp4-sa</A>-><A HREF="../../index.html">
the mp4-sa book</A>-><A HREF="../index.html">
appendices</A>-><STRONG>language rules</STRONG>
</SMALL></FONT>
</TD></TR>
</TABLE>

<P>
<A HREF="../../../copyright/index.html">Copyright 1999 John Lazzaro and John
Wawrzynek.</A> 


</BODY>
</HTML>