package llama_core

  1. Overview
  2. Docs
type voice = {
  1. frequency_hz : float Signal.t;
  2. gate : Signal.Gate.t;
  3. velocity : int Signal.t;
}
type output = {
  1. voices : voice list;
  2. pitch_wheel_multiplier : float Signal.t;
  3. controller_table : Controller_table.t;
}
val key_gates : channel:int -> Event.t list Signal.t -> Gate_table.t

Create a table of gate signals that arrive on a given channel, ignoring other information.

val signal : channel:int -> polyphony:int -> Event.t list Signal.t -> output
OCaml

Innovation. Community. Security.