Versions in this module Expand all Collapse all v1 v1.1.0 Jun 26, 2019 Changes in this version + const DataTypeAudio + const DataTypeCdg + const DataTypeCdi_2336 + const DataTypeCdi_2352 + const DataTypeMode1_2048 + const DataTypeMode1_2352 + const DataTypeMode2_2336 + const DataTypeMode2_2352 + const FileTypeAiff + const FileTypeBinary + const FileTypeMotorola + const FileTypeMp3 + const FileTypeWave + const TrackFlag4ch + const TrackFlagDcp + const TrackFlagPre + const TrackFlagScms + type File struct + Duration float64 + Name string + Tracks []*Track + Type FileType + type FileType int + type Index struct + Number int + Time Time + type Sheet struct + Catalog string + CdTextFile string + Comments []string + Files []*File + Performer string + Songwriter string + Title string + func Parse(reader io.Reader, durations ...float64) (sheet *Sheet, err error) + func (s *Sheet) FileTrackCount(fileName string) int + func (s *Sheet) FileTracks(fileName string) []*Track + func (s *Sheet) TracksCount() (c int) + type Time struct + Frames int + Min int + Sec int + func (time Time) Seconds() float64 + type Track struct + DataType TrackDataType + EndPosition float64 + Flags []TrackFlag + Indexes []Index + Isrc string + Number int + Performer string + Postgap Time + Pregap Time + Songwriter string + StartPosition float64 + Title string + func (t *Track) Duration() float64 + func (t *Track) StartTime() (time Time) + type TrackDataType int + type TrackFlag int