Liking cljdoc? Tell your friends :D

clj-karaoke.song-data


create-song-data

(create-song-data
  &
  {:keys [title date frames tempo-bpm division-type resolution],
   :or {date (str (t/now)), division-type (:PPQ division-types)}})

Creates a song data object that includes:

  • song title
  • creation date
  • lyrics frames
  • sequencer tempo in bpm
  • sequence resolution
  • division type

the last 3 properties are required to calculate the song tick time.

Creates a song data object that includes:

* song title
* creation date
* lyrics frames
* sequencer tempo in bpm
* sequence resolution
* division type

the last 3 properties are required to calculate the song tick time.
sourceraw docstring

division-types

source

estimated-song-length

(estimated-song-length s)
source

get-events

(get-events song)
source

midi-type-counts

(midi-type-counts song midi-type)
source

midi-types

(midi-types song)
source

SongData

source

tick-time

(tick-time song-data)

returns a funtion that converts ticks to ms

returns a funtion that converts ticks to ms
sourceraw docstring

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

× close