module Main: sig
.. end
Module: Interpreter
Description: Input wave -> interpretation -> output wave
Author(s): WANG Haisheng
Created: 15/05/2013 Modified: 04/06/2013
exception Missing_Expression
Exception raised when no string expression of faust process is typed in console.
type
io_macro =
| |
Input_Route_string |
| |
Output_Route_string |
| |
Dsp_Route_string |
Macro constants of input/output route.
val io_macro_to_string : io_macro -> string
val io_macro_to_string : io_macro -> string.
val set_GC : unit -> unit
val set_GC : unit -> unit
val read_input_wave : string array -> int list * float array list
val read_input_wave : string array -> int list * float array list
read_input_wave argv
gets information from command line,
returns sample rate list and data (in form of float array) list.
val write_output_wave : int list -> int list -> float array list -> unit
val write_output_wave : int list -> int list -> float_array_list -> unit.
write_output_wave channel_numbers sample_rates data
val write_output_txt : int list -> float array list -> unit
val main : unit -> unit
main function reads console input strings (Sys.argv) with
input: string of faust process, input waves in default directory 'input_sounds/'
output: output waves in default directory 'output_sounds/'.
val main : unit -> unit