|
Revision 488, 0.5 kB
(checked in by shans, 5 years ago)
|
initial import of ocaml port of remix
|
| Line | |
|---|
| 1 |
(** remix.mli contains constructors and utilities for working with remix |
|---|
| 2 |
objects *) |
|---|
| 3 |
|
|---|
| 4 |
(** abstract remix data type *) |
|---|
| 5 |
type remix;; |
|---|
| 6 |
|
|---|
| 7 |
(** construct a new remix object with a samplerate, a number of channels, |
|---|
| 8 |
and a beats-per-minute value |
|---|
| 9 |
*) |
|---|
| 10 |
val create : int -> int -> float -> remix;; |
|---|
| 11 |
|
|---|
| 12 |
(** extract the samplerate from a remix object *) |
|---|
| 13 |
val samplerate : remix -> int;; |
|---|
| 14 |
|
|---|
| 15 |
(** extract the number of channels from a remix object *) |
|---|
| 16 |
val channels : remix -> int;; |
|---|
| 17 |
|
|---|
| 18 |
(** extract the beats per minute from a remix object *) |
|---|
| 19 |
val bpm : remix -> float;; |
|---|