Documentation ¶
Overview ¶
Package drum is supposed to implement the decoding of .splice drum machine files. See golang-challenge.com/go-challenge1/ for more information
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float32frombytes ¶
func ReadUint32 ¶
func ReadUint64 ¶
Types ¶
type Pattern ¶
type Pattern struct { Splice string DataSize uint64 Version string Tempo float32 Samples *list.List }
Pattern is the high level representation of the drum pattern contained in a .splice file. TODO: implement
func DecodeFile ¶
DecodeFile decodes the drum machine file found at the provided path and returns a pointer to a parsed pattern which is the entry point to the rest of the data. TODO: implement
Click to show internal directories.
Click to hide internal directories.