C# Class AlphaTab.Importer.AlphaTexImporter

This importer can parse alphaTex markup into a score structure.
Inheritance: ScoreImporter
Datei anzeigen Open project: CoderLine/alphaTab Class Usage Examples

Public Methods

Method Description
ReadScore ( ) : AlphaTab.Model.Score

Private Methods

Method Description
ApplyBeatEffect ( Beat beat ) : bool

Tries to apply a beat effect to the given beat.

Bar ( ) : void
BarMeta ( Bar bar ) : void
Bars ( ) : void
Beat ( Voice voice ) : void
BeatEffects ( Beat beat ) : void
CreateDefaultScore ( ) : void

Initializes the song with some required default values.

Error ( string nonterm, AlphaTexSymbols expected, bool symbolError = true ) : void
IsDigit ( int code ) : bool

Checks if the given character is a digit.

IsLetter ( int code ) : bool

Checks if the given character is a letter. (no control characters, whitespaces, numbers or dots)

IsTerminal ( int ch ) : bool

Checks if the given charater is a non terminal.

MetaData ( ) : void
NewSy ( ) : void

Reads the next terminal symbol.

NextChar ( ) : void

Reads the next character of the source stream.

Note ( Beat beat ) : void
NoteEffects ( Note note ) : void
ParseClef ( string str ) : Clef

Converts a clef string into the clef value.

ParseDuration ( int duration ) : System.Duration
ParseKeySignature ( String str ) : int

Converts a keysignature string into the assocciated value.

ParseTuning ( String str ) : int

Converts a string into the associated tuning.

ReadName ( ) : string

Reads a string from the stream.

ReadNumber ( ) : int

Reads a number from the stream.

Score ( ) : void
ToFinger ( int syData ) : Fingers

Method Details

ReadScore() public method

public ReadScore ( ) : AlphaTab.Model.Score
return AlphaTab.Model.Score