Documentation ¶
Overview ¶
Package ceol provides functionality to handle .ceol files and .ceol encoded data (Bosca Ceoil files).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DurationFromQuarters ¶
DurationFromQuarters should not be here, should be in a package managing bpm and time Duration from quarters expects four quarters to occur per beat, (direct complaints at terry cavanagh), and returns a time.Duration for n quarters in the given bpm.
Types ¶
type Ceol ¶
type Ceol struct { Version int Swing int Effect int EffectValue int Bpm int PatternLength int BarLength int Instruments []Instrument Patterns []Pattern LoopStart int LoopEnd int Arrangement [][8]int }
Ceol represents a complete .ceol file
type Instrument ¶
type Instrument struct { Index int IsDrumkit int Palette int LPFCutoff int LPFResonance int Volume int }
Instrument represents a single entry in a .ceol's instrument block
Click to show internal directories.
Click to hide internal directories.