Class

AlphaTabVariables

AlphaTabVariables()

AlphaTab variables

Constructor

Members

# barCount

Number of bars to display at one time

View Source vendors/AlphaTab/variables.js, line 50

# cumulativeTime

Cumulative time passed in song used with the note stream array

View Source vendors/AlphaTab/variables.js, line 35

# drawer

Instance of the p5 drawer which provides information about the last note heard for drawing

View Source vendors/AlphaTab/variables.js, line 60

# getsFeedback

Boolean indicating whether or not the user gets feedback

View Source vendors/AlphaTab/variables.js, line 75

# initialize

Sets AlphaTab variables to their initial values

View Source vendors/AlphaTab/variables.js, line 90

# isFirstRender

Boolean to distinguish between the first render and subsequent renders

View Source vendors/AlphaTab/variables.js, line 45

# noteList

Instance of note list providing an average measurement of the last midi value heard

View Source vendors/AlphaTab/variables.js, line 65

# noteStream

Stream of midi/durations for the expected performance for the green/yellow/red highlighting

View Source vendors/AlphaTab/variables.js, line 25

# noteStreamIndex

Index into the note stream

View Source vendors/AlphaTab/variables.js, line 30

# p5Obj

Instance of p5 (drawing tool)

View Source vendors/AlphaTab/variables.js, line 20

# playerState

Enum holding the current state of the player to avoid confusion during re-renders

View Source vendors/AlphaTab/variables.js, line 70

# sheetMusicLength

Number holding the length of the current sheet music (used for re-rendering in the performance overview page vs the exercise or sheet music view)

View Source vendors/AlphaTab/variables.js, line 80

# shouldResetDrawPositions

Boolean signaling to p5Obj to reset its draw position

View Source vendors/AlphaTab/variables.js, line 55

# sketchBehavior

Enum indicating which sketch behavior should be followed based on the current page (e.g. real-time feedback or performance)

View Source vendors/AlphaTab/variables.js, line 85

# texLoaded

Information about the alphaTex that is currently loaded

View Source vendors/AlphaTab/variables.js, line 40