3 <link rel=
"stylesheet" href=
"style.css" type=
"text/css">
4 <meta content=
"text/html; charset=iso-8859-1" http-equiv=
"Content-Type">
5 <link rel=
"Start" href=
"index.html">
6 <link title=
"Index of types" rel=Appendix
href=
"index_types.html">
7 <link title=
"Index of exceptions" rel=Appendix
href=
"index_exceptions.html">
8 <link title=
"Index of values" rel=Appendix
href=
"index_values.html">
9 <link title=
"Index of modules" rel=Appendix
href=
"index_modules.html">
10 <link title=
"Types" rel=
"Chapter" href=
"Types.html">
11 <link title=
"Parser" rel=
"Chapter" href=
"Parser.html">
12 <link title=
"Lexer" rel=
"Chapter" href=
"Lexer.html">
13 <link title=
"Value" rel=
"Chapter" href=
"Value.html">
14 <link title=
"Signal" rel=
"Chapter" href=
"Signal.html">
15 <link title=
"Faustexp" rel=
"Chapter" href=
"Faustexp.html">
16 <link title=
"Interpreter" rel=
"Chapter" href=
"Interpreter.html">
17 <link title=
"Preprocess" rel=
"Chapter" href=
"Preprocess.html">
18 <link title=
"Main" rel=
"Chapter" href=
"Main.html"><title>Index of values
</title>
21 <center><h1>Index of values
</h1></center>
23 <tr><td align=
"left"><br></td></tr>
24 <tr><td><a href=
"Value.html#VAL( *~ )">( *~ )
</a> [
<a href=
"Value.html">Value
</a>]
</td>
25 <td><div class=
"info">
26 val ( *~ ) : value -
> value -
> value, operator of v_mul.
29 <tr><td><a href=
"Value.html#VAL(+~)">(+~)
</a> [
<a href=
"Value.html">Value
</a>]
</td>
30 <td><div class=
"info">
31 val (+~) : value -
> value -
> value, operator of v_add.
34 <tr><td><a href=
"Value.html#VAL(-~)">(-~)
</a> [
<a href=
"Value.html">Value
</a>]
</td>
35 <td><div class=
"info">
36 val (-~) : value -
> value -
> value, operator of v_sub.
39 <tr><td><a href=
"Value.html#VAL(/~)">(/~)
</a> [
<a href=
"Value.html">Value
</a>]
</td>
40 <td><div class=
"info">
41 val (/~) : value -
> value -
> value, operator of v_div.
44 <tr><td><a href=
"Lexer.html#VAL__ocaml_lex_tables">__ocaml_lex_tables
</a> [
<a href=
"Lexer.html">Lexer
</a>]
</td>
46 <tr><td><a href=
"Lexer.html#VAL__ocaml_lex_token_rec">__ocaml_lex_token_rec
</a> [
<a href=
"Lexer.html">Lexer
</a>]
</td>
48 <tr><td align=
"left"><br>A
</td></tr>
49 <tr><td><a href=
"Interpreter.html#VALarrange">arrange
</a> [
<a href=
"Interpreter.html">Interpreter
</a>]
</td>
50 <td><div class=
"info">
51 val arrange : 'a array array array -
> int -
> 'a array list,
52 arranges the output data in
"array list" form.
55 <tr><td align=
"left"><br>B
</td></tr>
56 <tr><td><a href=
"Signal.html#VALbeam_add_one_memory">beam_add_one_memory
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
57 <td><div class=
"info">
58 val beam_add_one_memory : signal list -
> signal list,
59 adds memory of one latest sample for each element in signal list.
62 <tr><td align=
"left"><br>C
</td></tr>
63 <tr><td><a href=
"Interpreter.html#VALchannels">channels
</a> [
<a href=
"Interpreter.html">Interpreter
</a>]
</td>
64 <td><div class=
"info">
65 val channels : 'a array array array -
> int -
> int array,
66 returns an array of number of channels.
69 <tr><td><a href=
"Signal.html#VALcheck_frequency">check_frequency
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
70 <td><div class=
"info">
71 val check_frequency : int -
> int -
> int, returns the correction of frequency.
74 <tr><td><a href=
"Interpreter.html#VALcompute">compute
</a> [
<a href=
"Interpreter.html">Interpreter
</a>]
</td>
75 <td><div class=
"info">
76 val compute : (int -
> value) list -
> (int list) * (float array list).
79 <tr><td><a href=
"Interpreter.html#VALcomputing">computing
</a> [
<a href=
"Interpreter.html">Interpreter
</a>]
</td>
80 <td><div class=
"info">
81 val computing : (int -
> value array) -
> int -
> int -
> float array array array,
82 applies time sequence
"0,1,2,3,...,max" to signal beam,
83 returns primitive output data.
86 <tr><td><a href=
"Value.html#VALconvert_back_R">convert_back_R
</a> [
<a href=
"Value.html">Value
</a>]
</td>
87 <td><div class=
"info">
88 val convert_back_r : value -
> float array,
89 return a float array of size
1 if v is N|R|Zero|W, a float array of size n if v is Vec.
92 <tr><td align=
"left"><br>D
</td></tr>
93 <tr><td><a href=
"Faustexp.html#VALd_merge">d_merge
</a> [
<a href=
"Faustexp.html">Faustexp
</a>]
</td>
94 <td><div class=
"info">
95 val d_merge : int * int -
> int * int -
> int * int, process dimension for constructor
"merge(:>)",
96 which is (size of input beam of first exp, size of output beam of second exp)
97 along with beam matching.
100 <tr><td><a href=
"Faustexp.html#VALd_par">d_par
</a> [
<a href=
"Faustexp.html">Faustexp
</a>]
</td>
101 <td><div class=
"info">
102 val d_par : int * int -
> int * int -
> int * int, process dimension for constructor
"par(,)",
103 which is the addition of two dimensions.
106 <tr><td><a href=
"Faustexp.html#VALd_rec">d_rec
</a> [
<a href=
"Faustexp.html">Faustexp
</a>]
</td>
107 <td><div class=
"info">
108 val d_rec : int * int -
> int * int -
> int * int, process dimension for constructor
"rec(~)",
109 which is (size of input beam of first exp - size of output beam of second exp,
110 size of output beam of first exp)
111 along with beam matching.
114 <tr><td><a href=
"Faustexp.html#VALd_seq">d_seq
</a> [
<a href=
"Faustexp.html">Faustexp
</a>]
</td>
115 <td><div class=
"info">
116 val d_seq : int * int -
> int * int -
> int * int, process dimension for constructor
"seq(:)",
117 which is (size of input beam of first exp, size of output beam of second exp)
118 along with beam matching.
121 <tr><td><a href=
"Faustexp.html#VALd_split">d_split
</a> [
<a href=
"Faustexp.html">Faustexp
</a>]
</td>
122 <td><div class=
"info">
123 val d_split : int * int -
> int * int -
> int * int, process dimension for constructor
"split(<:)",
124 which is (size of input beam of first exp, size of output beam of second exp)
125 along with beam matching.
128 <tr><td><a href=
"Faustexp.html#VALdelay">delay
</a> [
<a href=
"Faustexp.html">Faustexp
</a>]
</td>
129 <td><div class=
"info">
130 val delay : faust_exp -
> int, returns the number of delays estimated staticly.
133 <tr><td><a href=
"Faustexp.html#VALdim">dim
</a> [
<a href=
"Faustexp.html">Faustexp
</a>]
</td>
134 <td><div class=
"info">
135 val dim : faust_exp -
> int * int, returns dimension for faust expression,
136 along with beam matching.
139 <tr><td align=
"left"><br>E
</td></tr>
140 <tr><td><a href=
"Interpreter.html#VALeval">eval
</a> [
<a href=
"Interpreter.html">Interpreter
</a>]
</td>
141 <td><div class=
"info">
142 val rec eval : faust_exp -
> beam -
> beam,
143 main interpretation work is done here.
146 <tr><td><a href=
"Faustexp.html#VALexp_of_string">exp_of_string
</a> [
<a href=
"Faustexp.html">Faustexp
</a>]
</td>
147 <td><div class=
"info">
148 val exp_of_string : string -
> faust_exp, faust expression parser.
151 <tr><td><a href=
"Interpreter.html#VALextract_rate">extract_rate
</a> [
<a href=
"Interpreter.html">Interpreter
</a>]
</td>
152 <td><div class=
"info">
153 val extract_rate : (int * (int -
> value)) list -
> int list,
154 gets the sample rate list from beam.
157 <tr><td align=
"left"><br>F
</td></tr>
158 <tr><td><a href=
"Value.html#VALfactory_add_memory">factory_add_memory
</a> [
<a href=
"Value.html">Value
</a>]
</td>
159 <td><div class=
"info">
160 val factory_add_memory : (int -
> 'b) -
> int -
> (int -
> 'b),
161 <code class=
"code">factory_add_memory f n
</code> adds a memory of size n to fun f.
164 <tr><td><a href=
"Value.html#VALfail">fail
</a> [
<a href=
"Value.html">Value
</a>]
</td>
165 <td><div class=
"info">
166 val fail, return value W.
169 <tr><td><a href=
"Signal.html#VALfrequency">frequency
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
170 <td><div class=
"info">
171 val frequency : signal -
> int, returns the frequency of a signal.
174 <tr><td><a href=
"Interpreter.html#VALfun_array_to_fun">fun_array_to_fun
</a> [
<a href=
"Interpreter.html">Interpreter
</a>]
</td>
175 <td><div class=
"info">
176 val func_of_func_array : (int -
> value) array -
> (int -
> value array),
177 applies the same int parameter to each element of function array,
178 produces a value array.
181 <tr><td align=
"left"><br>G
</td></tr>
182 <tr><td><a href=
"Faustexp.html#VALget_root">get_root
</a> [
<a href=
"Faustexp.html">Faustexp
</a>]
</td>
183 <td><div class=
"info">
184 val get_root : dimension -
> int * int, returns the root of dimension tree.
187 <tr><td align=
"left"><br>I
</td></tr>
188 <tr><td><a href=
"Interpreter.html#VALinterpret_const">interpret_const
</a> [
<a href=
"Interpreter.html">Interpreter
</a>]
</td>
189 <td><div class=
"info">
190 val interpret_const : value -
> beam -
> beam, generates constant signal with frequency
0.
193 <tr><td><a href=
"Interpreter.html#VALinterpret_ident">interpret_ident
</a> [
<a href=
"Interpreter.html">Interpreter
</a>]
</td>
194 <td><div class=
"info">
195 val interpret_ident : string -
> beam -
> beam,
196 generates signals according to identified symbols.
199 <tr><td><a href=
"Interpreter.html#VALinterpreter">interpreter
</a> [
<a href=
"Interpreter.html">Interpreter
</a>]
</td>
200 <td><div class=
"info">
201 val interpreter : faust_exp -
> (int list) * (float array list) -
>
202 (int list) * (int list) * (float array list)
203 input: faust expression, sample rate list * input data list
204 output: channel list * sample rate list * output data list.
207 <tr><td><a href=
"Interpreter.html#VALinterpreter_macro_to_value">interpreter_macro_to_value
</a> [
<a href=
"Interpreter.html">Interpreter
</a>]
</td>
208 <td><div class=
"info">
209 val interpreter_macro_to_value : returns the value associated with the macro.
212 <tr><td><a href=
"Main.html#VALio_macro_to_string">io_macro_to_string
</a> [
<a href=
"Main.html">Main
</a>]
</td>
213 <td><div class=
"info">
214 val io_macro_to_string : io_macro -
> string.
217 <tr><td align=
"left"><br>M
</td></tr>
218 <tr><td><a href=
"Main.html#VALmain">main
</a> [
<a href=
"Main.html">Main
</a>]
</td>
220 <tr><td><a href=
"Parser.html#VALmain">main
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
222 <tr><td><a href=
"Interpreter.html#VALmake_beam">make_beam
</a> [
<a href=
"Interpreter.html">Interpreter
</a>]
</td>
223 <td><div class=
"info">
224 val make_beam : (int list) * (float array list) -
> (int * (int -
> value)) list,
225 input: (sample rate list, data list)
226 output: beam = (sample rate, function) list
229 <tr><td><a href=
"Value.html#VALmake_vector">make_vector
</a> [
<a href=
"Value.html">Value
</a>]
</td>
230 <td><div class=
"info">
231 val make_vector : int -
> (int -
> value) -
> value,
232 <code class=
"code">make_vector size vec
</code>, return a value Vec of (size, vec).
235 <tr><td><a href=
"Interpreter.html#VALmatrix_transpose">matrix_transpose
</a> [
<a href=
"Interpreter.html">Interpreter
</a>]
</td>
236 <td><div class=
"info">
237 val matrix_transpose : 'a array array -
> 'a array array,
238 transposes the input matrix.
241 <tr><td align=
"left"><br>N
</td></tr>
242 <tr><td><a href=
"Value.html#VALnormalize">normalize
</a> [
<a href=
"Value.html">Value
</a>]
</td>
243 <td><div class=
"info">
244 val normalize: value -
> value, normalize value to bounded
<code class=
"code">-
2147483648,
2147483647</code>.
247 <tr><td align=
"left"><br>P
</td></tr>
248 <tr><td><a href=
"Preprocess.html#VALpreprocess">preprocess
</a> [
<a href=
"Preprocess.html">Preprocess
</a>]
</td>
250 <tr><td><a href=
"Faustexp.html#VALprint_exp">print_exp
</a> [
<a href=
"Faustexp.html">Faustexp
</a>]
</td>
251 <td><div class=
"info">
252 val print_exp : faust_exp -
> unit, print to console the input faust expression.
255 <tr><td><a href=
"Value.html#VALprint_value_list">print_value_list
</a> [
<a href=
"Value.html">Value
</a>]
</td>
256 <td><div class=
"info">
257 val print_value_list: value list -
> unit, prints to console the value list.
260 <tr><td align=
"left"><br>R
</td></tr>
261 <tr><td><a href=
"Main.html#VALread_input_wave">read_input_wave
</a> [
<a href=
"Main.html">Main
</a>]
</td>
262 <td><div class=
"info">
263 val read_input_wave : string array -
> int list * float array list
264 <code class=
"code">read_input_wave argv
</code> gets information from command line,
265 returns sample rate list and data (in form of float array) list.
268 <tr><td><a href=
"Value.html#VALreturn_N">return_N
</a> [
<a href=
"Value.html">Value
</a>]
</td>
269 <td><div class=
"info">
270 val return_N : int -
> value, convert from int to value N.
273 <tr><td><a href=
"Value.html#VALreturn_R">return_R
</a> [
<a href=
"Value.html">Value
</a>]
</td>
274 <td><div class=
"info">
275 val return_R : float -
> value, convert from float to value R.
278 <tr><td><a href=
"Value.html#VALreturn_Vec">return_Vec
</a> [
<a href=
"Value.html">Value
</a>]
</td>
279 <td><div class=
"info">
280 val return_Vec : int * (int -
> value) -
> value, convert (size, vec) to value Vec.
283 <tr><td align=
"left"><br>S
</td></tr>
284 <tr><td><a href=
"Main.html#VALset_GC">set_GC
</a> [
<a href=
"Main.html">Main
</a>]
</td>
285 <td><div class=
"info">
286 val set_GC : unit -
> unit
289 <tr><td><a href=
"Signal.html#VALsignal_add">signal_add
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
290 <td><div class=
"info">
291 val signal_add : signal -
> signal -
> signal, output(t) = input1(t) + input2(t),
292 frequency consistent.
295 <tr><td><a href=
"Signal.html#VALsignal_add_one_memory">signal_add_one_memory
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
296 <td><div class=
"info">
297 val signal_add_one_memory : signal -
> signal,
298 returns the signal with memory of one latest sample.
301 <tr><td><a href=
"Signal.html#VALsignal_append">signal_append
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
302 <td><div class=
"info">
303 val signal_append : signal -
> signal -
> signal, symbol
"#",
304 appends vectors of the two input signals at each time, frequency consistent.
307 <tr><td><a href=
"Signal.html#VALsignal_atan">signal_atan
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
308 <td><div class=
"info">
309 val signal_atan : signal -
> signal, output(t) = v_atan(input(t)), frequency consistent.
312 <tr><td><a href=
"Signal.html#VALsignal_atantwo">signal_atantwo
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
314 <tr><td><a href=
"Signal.html#VALsignal_check_frequency">signal_check_frequency
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
315 <td><div class=
"info">
316 val signal_check_frequency : signal -
> signal -
> int,
317 checks the frequencies of two input signals, and returns common frequency or raise an exception.
320 <tr><td><a href=
"Signal.html#VALsignal_check_frequency3">signal_check_frequency3
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
321 <td><div class=
"info">
322 val signal_check_frequency3 : signal -
> signal -
> signal -
> int,
323 checks the frequencies of three input signal, and returns common frequency or raise an exception.
326 <tr><td><a href=
"Signal.html#VALsignal_check_frequency4">signal_check_frequency4
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
327 <td><div class=
"info">
328 val signal_check_frequency4 : signal -
> signal -
> signal -
> signal -
> int,
329 checks the frequencies of three input signal, and returns common frequency or raise an exception.
332 <tr><td><a href=
"Signal.html#VALsignal_cos">signal_cos
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
333 <td><div class=
"info">
334 val signal_cos : signal -
> signal, output(t) = v_cos(input(t)), frequency consistent.
337 <tr><td><a href=
"Signal.html#VALsignal_delay">signal_delay
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
338 <td><div class=
"info">
339 val signal_delay : signal -
> signal -
> signal, output(t) = input1(t - input2(t)),
340 Attention: delay dynamic, frequency of output signal equals to that of first input signal.
343 <tr><td><a href=
"Signal.html#VALsignal_div">signal_div
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
344 <td><div class=
"info">
345 val signal_div : signal -
> signal -
> signal, output(t) = input1(t) / input2(t),
346 frequency consistent.
349 <tr><td><a href=
"Signal.html#VALsignal_floor">signal_floor
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
350 <td><div class=
"info">
351 val signal_floor : signal -
> signal, output(t) = v_floor(input(t)), frequency consistent.
354 <tr><td><a href=
"Signal.html#VALsignal_fun">signal_fun
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
355 <td><div class=
"info">
356 val signal_fun : signal -
> (int -
> value), returns the functional part of a signal.
359 <tr><td><a href=
"Signal.html#VALsignal_inf">signal_inf
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
360 <td><div class=
"info">
361 val signal_inf : signal -
> signal -
> signal,
362 output(t) = input1(t)
< input2(t), frequency consistent.
365 <tr><td><a href=
"Signal.html#VALsignal_int">signal_int
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
366 <td><div class=
"info">
367 val signal_int : signal -
> signal, output(t) = v_int(input(t)), frequency consistent.
370 <tr><td><a href=
"Signal.html#VALsignal_macro_to_int">signal_macro_to_int
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
371 <td><div class=
"info">
372 val signal_macro_to_int : signal_macro -
> int.
375 <tr><td><a href=
"Signal.html#VALsignal_mem">signal_mem
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
376 <td><div class=
"info">
377 val signal_mem : signal -
> signal, equivalent to signal_delay with constant delay
1.
380 <tr><td><a href=
"Signal.html#VALsignal_mod">signal_mod
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
381 <td><div class=
"info">
382 val signal_mod : signal -
> signal -
> signal,
383 output(t) = input1(t) % input2(t), frequency consistent.
386 <tr><td><a href=
"Signal.html#VALsignal_mul">signal_mul
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
387 <td><div class=
"info">
388 val signal_mul : signal -
> signal -
> signal, output(t) = input1(t) * input2(t),
389 frequency consistent.
392 <tr><td><a href=
"Signal.html#VALsignal_neg">signal_neg
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
393 <td><div class=
"info">
394 val signal_neg : signal -
> signal, output(t) = -input(t), frequency consistent.
397 <tr><td><a href=
"Signal.html#VALsignal_nth">signal_nth
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
398 <td><div class=
"info">
399 val signal_nth : signal -
> signal -
> signal, symbol
"[]", output(t) = input1(t)(input2(t)),
400 frequency consistent.
403 <tr><td><a href=
"Signal.html#VALsignal_prefix">signal_prefix
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
404 <td><div class=
"info">
405 val signal_prefix : signal -
> signal -
> signal,
406 <code class=
"code">signal_prefix s0 s1
</code> returns s0(
0) if t =
0, s1(t-
1) if t
> 0, frequency same to s1.
409 <tr><td><a href=
"Signal.html#VALsignal_rdtable">signal_rdtable
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
410 <td><div class=
"info">
411 val signal_rdtable : signal -
> signal -
> signal,
412 output(t) = input1(input2(t)), frequency equals to that of input2.
415 <tr><td><a href=
"Signal.html#VALsignal_select2">signal_select2
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
416 <td><div class=
"info">
417 val signal_select2 : signal -
> signal -
> signal -
> signal,
418 <code class=
"code">signal_select2 si s0 s1
</code> selects s0 or s1 by index si, frequency consistent.
421 <tr><td><a href=
"Signal.html#VALsignal_select3">signal_select3
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
422 <td><div class=
"info">
423 val signal_select3 : signal -
> signal -
> signal -
> signal -
> signal,
424 <code class=
"code">signal_select3 si s0 s1 s2
</code> selects s0 or s1 or s2 by index si, frequency consistent.
427 <tr><td><a href=
"Signal.html#VALsignal_serialize">signal_serialize
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
428 <td><div class=
"info">
429 val signal_serialize : signal -
> signal, output(t) = input(floor(t/n))(t%n),
430 with n = size of input(
0).
433 <tr><td><a href=
"Signal.html#VALsignal_sin">signal_sin
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
434 <td><div class=
"info">
435 val signal_sin : signal -
> signal, output(t) = v_sin(input(t)), frequency consistent.
438 <tr><td><a href=
"Signal.html#VALsignal_sqrt">signal_sqrt
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
439 <td><div class=
"info">
440 val signal_sqrt : signal -
> signal, output(t) = v_sqrt(input(t)), frequency consistent.
443 <tr><td><a href=
"Signal.html#VALsignal_sub">signal_sub
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
444 <td><div class=
"info">
445 val signal_sub : signal -
> signal -
> signal, output(t) = input1(t) - input2(t),
446 frequency consistent.
449 <tr><td><a href=
"Signal.html#VALsignal_sup">signal_sup
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
450 <td><div class=
"info">
451 val signal_sup : signal -
> signal -
> signal,
452 output(t) = input1(t)
> input2(t), frequency consistent.
455 <tr><td><a href=
"Signal.html#VALsignal_vectorize">signal_vectorize
</a> [
<a href=
"Signal.html">Signal
</a>]
</td>
456 <td><div class=
"info">
457 val signal_vectorize : signal -
> signal -
> signal, output(t)(i) = input1(input2(
0) * t + i),
458 Attention: vector size n static, frequency of output signal is (
1/n * frequency of input1)
461 <tr><td><a href=
"Value.html#VALstring_of_value">string_of_value
</a> [
<a href=
"Value.html">Value
</a>]
</td>
462 <td><div class=
"info">
463 val string_of_value : value -
> string, converts value to following
464 strings
"N i" |
"R f" |
"Vec" |
"Zero" |
"W".
467 <tr><td><a href=
"Interpreter.html#VALsublist">sublist
</a> [
<a href=
"Interpreter.html">Interpreter
</a>]
</td>
468 <td><div class=
"info">
469 val sublist : 'a list -
> int -
> int -
> 'a list,
470 <code class=
"code">sublist l start length
</code>, returns the sublist of list 'l',
471 from index 'start', with length 'length'.
474 <tr><td><a href=
"Faustexp.html#VALsubtree">subtree
</a> [
<a href=
"Faustexp.html">Faustexp
</a>]
</td>
475 <td><div class=
"info">
476 val subtree : dimention -
> int -
> dimension, returns a subtree of dimension tree.
479 <tr><td><a href=
"Faustexp.html#VALsubtree_left">subtree_left
</a> [
<a href=
"Faustexp.html">Faustexp
</a>]
</td>
480 <td><div class=
"info">
481 val subtree_left : dimension -
> dimension, returns the left subtree of dimension tree.
484 <tr><td><a href=
"Faustexp.html#VALsubtree_right">subtree_right
</a> [
<a href=
"Faustexp.html">Faustexp
</a>]
</td>
485 <td><div class=
"info">
486 val subtree_right : dimension -
> dimension, returns the right subtree of dimension tree.
489 <tr><td><a href=
"Types.html#VALsymbol_of_string">symbol_of_string
</a> [
<a href=
"Types.html">Types
</a>]
</td>
491 <tr><td align=
"left"><br>T
</td></tr>
492 <tr><td><a href=
"Value.html#VALtake_off_N">take_off_N
</a> [
<a href=
"Value.html">Value
</a>]
</td>
493 <td><div class=
"info">
494 val take_off_N : value -
> int, convert from value N to int.
497 <tr><td><a href=
"Value.html#VALtake_off_R">take_off_R
</a> [
<a href=
"Value.html">Value
</a>]
</td>
498 <td><div class=
"info">
499 val take_off_R : value -
> float, convert from value R to float.
502 <tr><td><a href=
"Lexer.html#VALtoken">token
</a> [
<a href=
"Lexer.html">Lexer
</a>]
</td>
504 <tr><td align=
"left"><br>V
</td></tr>
505 <tr><td><a href=
"Value.html#VALv_add">v_add
</a> [
<a href=
"Value.html">Value
</a>]
</td>
506 <td><div class=
"info">
507 val v_add : value -
> value -
> value, value addition, recursive for value.Vec.
510 <tr><td><a href=
"Value.html#VALv_atan">v_atan
</a> [
<a href=
"Value.html">Value
</a>]
</td>
511 <td><div class=
"info">
512 val v_atan : value -
> value, returns atan(v), recursive for value.Vec.
515 <tr><td><a href=
"Value.html#VALv_atantwo">v_atantwo
</a> [
<a href=
"Value.html">Value
</a>]
</td>
516 <td><div class=
"info">
517 val v_atantwo : value -
> value, returns atantwo(v), recursive for value.Vec.
520 <tr><td><a href=
"Value.html#VALv_cos">v_cos
</a> [
<a href=
"Value.html">Value
</a>]
</td>
521 <td><div class=
"info">
522 val v_cos : value -
> value, returns cos(v), recursive for value.Vec.
525 <tr><td><a href=
"Value.html#VALv_div">v_div
</a> [
<a href=
"Value.html">Value
</a>]
</td>
526 <td><div class=
"info">
527 val v_div : value -
> value -
> value, value division, returns (v1/.v2).
530 <tr><td><a href=
"Value.html#VALv_floor">v_floor
</a> [
<a href=
"Value.html">Value
</a>]
</td>
531 <td><div class=
"info">
532 val v_floor : value -
> value, returns floor of float, converts int to float, Zero to
0.,
533 error to error, recursive for value.Vec.
536 <tr><td><a href=
"Value.html#VALv_inf">v_inf
</a> [
<a href=
"Value.html">Value
</a>]
</td>
537 <td><div class=
"info">
538 val v_inf : value -
> value -
> value, comparison of two values, returns value.N
1 if (v1
< v2),
542 <tr><td><a href=
"Value.html#VALv_int">v_int
</a> [
<a href=
"Value.html">Value
</a>]
</td>
543 <td><div class=
"info">
544 val v_int : value -
> value, converts value to value.N, error to error, recursive for value.Vec.
547 <tr><td><a href=
"Value.html#VALv_larger_than_zero">v_larger_than_zero
</a> [
<a href=
"Value.html">Value
</a>]
</td>
548 <td><div class=
"info">
549 val v_larger_than_zero : value -
> value, primitive comparison between value and zero,
550 returns value.N
1 if true, value.N
0 if false.
553 <tr><td><a href=
"Value.html#VALv_list_memory">v_list_memory
</a> [
<a href=
"Value.html">Value
</a>]
</td>
554 <td><div class=
"info">
555 val v_list_memory : value list -
> value list, returns value list with memory.
558 <tr><td><a href=
"Value.html#VALv_memory">v_memory
</a> [
<a href=
"Value.html">Value
</a>]
</td>
559 <td><div class=
"info">
560 val v_memory : value -
> value, returns value Vec with memory.
563 <tr><td><a href=
"Value.html#VALv_mod">v_mod
</a> [
<a href=
"Value.html">Value
</a>]
</td>
564 <td><div class=
"info">
565 val v_mod : value -
> value -
> value, returns (v1 % v2), recursive for value.Vec.
568 <tr><td><a href=
"Value.html#VALv_mul">v_mul
</a> [
<a href=
"Value.html">Value
</a>]
</td>
569 <td><div class=
"info">
570 val v_mul : value -
> value -
> value, returns (v1 * v2), recursive for value.Vec.
573 <tr><td><a href=
"Value.html#VALv_neg">v_neg
</a> [
<a href=
"Value.html">Value
</a>]
</td>
574 <td><div class=
"info">
575 val v_neg : value -
> value, v_neg v = -v.
578 <tr><td><a href=
"Value.html#VALv_recip">v_recip
</a> [
<a href=
"Value.html">Value
</a>]
</td>
579 <td><div class=
"info">
580 val v_recip : value -
> value, v_recip v =
1./.v.
583 <tr><td><a href=
"Value.html#VALv_sin">v_sin
</a> [
<a href=
"Value.html">Value
</a>]
</td>
584 <td><div class=
"info">
585 val v_sin : value -
> value, returns sin(v), recursive for value.Vec.
588 <tr><td><a href=
"Value.html#VALv_sqrt">v_sqrt
</a> [
<a href=
"Value.html">Value
</a>]
</td>
589 <td><div class=
"info">
590 val v_sqrt : value -
> value, returns sqrt(v), recursive for value.Vec.
593 <tr><td><a href=
"Value.html#VALv_sub">v_sub
</a> [
<a href=
"Value.html">Value
</a>]
</td>
594 <td><div class=
"info">
595 val v_sub : value -
> value -
> value, returns (v1 - v2).
598 <tr><td><a href=
"Value.html#VALv_sup">v_sup
</a> [
<a href=
"Value.html">Value
</a>]
</td>
599 <td><div class=
"info">
600 val v_sup : value -
> value -
> value, comparison of two values, returns value.N
1 if (v1
> v2),
604 <tr><td><a href=
"Value.html#VALv_zero">v_zero
</a> [
<a href=
"Value.html">Value
</a>]
</td>
605 <td><div class=
"info">
606 val v_zero : value -
> value, Attention: N i -
> N
0 | R f -
> R
0.
609 <tr><td><a href=
"Value.html#VALvalue_macro_to_int">value_macro_to_int
</a> [
<a href=
"Value.html">Value
</a>]
</td>
610 <td><div class=
"info">
611 val value_macro_to_value : value_macro -
> int.
614 <tr><td align=
"left"><br>W
</td></tr>
615 <tr><td><a href=
"Main.html#VALwrite_output_txt">write_output_txt
</a> [
<a href=
"Main.html">Main
</a>]
</td>
617 <tr><td><a href=
"Main.html#VALwrite_output_wave">write_output_wave
</a> [
<a href=
"Main.html">Main
</a>]
</td>
618 <td><div class=
"info">
619 val write_output_wave : int list -
> int list -
> float_array_list -
> unit.
622 <tr><td align=
"left"><br>Y
</td></tr>
623 <tr><td><a href=
"Parser.html#VALyyact">yyact
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
625 <tr><td><a href=
"Parser.html#VALyycheck">yycheck
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
627 <tr><td><a href=
"Parser.html#VALyydefred">yydefred
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
629 <tr><td><a href=
"Parser.html#VALyydgoto">yydgoto
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
631 <tr><td><a href=
"Parser.html#VALyygindex">yygindex
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
633 <tr><td><a href=
"Parser.html#VALyylen">yylen
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
635 <tr><td><a href=
"Parser.html#VALyylhs">yylhs
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
637 <tr><td><a href=
"Parser.html#VALyynames_block">yynames_block
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
639 <tr><td><a href=
"Parser.html#VALyynames_const">yynames_const
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
641 <tr><td><a href=
"Parser.html#VALyyrindex">yyrindex
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
643 <tr><td><a href=
"Parser.html#VALyysindex">yysindex
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
645 <tr><td><a href=
"Parser.html#VALyytable">yytable
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
647 <tr><td><a href=
"Parser.html#VALyytables">yytables
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
649 <tr><td><a href=
"Parser.html#VALyytablesize">yytablesize
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
651 <tr><td><a href=
"Parser.html#VALyytransl_block">yytransl_block
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>
653 <tr><td><a href=
"Parser.html#VALyytransl_const">yytransl_const
</a> [
<a href=
"Parser.html">Parser
</a>]
</td>