Documentation
¶
Overview ¶
Package drum implements a simple library for Splice files. A Splice file typically ends with an extencion ".splice"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pattern ¶
type Pattern struct { Hardware string //hardware used to create file //[32]byte Tempo float32 //tempo Tracks []Track //slice of all tracks in file // contains filtered or unexported fields }
Pattern contains high level splice data.
func DecodeFile ¶
DecodeFile reads and decodes a file of type Splice. Input: use argument 'path' to specify the Splice filename Output: returns a *Pattern of the data read and decoded Returns error if any errors are encountered.
type Track ¶
type Track struct { ID int32 //unique id Name string //track name Steps [16]byte //notes for this track // contains filtered or unexported fields }
Track contains information for a single track.
Click to show internal directories.
Click to hide internal directories.