Liking cljdoc? Tell your friends :D

artlib.midi.data


get-bpmclj

(get-bpm mid-file)

Query the BPM of the supplied mid file.

Query the BPM of the supplied mid file.
sourceraw docstring

get-notes-msclj

(get-notes-ms mid-file track-idx)

Finds all pairs on note on and note off events in the track-idx indexed track that corresponds to the same note values (pitch).

Notice that the first track of a MIDI file typically doesn't have any notes.

Finds all pairs on note on and note off events in the `track-idx` indexed
track that corresponds to the same note values (pitch).

Notice that the first track of a MIDI file typically doesn't have any notes.
sourceraw docstring

get-notes-ms-groupedclj

(get-notes-ms-grouped mid-file track-idx)

Same as get-notes-ms but will return a map of pitch to notes instead.

Same as get-notes-ms but will return a map of pitch to notes instead.
sourceraw docstring

note-nearest-msclj

(note-nearest-ms notes ts)

Return the most recently played note to the given timestamp, in millis.

Return the most recently played note to the given timestamp, in millis.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close