cuesheet

package
v3.7.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Cuesheet times are specified in the 'mm:ss:ff' format, where 'mm' are minutes, 'ss' seconds, and 'ff' frames. There are 75 frames in 1 second. Time is stored in {Min, Sec, Msec}.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cuesheet

type Cuesheet struct {
	Header map[string]string
	Files  map[string][]Track
}

func New

func New(cuesheet []byte) (Cuesheet, error)

New initializes a cuesheet from a string. It does not take a path as argument since cuesheets can be found in tags.

type Time

type Time struct {
	Min  int
	Sec  int
	Msec int
}

type Track

type Track struct {
	Tags    map[string]string
	Indices []Time
	Pregap  Time
	Postgap Time
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL