Documentation
¶
Index ¶
- Constants
- Variables
- func AllowedTuplet(duration, numerator, denominator uint8) string
- func ClefAlto(transpose int) clef
- func ClefBaritone(transpose int) clef
- func ClefBass(transpose int) clef
- func ClefFrench(transpose int) clef
- func ClefMezzoSoprano(transpose int) clef
- func ClefPercussion(transpose int) clef
- func ClefSoprano(transpose int) clef
- func ClefSubBass(transpose int) clef
- func ClefTenor(transpose int) clef
- func ClefTreble(transpose int) clef
- func ClefVarBaritone(transpose int) clef
- func Clef_C(transpose int) clef
- func Clef_F(transpose int) clef
- func Clef_G(transpose int) clef
- func FlatMajorKey(flats uint8) string
- func FlatMinorKey(flats uint8) string
- func KeyAeolian(note *Note) key
- func KeyDorian(note *Note) key
- func KeyIonian(note *Note) key
- func KeyLocrian(note *Note) key
- func KeyLydian(note *Note) key
- func KeyMajor(note *Note) key
- func KeyMinor(note *Note) key
- func KeyMixolydian(note *Note) key
- func KeyPhrygian(note *Note) key
- func MIDI2PDF(midifile, pdffile string, debug bool) error
- func SharpMajorKey(sharps uint8) string
- func SharpMinorKey(sharps uint8) string
- type BarPartial
- type BarRest
- type Book
- type ChoirStaff
- type Chord
- type ChordNames
- type Command
- type DrumStaff
- type Duration
- func Breve() Duration
- func BreveDot(num uint) Duration
- func Eightth() Duration
- func EightthDot(num uint) Duration
- func Half() Duration
- func HalfDot(num uint) Duration
- func HundredTwentyEightth() Duration
- func HundredTwentyEightthDot(num uint) Duration
- func Longa() Duration
- func LongaDot(num uint) Duration
- func Maxima() Duration
- func MaximaDot(num uint) Duration
- func Quarter() Duration
- func QuarterDot(num uint) Duration
- func Sixteenth() Duration
- func SixteenthDot(num uint) Duration
- func SixtyFourth() Duration
- func SixtyFourthDot(num uint) Duration
- func ThirtySecond() Duration
- func ThirtySecondDot(num uint) Duration
- func Whole() Duration
- func WholeDot(num uint) Duration
- type Element
- type FretBoards
- type GrandStaff
- type Header
- func (l *Header) Add(elms ...Element) *Header
- func (l *Header) SetArranger(d string) *Header
- func (l *Header) SetBreakBefore() *Header
- func (l *Header) SetComposer(c string) *Header
- func (l *Header) SetCopyright(d string) *Header
- func (l *Header) SetDedication(d string) *Header
- func (l *Header) SetInstrument(d string) *Header
- func (l *Header) SetOpus(o string) *Header
- func (l *Header) SetPiece(p string) *Header
- func (l *Header) SetPoet(d string) *Header
- func (l *Header) SetPrintAllHeaders() *Header
- func (l *Header) SetSubSubTitle(t string) *Header
- func (l *Header) SetSubTitle(t string) *Header
- func (l *Header) SetSubTitleOff() *Header
- func (l *Header) SetTagline(t string) *Header
- func (l *Header) SetTaglineOff() *Header
- func (l *Header) SetTitle(t string) *Header
- func (l Header) String() string
- type Layout
- type Line
- type Lyrics
- type Metronome
- type Midi2Ly
- type Mode
- type Note
- func A(octave int) *Note
- func Acousticbassdrum() *Note
- func Acousticsnare() *Note
- func B(octave int) *Note
- func Bassdrum() *Note
- func C(octave int) *Note
- func Cabasa() *Note
- func Chinesecymbal() *Note
- func Claves() *Note
- func Closedhihat() *Note
- func Cowbell() *Note
- func Crashcymbal() *Note
- func Crashcymbala() *Note
- func Crashcymbalb() *Note
- func D(octave int) *Note
- func E(octave int) *Note
- func Electricsnare() *Note
- func F(octave int) *Note
- func G(octave int) *Note
- func Guiro() *Note
- func Halfopenhihat() *Note
- func Handclap() *Note
- func Hiagogo() *Note
- func Hibongo() *Note
- func Hiconga() *Note
- func Highfloortom() *Note
- func Hightom() *Note
- func Hihat() *Note
- func Himidtom() *Note
- func Hisidestick() *Note
- func Hitimbale() *Note
- func Hiwoodblock() *Note
- func Loagogo() *Note
- func Lobongo() *Note
- func Loconga() *Note
- func Longguiro() *Note
- func Longwhistle() *Note
- func Losidestick() *Note
- func Lotimbale() *Note
- func Lowfloortom() *Note
- func Lowmidtom() *Note
- func Lowoodblock() *Note
- func Lowtom() *Note
- func Maracas() *Note
- func Mutecuica() *Note
- func Mutehibongo() *Note
- func Mutehiconga() *Note
- func Mutelobongo() *Note
- func Muteloconga() *Note
- func Mutetriangle() *Note
- func Opencuica() *Note
- func Openhibongo() *Note
- func Openhiconga() *Note
- func Openhihat() *Note
- func Openlobongo() *Note
- func Openloconga() *Note
- func Opentriangle() *Note
- func Pedalhihat() *Note
- func Rest() *Note
- func Ridebell() *Note
- func Ridecymbal() *Note
- func Ridecymbala() *Note
- func Ridecymbalb() *Note
- func Shortguiro() *Note
- func Shortwhistle() *Note
- func Sidestick() *Note
- func Silent() *Note
- func Snare() *Note
- func Splashcymbal() *Note
- func Tambourine() *Note
- func Tamtam() *Note
- func Triangle() *Note
- func Vibraslap() *Note
- func (n *Note) Accent() *Note
- func (n *Note) Add(elms ...Element) *Note
- func (n *Note) Breve() *Note
- func (n *Note) BreveDot(num uint) *Note
- func (n *Note) Coda() *Note
- func (n *Note) Cresc() *Note
- func (n *Note) Decresc() *Note
- func (n *Note) Dim() *Note
- func (n *Note) Downbow() *Note
- func (n *Note) Downmordent() *Note
- func (n *Note) Downprall() *Note
- func (n *Note) Eh() *Note
- func (n *Note) Eightth() *Note
- func (n *Note) EightthDot(num uint) *Note
- func (n *Note) EndBeam() *Note
- func (n *Note) EndDyn() *Note
- func (n *Note) EndPhrase() *Note
- func (n *Note) EndSlur() *Note
- func (n *Note) Es() *Note
- func (n *Note) Eseh() *Note
- func (n *Note) Eses() *Note
- func (n *Note) Espressivo() *Note
- func (n *Note) F() *Note
- func (n *Note) FF() *Note
- func (n *Note) FFF() *Note
- func (n *Note) FFFF() *Note
- func (n *Note) FFFFF() *Note
- func (n *Note) FP() *Note
- func (n *Note) Fermata() *Note
- func (n *Note) Flageolet() *Note
- func (n *Note) Glissando() *Note
- func (n *Note) Half() *Note
- func (n *Note) HalfDot(num uint) *Note
- func (n *Note) Halfopen() *Note
- func (n *Note) Haydnturn() *Note
- func (n *Note) Henzelongfermata() *Note
- func (n *Note) Henzeshortfermata() *Note
- func (n *Note) HundredTwentyEightth() *Note
- func (n *Note) HundredTwentyEightthDot(num uint) *Note
- func (n *Note) Ih() *Note
- func (n *Note) Is() *Note
- func (n *Note) Isih() *Note
- func (n *Note) Isis() *Note
- func (n *Note) Lheel() *Note
- func (n *Note) Lineprall() *Note
- func (n *Note) Longa() *Note
- func (n *Note) LongaDot(num uint) *Note
- func (n *Note) Longfermata() *Note
- func (n *Note) Ltoe() *Note
- func (n *Note) MF() *Note
- func (n *Note) MP() *Note
- func (n *Note) Marcato() *Note
- func (n *Note) Maxima() *Note
- func (n *Note) MaximaDot(num uint) *Note
- func (n *Note) Mordent() *Note
- func (n *Note) NoBeam() *Note
- func (n *Note) Open() *Note
- func (n *Note) P() *Note
- func (n *Note) PP() *Note
- func (n *Note) PPP() *Note
- func (n *Note) PPPP() *Note
- func (n *Note) PPPPP() *Note
- func (n *Note) Portato() *Note
- func (n *Note) Prall() *Note
- func (n *Note) Pralldown() *Note
- func (n *Note) Prallmordent() *Note
- func (n *Note) Prallprall() *Note
- func (n *Note) Prallup() *Note
- func (n *Note) Quarter() *Note
- func (n *Note) QuarterDot(num uint) *Note
- func (n *Note) RFZ() *Note
- func (n *Note) Reverseturn() *Note
- func (n *Note) Rheel() *Note
- func (n *Note) Rtoe() *Note
- func (n *Note) SF() *Note
- func (n *Note) SFF() *Note
- func (n *Note) SFZ() *Note
- func (n *Note) SP() *Note
- func (n *Note) SPP() *Note
- func (n *Note) Segno() *Note
- func (n *Note) SetDuration(dur int) *Note
- func (n *Note) SetDurationDot(dur int, dots uint) *Note
- func (n *Note) Shortfermata() *Note
- func (n *Note) Sixteenth() *Note
- func (n *Note) SixteenthDot(num uint) *Note
- func (n *Note) SixtyFourth() *Note
- func (n *Note) SixtyFourthDot(num uint) *Note
- func (n *Note) Slashturn() *Note
- func (n *Note) Snappizzicato() *Note
- func (n *Note) Staccatissimo() *Note
- func (n *Note) Staccato() *Note
- func (n *Note) StartBeam() *Note
- func (n *Note) StartPhrase() *Note
- func (n *Note) StartSlur() *Note
- func (n *Note) Stopped() *Note
- func (n Note) String() string
- func (n *Note) Tenuto() *Note
- func (n *Note) ThirtySecond() *Note
- func (n *Note) ThirtySecondDot(num uint) *Note
- func (n *Note) Trill() *Note
- func (n *Note) Turn() *Note
- func (n *Note) Upbow() *Note
- func (n *Note) Upmordent() *Note
- func (n *Note) Upprall() *Note
- func (n *Note) Varcoda() *Note
- func (n *Note) Verylongfermata() *Note
- func (n *Note) Veryshortfermata() *Note
- func (n *Note) Whole() *Note
- func (n *Note) WholeDot(num uint) *Note
- type Paper
- type PianoStaff
- type Score
- type Staff
- type StaffGroup
- type Staffer
- type String
- type TabStaff
- type TempoName
- type TimeSignature
- type Voice
- func (v *Voice) Add(s ...Element) *Voice
- func (v Voice) HasLyrics() bool
- func (v *Voice) NewLyrics() *Lyrics
- func (l *Voice) SetDrumVoice() *Voice
- func (l *Voice) SetName(name string) *Voice
- func (l *Voice) StemDirectionDown() *Voice
- func (l *Voice) StemDirectionUp() *Voice
- func (v Voice) String() string
- func (v *Voice) With(s ...Element) *Voice
Constants ¶
View Source
const ChangeStaffDown = Line(`\change Staff = down`)
View Source
const ChangeStaffUp = Line(`\change Staff = up`)
View Source
const StemDown = Line(`\stemDown`)
View Source
const StemUp = Line(`\stemUp`)
Variables ¶
View Source
var AutoBeamOff = noAutobeam{}
View Source
var BarChange = barChange{}
View Source
var Break = breaK{}
Functions ¶
func AllowedTuplet ¶
func ClefBaritone ¶ added in v0.1.0
func ClefBaritone(transpose int) clef
func ClefFrench ¶ added in v0.1.0
func ClefFrench(transpose int) clef
func ClefMezzoSoprano ¶ added in v0.1.0
func ClefMezzoSoprano(transpose int) clef
func ClefPercussion ¶ added in v0.1.0
func ClefPercussion(transpose int) clef
func ClefSoprano ¶ added in v0.1.0
func ClefSoprano(transpose int) clef
func ClefSubBass ¶ added in v0.1.0
func ClefSubBass(transpose int) clef
func ClefTreble ¶ added in v0.1.0
func ClefTreble(transpose int) clef
transpose might be 8 (octave up), -8 (octave down), 15 (two octaves up), -15 (two octaves down) or any number 0 = no transposition
func ClefVarBaritone ¶ added in v0.1.0
func ClefVarBaritone(transpose int) clef
func FlatMajorKey ¶
func FlatMinorKey ¶
func KeyAeolian ¶ added in v0.1.0
func KeyAeolian(note *Note) key
func KeyLocrian ¶ added in v0.1.0
func KeyLocrian(note *Note) key
func KeyMixolydian ¶ added in v0.1.0
func KeyMixolydian(note *Note) key
func KeyPhrygian ¶ added in v0.1.0
func KeyPhrygian(note *Note) key
func SharpMajorKey ¶
func SharpMinorKey ¶
Types ¶
type BarPartial ¶ added in v0.1.0
type BarPartial Duration
Duration is the time until the next bar
func (BarPartial) String ¶ added in v0.1.0
func (p BarPartial) String() string
type ChoirStaff ¶ added in v0.1.0
type ChoirStaff struct {
// contains filtered or unexported fields
}
func (*ChoirStaff) Add ¶ added in v0.1.0
func (l *ChoirStaff) Add(st ...Staffer) *ChoirStaff
func (*ChoirStaff) SetName ¶ added in v0.1.0
func (l *ChoirStaff) SetName(name string) *ChoirStaff
func (ChoirStaff) String ¶ added in v0.1.0
func (p ChoirStaff) String() string
func (*ChoirStaff) With ¶ added in v0.1.0
func (v *ChoirStaff) With(s ...Element) *ChoirStaff
type Chord ¶ added in v0.1.0
type Chord struct {
// contains filtered or unexported fields
}
func (*Chord) SetDuration ¶ added in v0.1.0
type ChordNames ¶ added in v0.1.0
type ChordNames struct {
// contains filtered or unexported fields
}
func (*ChordNames) Add ¶ added in v0.1.0
func (v *ChordNames) Add(s ...Element) *ChordNames
func (ChordNames) String ¶ added in v0.1.0
func (v ChordNames) String() string
func (*ChordNames) With ¶ added in v0.1.0
func (v *ChordNames) With(s ...Element) *ChordNames
type Command ¶ added in v0.1.0
type DrumStaff ¶ added in v0.1.0
type DrumStaff struct {
// contains filtered or unexported fields
}
type Duration ¶ added in v0.1.0
type Duration struct {
// contains filtered or unexported fields
}
func EightthDot ¶ added in v0.1.0
func HundredTwentyEightth ¶ added in v0.1.0
func HundredTwentyEightth() Duration
func HundredTwentyEightthDot ¶ added in v0.1.0
func QuarterDot ¶ added in v0.1.0
func SixteenthDot ¶ added in v0.1.0
func SixtyFourth ¶ added in v0.1.0
func SixtyFourth() Duration
func SixtyFourthDot ¶ added in v0.1.0
func ThirtySecond ¶ added in v0.1.0
func ThirtySecond() Duration
func ThirtySecondDot ¶ added in v0.1.0
type Element ¶ added in v0.1.0
type Element interface {
String() string
}
func ElementGroup ¶ added in v0.1.0
type FretBoards ¶ added in v0.1.0
type FretBoards struct {
// contains filtered or unexported fields
}
func (*FretBoards) Add ¶ added in v0.1.0
func (v *FretBoards) Add(s ...Element) *FretBoards
func (FretBoards) String ¶ added in v0.1.0
func (v FretBoards) String() string
func (*FretBoards) With ¶ added in v0.1.0
func (v *FretBoards) With(s ...Element) *FretBoards
type GrandStaff ¶ added in v0.1.0
type GrandStaff struct {
// contains filtered or unexported fields
}
func (*GrandStaff) Add ¶ added in v0.1.0
func (l *GrandStaff) Add(st ...*StaffGroup) *GrandStaff
func (GrandStaff) String ¶ added in v0.1.0
func (p GrandStaff) String() string
func (*GrandStaff) With ¶ added in v0.1.0
func (v *GrandStaff) With(s ...Element) *GrandStaff
type Header ¶ added in v0.1.0
type Header struct {
// contains filtered or unexported fields
}
func (*Header) SetArranger ¶ added in v0.1.0
func (*Header) SetBreakBefore ¶ added in v0.1.0
func (*Header) SetComposer ¶ added in v0.1.0
func (*Header) SetCopyright ¶ added in v0.1.0
func (*Header) SetDedication ¶ added in v0.1.0
func (*Header) SetInstrument ¶ added in v0.1.0
func (*Header) SetPrintAllHeaders ¶ added in v0.1.0
func (*Header) SetSubSubTitle ¶ added in v0.1.0
func (*Header) SetSubTitle ¶ added in v0.1.0
func (*Header) SetSubTitleOff ¶ added in v0.1.0
func (*Header) SetTagline ¶ added in v0.1.0
func (*Header) SetTaglineOff ¶ added in v0.1.0
type Line ¶ added in v0.1.0
type Line string
func InstrumentName ¶ added in v0.1.0
func ShortInstrumentName ¶ added in v0.1.0
type Midi2Ly ¶
type Midi2Ly struct { Version bool Help bool Debug bool Quiet bool Verbose bool Preview bool // 4 first bars only AbsolutePitches bool ExplicitDurations bool Skip bool TextLyrics bool // treat text as lyrics StartQuant int // z.B. 32tel DurationQuant int // z.B. 32 für 32tel Key string // +Kreuze|-B's: MOLL=1 z.B. -2:1 IncludeHeader string // include file AllowTuplet []string // DAUER*ZÄHLER/NENNER z.B. 4*2/3 Output string // output file MIDIFile string // input file }
type Note ¶ added in v0.1.0
type Note struct {
// contains filtered or unexported fields
}
func Acousticbassdrum ¶ added in v0.1.0
func Acousticbassdrum() *Note
func Acousticsnare ¶ added in v0.1.0
func Acousticsnare() *Note
func Chinesecymbal ¶ added in v0.1.0
func Chinesecymbal() *Note
func Closedhihat ¶ added in v0.1.0
func Closedhihat() *Note
func Crashcymbal ¶ added in v0.1.0
func Crashcymbal() *Note
func Crashcymbala ¶ added in v0.1.0
func Crashcymbala() *Note
func Crashcymbalb ¶ added in v0.1.0
func Crashcymbalb() *Note
func Electricsnare ¶ added in v0.1.0
func Electricsnare() *Note
func Halfopenhihat ¶ added in v0.1.0
func Halfopenhihat() *Note
func Highfloortom ¶ added in v0.1.0
func Highfloortom() *Note
func Hisidestick ¶ added in v0.1.0
func Hisidestick() *Note
func Hiwoodblock ¶ added in v0.1.0
func Hiwoodblock() *Note
func Longwhistle ¶ added in v0.1.0
func Longwhistle() *Note
func Losidestick ¶ added in v0.1.0
func Losidestick() *Note
func Lowfloortom ¶ added in v0.1.0
func Lowfloortom() *Note
func Lowoodblock ¶ added in v0.1.0
func Lowoodblock() *Note
func Mutehibongo ¶ added in v0.1.0
func Mutehibongo() *Note
func Mutehiconga ¶ added in v0.1.0
func Mutehiconga() *Note
func Mutelobongo ¶ added in v0.1.0
func Mutelobongo() *Note
func Muteloconga ¶ added in v0.1.0
func Muteloconga() *Note
func Mutetriangle ¶ added in v0.1.0
func Mutetriangle() *Note
func Openhibongo ¶ added in v0.1.0
func Openhibongo() *Note
func Openhiconga ¶ added in v0.1.0
func Openhiconga() *Note
func Openlobongo ¶ added in v0.1.0
func Openlobongo() *Note
func Openloconga ¶ added in v0.1.0
func Openloconga() *Note
func Opentriangle ¶ added in v0.1.0
func Opentriangle() *Note
func Pedalhihat ¶ added in v0.1.0
func Pedalhihat() *Note
func Ridecymbal ¶ added in v0.1.0
func Ridecymbal() *Note
func Ridecymbala ¶ added in v0.1.0
func Ridecymbala() *Note
func Ridecymbalb ¶ added in v0.1.0
func Ridecymbalb() *Note
func Shortguiro ¶ added in v0.1.0
func Shortguiro() *Note
func Shortwhistle ¶ added in v0.1.0
func Shortwhistle() *Note
func Splashcymbal ¶ added in v0.1.0
func Splashcymbal() *Note
func Tambourine ¶ added in v0.1.0
func Tambourine() *Note
func (*Note) Downmordent ¶ added in v0.1.0
func (*Note) EightthDot ¶ added in v0.1.0
func (*Note) Espressivo ¶ added in v0.1.0
func (*Note) Henzelongfermata ¶ added in v0.1.0
func (*Note) Henzeshortfermata ¶ added in v0.1.0
func (*Note) HundredTwentyEightth ¶ added in v0.1.0
func (*Note) HundredTwentyEightthDot ¶ added in v0.1.0
func (*Note) Longfermata ¶ added in v0.1.0
func (*Note) Prallmordent ¶ added in v0.1.0
func (*Note) Prallprall ¶ added in v0.1.0
func (*Note) QuarterDot ¶ added in v0.1.0
func (*Note) Reverseturn ¶ added in v0.1.0
func (*Note) SetDuration ¶ added in v0.1.0
func (*Note) SetDurationDot ¶ added in v0.1.0
func (*Note) Shortfermata ¶ added in v0.1.0
func (*Note) SixteenthDot ¶ added in v0.1.0
func (*Note) SixtyFourth ¶ added in v0.1.0
func (*Note) SixtyFourthDot ¶ added in v0.1.0
func (*Note) Snappizzicato ¶ added in v0.1.0
func (*Note) Staccatissimo ¶ added in v0.1.0
func (*Note) StartPhrase ¶ added in v0.1.0
func (*Note) ThirtySecond ¶ added in v0.1.0
func (*Note) ThirtySecondDot ¶ added in v0.1.0
func (*Note) Verylongfermata ¶ added in v0.1.0
func (*Note) Veryshortfermata ¶ added in v0.1.0
type PianoStaff ¶ added in v0.1.0
type PianoStaff struct {
// contains filtered or unexported fields
}
func (*PianoStaff) Set ¶ added in v0.1.0
func (l *PianoStaff) Set(lh *Staff, rh *Staff) *PianoStaff
func (PianoStaff) String ¶ added in v0.1.0
func (p PianoStaff) String() string
func (*PianoStaff) With ¶ added in v0.1.0
func (v *PianoStaff) With(s ...Element) *PianoStaff
type Score ¶ added in v0.1.0
func (*Score) SetPageBreakAfter ¶ added in v0.1.0
type Staff ¶ added in v0.1.0
type Staff struct {
// contains filtered or unexported fields
}
func RhythmicStaff ¶ added in v0.1.0
func RhythmicStaff() *Staff
type StaffGroup ¶ added in v0.1.0
type StaffGroup struct {
// contains filtered or unexported fields
}
func (*StaffGroup) Add ¶ added in v0.1.0
func (l *StaffGroup) Add(st ...Staffer) *StaffGroup
func (*StaffGroup) Loose ¶ added in v0.1.0
func (l *StaffGroup) Loose() *StaffGroup
func (*StaffGroup) SetName ¶ added in v0.1.0
func (l *StaffGroup) SetName(name string) *StaffGroup
func (StaffGroup) String ¶ added in v0.1.0
func (p StaffGroup) String() string
func (*StaffGroup) With ¶ added in v0.1.0
func (v *StaffGroup) With(s ...Element) *StaffGroup
type Staffer ¶ added in v0.1.0
type Staffer interface { Element // contains filtered or unexported methods }
type TabStaff ¶ added in v0.1.0
type TabStaff struct {
// contains filtered or unexported fields
}
func (*TabStaff) SetFullNotation ¶ added in v0.1.0
type TimeSignature ¶ added in v0.1.0
type TimeSignature [2]uint
func (TimeSignature) String ¶ added in v0.1.0
func (b TimeSignature) String() string
type Voice ¶ added in v0.1.0
type Voice struct {
// contains filtered or unexported fields
}
func (*Voice) SetDrumVoice ¶ added in v0.1.0
func (*Voice) StemDirectionDown ¶ added in v0.1.0
func (*Voice) StemDirectionUp ¶ added in v0.1.0
Source Files
¶
Click to show internal directories.
Click to hide internal directories.