lilypond

package module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2025 License: GPL-2.0 Imports: 8 Imported by: 4

Documentation

Index

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 AllowedTuplet(duration, numerator, denominator uint8) string

func ClefAlto added in v0.1.0

func ClefAlto(transpose int) clef

func ClefBaritone added in v0.1.0

func ClefBaritone(transpose int) clef

func ClefBass added in v0.1.0

func ClefBass(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 ClefTenor added in v0.1.0

func ClefTenor(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 Clef_C added in v0.1.0

func Clef_C(transpose int) clef

func Clef_F added in v0.1.0

func Clef_F(transpose int) clef

func Clef_G added in v0.1.0

func Clef_G(transpose int) clef

func FlatMajorKey

func FlatMajorKey(flats uint8) string

func FlatMinorKey

func FlatMinorKey(flats uint8) string

func KeyAeolian added in v0.1.0

func KeyAeolian(note *Note) key

func KeyDorian added in v0.1.0

func KeyDorian(note *Note) key

func KeyIonian added in v0.1.0

func KeyIonian(note *Note) key

func KeyLocrian added in v0.1.0

func KeyLocrian(note *Note) key

func KeyLydian added in v0.1.0

func KeyLydian(note *Note) key

func KeyMajor added in v0.1.0

func KeyMajor(note *Note) key

func KeyMinor added in v0.1.0

func KeyMinor(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 MIDI2PDF

func MIDI2PDF(midifile, pdffile string, debug bool) error

func SharpMajorKey

func SharpMajorKey(sharps uint8) string

func SharpMinorKey

func SharpMinorKey(sharps uint8) string

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 BarRest added in v0.1.0

type BarRest struct {
	TimeSignature [2]uint
	Duration      uint
}

func (BarRest) String added in v0.1.0

func (r BarRest) String() string

type Book added in v0.1.0

type Book struct {
	Score  *Score
	Header *Header
}

func NewBook added in v0.1.0

func NewBook(s Staffer) *Book

func (Book) String added in v0.1.0

func (s Book) String() string

func (Book) ToPDF added in v0.1.0

func (s Book) ToPDF(pdffile path.Local) error

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) Add added in v0.1.0

func (c *Chord) Add(notes ...*Note) *Chord

func (*Chord) SetDuration added in v0.1.0

func (c *Chord) SetDuration(dur Duration) *Chord

func (*Chord) String added in v0.1.0

func (c *Chord) String() string

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 Command struct {
	Help    bool
	Version bool
	Verbose bool
	Silent  bool

	Relocate bool

	DefineDefault string
	Evaluate      string
	Formats       string
	Header        string
	Include       string
	Init          string
	Jail          string
	LogLevel      string

	Output       string
	LilypondFile string
}

func (Command) Args added in v0.1.0

func (m Command) Args() (a args)

func (Command) Run added in v0.1.0

func (m Command) Run() error

type DrumStaff added in v0.1.0

type DrumStaff struct {
	// contains filtered or unexported fields
}

func (*DrumStaff) NewVoice added in v0.1.0

func (l *DrumStaff) NewVoice() *Voice

func (*DrumStaff) SetName added in v0.1.0

func (l *DrumStaff) SetName(name string) *DrumStaff

func (DrumStaff) String added in v0.1.0

func (p DrumStaff) String() string

func (*DrumStaff) With added in v0.1.0

func (v *DrumStaff) With(s ...Element) *DrumStaff

type Duration added in v0.1.0

type Duration struct {
	// contains filtered or unexported fields
}

func Breve added in v0.1.0

func Breve() Duration

func BreveDot added in v0.1.0

func BreveDot(num uint) Duration

func Eightth added in v0.1.0

func Eightth() Duration

func EightthDot added in v0.1.0

func EightthDot(num uint) Duration

func Half added in v0.1.0

func Half() Duration

func HalfDot added in v0.1.0

func HalfDot(num uint) Duration

func HundredTwentyEightth added in v0.1.0

func HundredTwentyEightth() Duration

func HundredTwentyEightthDot added in v0.1.0

func HundredTwentyEightthDot(num uint) Duration

func Longa added in v0.1.0

func Longa() Duration

func LongaDot added in v0.1.0

func LongaDot(num uint) Duration

func Maxima added in v0.1.0

func Maxima() Duration

func MaximaDot added in v0.1.0

func MaximaDot(num uint) Duration

func Quarter added in v0.1.0

func Quarter() Duration

func QuarterDot added in v0.1.0

func QuarterDot(num uint) Duration

func Sixteenth added in v0.1.0

func Sixteenth() Duration

func SixteenthDot added in v0.1.0

func SixteenthDot(num uint) Duration

func SixtyFourth added in v0.1.0

func SixtyFourth() Duration

func SixtyFourthDot added in v0.1.0

func SixtyFourthDot(num uint) Duration

func ThirtySecond added in v0.1.0

func ThirtySecond() Duration

func ThirtySecondDot added in v0.1.0

func ThirtySecondDot(num uint) Duration

func Whole added in v0.1.0

func Whole() Duration

func WholeDot added in v0.1.0

func WholeDot(num uint) Duration

func (Duration) String added in v0.1.0

func (d Duration) String() string

type Element added in v0.1.0

type Element interface {
	String() string
}

func ElementGroup added in v0.1.0

func ElementGroup(elms ...Element) Element

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 struct {
	// contains filtered or unexported fields
}

func (*Header) Add added in v0.1.0

func (l *Header) Add(elms ...Element) *Header

func (*Header) SetArranger added in v0.1.0

func (l *Header) SetArranger(d string) *Header

func (*Header) SetBreakBefore added in v0.1.0

func (l *Header) SetBreakBefore() *Header

func (*Header) SetComposer added in v0.1.0

func (l *Header) SetComposer(c string) *Header

func (*Header) SetCopyright added in v0.1.0

func (l *Header) SetCopyright(d string) *Header

func (*Header) SetDedication added in v0.1.0

func (l *Header) SetDedication(d string) *Header

func (*Header) SetInstrument added in v0.1.0

func (l *Header) SetInstrument(d string) *Header

func (*Header) SetOpus added in v0.1.0

func (l *Header) SetOpus(o string) *Header

func (*Header) SetPiece added in v0.1.0

func (l *Header) SetPiece(p string) *Header

func (*Header) SetPoet added in v0.1.0

func (l *Header) SetPoet(d string) *Header

func (*Header) SetPrintAllHeaders added in v0.1.0

func (l *Header) SetPrintAllHeaders() *Header

func (*Header) SetSubSubTitle added in v0.1.0

func (l *Header) SetSubSubTitle(t string) *Header

func (*Header) SetSubTitle added in v0.1.0

func (l *Header) SetSubTitle(t string) *Header

func (*Header) SetSubTitleOff added in v0.1.0

func (l *Header) SetSubTitleOff() *Header

func (*Header) SetTagline added in v0.1.0

func (l *Header) SetTagline(t string) *Header

func (*Header) SetTaglineOff added in v0.1.0

func (l *Header) SetTaglineOff() *Header

func (*Header) SetTitle added in v0.1.0

func (l *Header) SetTitle(t string) *Header

func (Header) String added in v0.1.0

func (l Header) String() string

type Layout added in v0.1.0

type Layout struct {
	// contains filtered or unexported fields
}

func (*Layout) Add added in v0.1.0

func (l *Layout) Add(elms ...Element) *Layout

func (Layout) String added in v0.1.0

func (l Layout) String() string

type Line added in v0.1.0

type Line string

func InstrumentName added in v0.1.0

func InstrumentName(n string) Line

func Ottava added in v0.1.0

func Ottava(n int) Line

func ShortInstrumentName added in v0.1.0

func ShortInstrumentName(n string) Line

func (Line) String added in v0.1.0

func (s Line) String() string

type Lyrics added in v0.1.0

type Lyrics struct {
	// contains filtered or unexported fields
}

func (*Lyrics) Add added in v0.1.0

func (l *Lyrics) Add(elms ...Element) *Lyrics

func (Lyrics) String added in v0.1.0

func (v Lyrics) String() string

func (*Lyrics) With added in v0.1.0

func (v *Lyrics) With(s ...Element) *Lyrics

type Metronome added in v0.1.0

type Metronome struct {
	Name     string
	Duration Duration
	BPM      int
}

func (Metronome) String added in v0.1.0

func (m Metronome) String() string

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
}

func (Midi2Ly) Args

func (m Midi2Ly) Args() (a args)

func (Midi2Ly) Run

func (m Midi2Ly) Run() error

func (Midi2Ly) ToPDF

func (m Midi2Ly) ToPDF(pdffile string) error

type Mode added in v0.1.0

type Mode string
const RelaiveMode Mode = `\relative`

type Note added in v0.1.0

type Note struct {
	// contains filtered or unexported fields
}

func A added in v0.1.0

func A(octave int) *Note

func Acousticbassdrum added in v0.1.0

func Acousticbassdrum() *Note

func Acousticsnare added in v0.1.0

func Acousticsnare() *Note

func B added in v0.1.0

func B(octave int) *Note

func Bassdrum added in v0.1.0

func Bassdrum() *Note

func C added in v0.1.0

func C(octave int) *Note

func Cabasa added in v0.1.0

func Cabasa() *Note

func Chinesecymbal added in v0.1.0

func Chinesecymbal() *Note

func Claves added in v0.1.0

func Claves() *Note

func Closedhihat added in v0.1.0

func Closedhihat() *Note

func Cowbell added in v0.1.0

func Cowbell() *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 D added in v0.1.0

func D(octave int) *Note

func E added in v0.1.0

func E(octave int) *Note

func Electricsnare added in v0.1.0

func Electricsnare() *Note

func F added in v0.1.0

func F(octave int) *Note

func G added in v0.1.0

func G(octave int) *Note

func Guiro added in v0.1.0

func Guiro() *Note

func Halfopenhihat added in v0.1.0

func Halfopenhihat() *Note

func Handclap added in v0.1.0

func Handclap() *Note

func Hiagogo added in v0.1.0

func Hiagogo() *Note

func Hibongo added in v0.1.0

func Hibongo() *Note

func Hiconga added in v0.1.0

func Hiconga() *Note

func Highfloortom added in v0.1.0

func Highfloortom() *Note

func Hightom added in v0.1.0

func Hightom() *Note

func Hihat added in v0.1.0

func Hihat() *Note

func Himidtom added in v0.1.0

func Himidtom() *Note

func Hisidestick added in v0.1.0

func Hisidestick() *Note

func Hitimbale added in v0.1.0

func Hitimbale() *Note

func Hiwoodblock added in v0.1.0

func Hiwoodblock() *Note

func Loagogo added in v0.1.0

func Loagogo() *Note

func Lobongo added in v0.1.0

func Lobongo() *Note

func Loconga added in v0.1.0

func Loconga() *Note

func Longguiro added in v0.1.0

func Longguiro() *Note

func Longwhistle added in v0.1.0

func Longwhistle() *Note

func Losidestick added in v0.1.0

func Losidestick() *Note

func Lotimbale added in v0.1.0

func Lotimbale() *Note

func Lowfloortom added in v0.1.0

func Lowfloortom() *Note

func Lowmidtom added in v0.1.0

func Lowmidtom() *Note

func Lowoodblock added in v0.1.0

func Lowoodblock() *Note

func Lowtom added in v0.1.0

func Lowtom() *Note

func Maracas added in v0.1.0

func Maracas() *Note

func Mutecuica added in v0.1.0

func Mutecuica() *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 Opencuica added in v0.1.0

func Opencuica() *Note

func Openhibongo added in v0.1.0

func Openhibongo() *Note

func Openhiconga added in v0.1.0

func Openhiconga() *Note

func Openhihat added in v0.1.0

func Openhihat() *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 Rest added in v0.1.0

func Rest() *Note

func Ridebell added in v0.1.0

func Ridebell() *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 Sidestick added in v0.1.0

func Sidestick() *Note

func Silent added in v0.1.0

func Silent() *Note

func Snare added in v0.1.0

func Snare() *Note

func Splashcymbal added in v0.1.0

func Splashcymbal() *Note

func Tambourine added in v0.1.0

func Tambourine() *Note

func Tamtam added in v0.1.0

func Tamtam() *Note

func Triangle added in v0.1.0

func Triangle() *Note

func Vibraslap added in v0.1.0

func Vibraslap() *Note

func (*Note) Accent added in v0.1.0

func (n *Note) Accent() *Note

func (*Note) Add added in v0.1.0

func (n *Note) Add(elms ...Element) *Note

func (*Note) Breve added in v0.1.0

func (n *Note) Breve() *Note

func (*Note) BreveDot added in v0.1.0

func (n *Note) BreveDot(num uint) *Note

func (*Note) Coda added in v0.1.0

func (n *Note) Coda() *Note

func (*Note) Cresc added in v0.1.0

func (n *Note) Cresc() *Note

func (*Note) Decresc added in v0.1.0

func (n *Note) Decresc() *Note

func (*Note) Dim added in v0.1.0

func (n *Note) Dim() *Note

func (*Note) Downbow added in v0.1.0

func (n *Note) Downbow() *Note

func (*Note) Downmordent added in v0.1.0

func (n *Note) Downmordent() *Note

func (*Note) Downprall added in v0.1.0

func (n *Note) Downprall() *Note

func (*Note) Eh added in v0.1.0

func (n *Note) Eh() *Note

func (*Note) Eightth added in v0.1.0

func (n *Note) Eightth() *Note

func (*Note) EightthDot added in v0.1.0

func (n *Note) EightthDot(num uint) *Note

func (*Note) EndBeam added in v0.1.0

func (n *Note) EndBeam() *Note

func (*Note) EndDyn added in v0.1.0

func (n *Note) EndDyn() *Note

func (*Note) EndPhrase added in v0.1.0

func (n *Note) EndPhrase() *Note

func (*Note) EndSlur added in v0.1.0

func (n *Note) EndSlur() *Note

func (*Note) Es added in v0.1.0

func (n *Note) Es() *Note

func (*Note) Eseh added in v0.1.0

func (n *Note) Eseh() *Note

func (*Note) Eses added in v0.1.0

func (n *Note) Eses() *Note

func (*Note) Espressivo added in v0.1.0

func (n *Note) Espressivo() *Note

func (*Note) F added in v0.1.0

func (n *Note) F() *Note

func (*Note) FF added in v0.1.0

func (n *Note) FF() *Note

func (*Note) FFF added in v0.1.0

func (n *Note) FFF() *Note

func (*Note) FFFF added in v0.1.0

func (n *Note) FFFF() *Note

func (*Note) FFFFF added in v0.1.0

func (n *Note) FFFFF() *Note

func (*Note) FP added in v0.1.0

func (n *Note) FP() *Note

func (*Note) Fermata added in v0.1.0

func (n *Note) Fermata() *Note

func (*Note) Flageolet added in v0.1.0

func (n *Note) Flageolet() *Note

func (*Note) Glissando added in v0.1.0

func (n *Note) Glissando() *Note

func (*Note) Half added in v0.1.0

func (n *Note) Half() *Note

func (*Note) HalfDot added in v0.1.0

func (n *Note) HalfDot(num uint) *Note

func (*Note) Halfopen added in v0.1.0

func (n *Note) Halfopen() *Note

func (*Note) Haydnturn added in v0.1.0

func (n *Note) Haydnturn() *Note

func (*Note) Henzelongfermata added in v0.1.0

func (n *Note) Henzelongfermata() *Note

func (*Note) Henzeshortfermata added in v0.1.0

func (n *Note) Henzeshortfermata() *Note

func (*Note) HundredTwentyEightth added in v0.1.0

func (n *Note) HundredTwentyEightth() *Note

func (*Note) HundredTwentyEightthDot added in v0.1.0

func (n *Note) HundredTwentyEightthDot(num uint) *Note

func (*Note) Ih added in v0.1.0

func (n *Note) Ih() *Note

func (*Note) Is added in v0.1.0

func (n *Note) Is() *Note

func (*Note) Isih added in v0.1.0

func (n *Note) Isih() *Note

func (*Note) Isis added in v0.1.0

func (n *Note) Isis() *Note

func (*Note) Lheel added in v0.1.0

func (n *Note) Lheel() *Note

func (*Note) Lineprall added in v0.1.0

func (n *Note) Lineprall() *Note

func (*Note) Longa added in v0.1.0

func (n *Note) Longa() *Note

func (*Note) LongaDot added in v0.1.0

func (n *Note) LongaDot(num uint) *Note

func (*Note) Longfermata added in v0.1.0

func (n *Note) Longfermata() *Note

func (*Note) Ltoe added in v0.1.0

func (n *Note) Ltoe() *Note

func (*Note) MF added in v0.1.0

func (n *Note) MF() *Note

func (*Note) MP added in v0.1.0

func (n *Note) MP() *Note

func (*Note) Marcato added in v0.1.0

func (n *Note) Marcato() *Note

func (*Note) Maxima added in v0.1.0

func (n *Note) Maxima() *Note

func (*Note) MaximaDot added in v0.1.0

func (n *Note) MaximaDot(num uint) *Note

func (*Note) Mordent added in v0.1.0

func (n *Note) Mordent() *Note

func (*Note) NoBeam added in v0.1.0

func (n *Note) NoBeam() *Note

func (*Note) Open added in v0.1.0

func (n *Note) Open() *Note

func (*Note) P added in v0.1.0

func (n *Note) P() *Note

func (*Note) PP added in v0.1.0

func (n *Note) PP() *Note

func (*Note) PPP added in v0.1.0

func (n *Note) PPP() *Note

func (*Note) PPPP added in v0.1.0

func (n *Note) PPPP() *Note

func (*Note) PPPPP added in v0.1.0

func (n *Note) PPPPP() *Note

func (*Note) Portato added in v0.1.0

func (n *Note) Portato() *Note

func (*Note) Prall added in v0.1.0

func (n *Note) Prall() *Note

func (*Note) Pralldown added in v0.1.0

func (n *Note) Pralldown() *Note

func (*Note) Prallmordent added in v0.1.0

func (n *Note) Prallmordent() *Note

func (*Note) Prallprall added in v0.1.0

func (n *Note) Prallprall() *Note

func (*Note) Prallup added in v0.1.0

func (n *Note) Prallup() *Note

func (*Note) Quarter added in v0.1.0

func (n *Note) Quarter() *Note

func (*Note) QuarterDot added in v0.1.0

func (n *Note) QuarterDot(num uint) *Note

func (*Note) RFZ added in v0.1.0

func (n *Note) RFZ() *Note

func (*Note) Reverseturn added in v0.1.0

func (n *Note) Reverseturn() *Note

func (*Note) Rheel added in v0.1.0

func (n *Note) Rheel() *Note

func (*Note) Rtoe added in v0.1.0

func (n *Note) Rtoe() *Note

func (*Note) SF added in v0.1.0

func (n *Note) SF() *Note

func (*Note) SFF added in v0.1.0

func (n *Note) SFF() *Note

func (*Note) SFZ added in v0.1.0

func (n *Note) SFZ() *Note

func (*Note) SP added in v0.1.0

func (n *Note) SP() *Note

func (*Note) SPP added in v0.1.0

func (n *Note) SPP() *Note

func (*Note) Segno added in v0.1.0

func (n *Note) Segno() *Note

func (*Note) SetDuration added in v0.1.0

func (n *Note) SetDuration(dur int) *Note

func (*Note) SetDurationDot added in v0.1.0

func (n *Note) SetDurationDot(dur int, dots uint) *Note

func (*Note) Shortfermata added in v0.1.0

func (n *Note) Shortfermata() *Note

func (*Note) Sixteenth added in v0.1.0

func (n *Note) Sixteenth() *Note

func (*Note) SixteenthDot added in v0.1.0

func (n *Note) SixteenthDot(num uint) *Note

func (*Note) SixtyFourth added in v0.1.0

func (n *Note) SixtyFourth() *Note

func (*Note) SixtyFourthDot added in v0.1.0

func (n *Note) SixtyFourthDot(num uint) *Note

func (*Note) Slashturn added in v0.1.0

func (n *Note) Slashturn() *Note

func (*Note) Snappizzicato added in v0.1.0

func (n *Note) Snappizzicato() *Note

func (*Note) Staccatissimo added in v0.1.0

func (n *Note) Staccatissimo() *Note

func (*Note) Staccato added in v0.1.0

func (n *Note) Staccato() *Note

func (*Note) StartBeam added in v0.1.0

func (n *Note) StartBeam() *Note

func (*Note) StartPhrase added in v0.1.0

func (n *Note) StartPhrase() *Note

func (*Note) StartSlur added in v0.1.0

func (n *Note) StartSlur() *Note

func (*Note) Stopped added in v0.1.0

func (n *Note) Stopped() *Note

func (Note) String added in v0.1.0

func (n Note) String() string

func (*Note) Tenuto added in v0.1.0

func (n *Note) Tenuto() *Note

func (*Note) ThirtySecond added in v0.1.0

func (n *Note) ThirtySecond() *Note

func (*Note) ThirtySecondDot added in v0.1.0

func (n *Note) ThirtySecondDot(num uint) *Note

func (*Note) Trill added in v0.1.0

func (n *Note) Trill() *Note

func (*Note) Turn added in v0.1.0

func (n *Note) Turn() *Note

func (*Note) Upbow added in v0.1.0

func (n *Note) Upbow() *Note

func (*Note) Upmordent added in v0.1.0

func (n *Note) Upmordent() *Note

func (*Note) Upprall added in v0.1.0

func (n *Note) Upprall() *Note

func (*Note) Varcoda added in v0.1.0

func (n *Note) Varcoda() *Note

func (*Note) Verylongfermata added in v0.1.0

func (n *Note) Verylongfermata() *Note

func (*Note) Veryshortfermata added in v0.1.0

func (n *Note) Veryshortfermata() *Note

func (*Note) Whole added in v0.1.0

func (n *Note) Whole() *Note

func (*Note) WholeDot added in v0.1.0

func (n *Note) WholeDot(num uint) *Note

type Paper added in v0.1.0

type Paper struct {
	// contains filtered or unexported fields
}

func (*Paper) Add added in v0.1.0

func (l *Paper) Add(elms ...Element) *Paper

func (Paper) String added in v0.1.0

func (l Paper) String() string

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

type Score struct {
	Layout *Layout
	Header *Header
	// contains filtered or unexported fields
}

func (*Score) SetPageBreakAfter added in v0.1.0

func (s *Score) SetPageBreakAfter() *Score

func (Score) String added in v0.1.0

func (s Score) String() string

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

func (*Staff) NewVoice added in v0.1.0

func (p *Staff) NewVoice() *Voice

func (*Staff) SetName added in v0.1.0

func (l *Staff) SetName(name string) *Staff

func (Staff) String added in v0.1.0

func (p Staff) String() string

func (*Staff) With added in v0.1.0

func (v *Staff) With(s ...Element) *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 String added in v0.1.0

type String string

func (String) String added in v0.1.0

func (s String) String() string

type TabStaff added in v0.1.0

type TabStaff struct {
	// contains filtered or unexported fields
}

func (*TabStaff) Add added in v0.1.0

func (l *TabStaff) Add(elms ...Element) *TabStaff

func (*TabStaff) SetFullNotation added in v0.1.0

func (t *TabStaff) SetFullNotation() *TabStaff

func (TabStaff) String added in v0.1.0

func (t TabStaff) String() string

func (*TabStaff) With added in v0.1.0

func (v *TabStaff) With(s ...Element) *TabStaff

type TempoName added in v0.1.0

type TempoName string

func (TempoName) String added in v0.1.0

func (t TempoName) String() string

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) Add added in v0.1.0

func (v *Voice) Add(s ...Element) *Voice

func (Voice) HasLyrics added in v0.1.0

func (v Voice) HasLyrics() bool

func (*Voice) NewLyrics added in v0.1.0

func (v *Voice) NewLyrics() *Lyrics

func (*Voice) SetDrumVoice added in v0.1.0

func (l *Voice) SetDrumVoice() *Voice

func (*Voice) SetName added in v0.1.0

func (l *Voice) SetName(name string) *Voice

func (*Voice) StemDirectionDown added in v0.1.0

func (l *Voice) StemDirectionDown() *Voice

func (*Voice) StemDirectionUp added in v0.1.0

func (l *Voice) StemDirectionUp() *Voice

func (Voice) String added in v0.1.0

func (v Voice) String() string

func (*Voice) With added in v0.1.0

func (v *Voice) With(s ...Element) *Voice

Directories

Path Synopsis
cmd
midi2pdf Module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL