X-Git-Url: https://scm.cri.mines-paristech.fr/git/Faustine.git/blobdiff_plain/d8214dc258396483f72533504515a4e1d1b3deef..a6be79ccb7456a5181561f094c1f2a4f90aadb02:/interpretor/main.ml?ds=sidebyside diff --git a/interpretor/main.ml b/interpretor/main.ml index 9f3e796..5e074a2 100644 --- a/interpretor/main.ml +++ b/interpretor/main.ml @@ -62,6 +62,7 @@ let main () = let () = Arg.parse speclist option_unknown option_usage in let wave = new waveio in + let csv = new csvio in let input = wave#read (Array.of_list !inwavs) in let faust_core = Preprocess.preprocess !path_dsp in let faust_exp = exp_of_string faust_core in @@ -70,10 +71,25 @@ let main () = let data = output#output time_maximum in let rates = output#frequency in - let output_paths = wave#write rates data in - let _ = Array.map print_string output_paths in + let output_wave_paths = wave#write rates data in + let _ = csv#write rates data in + let _ = Array.map print_endline output_wave_paths in ();; + + + + + + + + + + + + + + (* try (* preprocess *)