Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Ocue.Track
SourceOperations on TRACK within a cue sheet.
The type representing a TRACK within a cue sheet.
val init :
?pregap:Time.t ->
?postgap:Time.t ->
?title:string ->
?performer:string ->
?songwriter:string ->
?isrc:string ->
?rems:string list ->
track:(int * TrackMode.t) ->
Flag.t list ->
(int * Time.t) list ->
t
init ?pregap ?postgap ?title ?performer ?songwriter ?isrc ?(rems = []) ~track flags indexes
creates a new track
empty ~track
is init ~track [] []
track track
returns the position and the trackmode of track
.
add_rem comment track
adds a new unformatted rem line before others rems in track
add_rem' key value track
adds a new rem line formatted as key <space> value
line before others rems in track
. The key is always uppercased.
add_index index time track
adds a new index time in track
. If a time was already associated with index
, the value is replaced by time
.
add_flags flags track
adds flags
to the set of flags in track
.
add_arranger arranger track
is add_rem' "ARRANGER" arranger track
add_composer composer track
is add_rem' "COMPOSER" composer track
add_performer performer track
adds a performer
as performer in track
.
add_performer songwriter track
adds a songwriter
as songwriter in track
.
rem_key key track
treats rems as key value pairs and tries to find the value associed with key
in track
.
rem_key_ci key track
is rem_key key track
but keys are compared with case-insensitivity.
Pretty printer