Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Element ¶
An element in the RPP file
func LoadFromReader ¶
Parses an RPP file from a reader
type FXInstance ¶
type FXInstance struct {
WndRect [4]int
Show int
LastSel int
Docked int
Bypass [3]int
PresetName string
FxId string
Vst string
}
An FX chain item
type Item ¶
type Item struct {
Position float64
Length float64
Loop int
Name string
Source Source
Guid string
Playrate float64
}
A track item
type Lexer ¶
type Lexer struct {
// contains filtered or unexported fields
}
Lexer to tokenize RPP content
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Currently a lexer container
type ProjectInfo ¶
type ProjectInfo struct {
ProjectName string
OriginalPlatform string
Tempo float64
LoopEnabled bool
SampleRate int
Tracks Tracks
Items []Item
FXChains []FXChain
}
General project information
func ParseProjectInfo ¶
func ParseProjectInfo(element *Element) ProjectInfo
Get project information from the Element tree
func (ProjectInfo) AsTable ¶
func (p ProjectInfo) AsTable() table.Table
Tabler implementation for ProjectInfo
func (ProjectInfo) String ¶
func (p ProjectInfo) String() string
Stringer implementation for ProjectInfo
Click to show internal directories.
Click to hide internal directories.