Performance.Event
Note events.
type t
The type for music note events.
val time_s : t -> time_s
The time at which the event occurs.
val instrument : t -> Instrument.t
instrument e is the instrument performing the note event.
instrument e
val pitch : t -> Pitch.abs
pitch e is the absolute pitch of the note event.
pitch e
val dur_s : t -> dur_s
dur_s e is the duration of the note event.
dur_s e
val volume : t -> volume
volume e is the volume of the note event.
volume e
val params : t -> float list
params e are parameters of the note event.
params e
val order_by_time : t -> t -> int
order_by_time e0 e1 is Q.compare (time e0) (time e1).
order_by_time e0 e1
Q.compare (time e0) (time e1)