libsndfile-ocaml source files.
[Faustine.git] / interpretor / types.ml
index 620cde5..0b7cfde 100644 (file)
@@ -133,6 +133,9 @@ class type signal_type =
       method prefix : signal_type -> signal_type
     end;;
 
+type matrix = float array array;;
+
+type data = float array array array;;
 
 class type beam_type =
     object
@@ -143,7 +146,7 @@ class type beam_type =
       method append : beam_type -> beam_type
       method matching : int -> beam_type
       method at : time -> value_type array
-      method output : int -> float array array array
+      method output : int -> data
       method frequency : rate_type array
     end;;
 
@@ -173,5 +176,5 @@ class type io_type =
     object
       method set : string -> string -> unit
       method read : string array -> beam_type
-      method write : rate_type array -> float array array array -> string array
+      method write : rate_type array -> data -> string array
     end;;