package cue_sheet_maker
A library to create cuesheet
Install
Dune Dependency
Authors
Maintainers
Sources
cue_sheet_maker-0.2.0-1.tbz
sha256=3c91de165ad2195fd5efeaf3a9dcfb849e4825bd1693ae20ac3f2d86656bd1d9
sha512=66cc1cfca2d7a00017b7e3fb687b03981c3f4229b798e092195a265a933d31026c4ace3c58be9eab9bc7cd85355c4e7c8362dae9110809641ccd7249a9da5cc8
Description
README
Cue_sheet_maker
A library to create cue sheet
Installation
Cue_sheet_maker is available as an opam package:
opam install cue_sheet_maker
Example
A simple example on how to create a cue sheet
open Cue_sheet_maker
let track =
CueTrack.create_empty_track ~track:(1, AUDIO)
|> CueTrack.add_performer "A performer"
|> CueTrack.add_composer "A composer"
|> CueTrack.add_title "A title"
|> CueTrack.add_index (1, Duration.minute_seconde_millieme_format ~min: 3 ~sec:30 ~mil: 300)
let track2 =
CueTrack.create_empty_track ~track:(2, AUDIO)
|> CueTrack.add_performer "A performer 2"
|> CueTrack.add_composer "A composer 2"
|> CueTrack.add_title "A title 2"
|> CueTrack.add_index (1, Duration.minute_seconde_millieme_format ~min: 3 ~sec:10 ~mil: 300)
let sheet =
CueSheet.create_empty_sheet ~file:("A file", WAVE)
|> CueSheet.add_catalog "0123456789123"
|> CueSheet.add_performer "Album performer"
|> CueSheet.add_title "Album title"
|> CueSheet.add_track track
|> CueSheet.add_track track2
let result = sheet |> CueSheet.export ~sum: true "output.cue"
Produce
CATALOG 0123456789123
TITLE "Album title"
PERFORMER "Album performer"
FILE "A file" WAVE
TRACK 01 AUDIO
TITLE "A title"
COMPOSER "A composer"
PERFORMER "A performer"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "A title 2"
COMPOSER "A composer 2"
PERFORMER "A performer 2"
INDEX 01 03:30:22
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page