Liking cljdoc? Tell your friends :D

clj-karaoke.song-data


create-song-dataclj/s

(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-typesclj/s

source

SongDataclj/s

source

tick-timeclj/s

(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