Msynth.Pattern
Patterns are small musical phrases or chords.
Musical patterns. Events in patterns are (time,duration,event). All time units are bpm here.
val duration : 'a t -> float
val merge : (float * float * 'a) list -> (float * float * 'a) list -> 'a0 t
val arpeggiate :
?note:float ->
[< `Staccato | `Up | `Up_down ] ->
[> `Chord of int list * 'b | `Note of int * 'b ] as 'a t ->
'c t
Arpeggiator.
val stream :
?loop:bool ->
float ->
(float
* float
* [< `Chord of int list * float | `Nop | `Note of int * float Note ])
list ->
MIDI.stream
Convert a pattern to a stream of MIDI events.
val load_drums :
string ->
[> `Closed_hat of float | `Kick of float | `Nop | `Snare of float ] t