Beat Class

Summary

A beat is a single block within a bar. A beat is a combination of several notes played at the same time.
Namespace
AlphaTab.Model
Base Types
  • object
graph TD Base0["object"]-->Type Type["Beat"] class Type type-node

Syntax

public class Beat

Constructors

Name Summary
Beat() Initializes a new instance of the Beat class.

Properties

Name Value Summary
AbsoluteDisplayStart int
Gets the absolute display start time within the song.
AbsolutePlaybackStart int
Gets the absolute playback start time within the song.
Automations FastList<T>
Gets or sets a list of all automations on this beat.
BrushDuration int
Gets or sets the duration of the brush between the notes in midi ticks.
BrushType BrushType
Gets or sets the brush type applied to the notes of this beat.
Chord Chord
Gets the chord used on this beat.
ChordId string
Gets or sets the ID of the chord used on this beat.
Crescendo CrescendoType
Gets or sets whether a crescendo/decrescendo is applied on this beat.
DisplayDuration int
Gets or sets the duration that is used for the display of this beat. It defines the size/width of the beat in the music sheet. (unit: midi ticks).
DisplayStart int
The timeline position of the voice within the current bar as it is displayed. (unit: midi ticks)
Dots int
Gets or sets the number of dots applied to the duration of this beat.
Duration Duration
Gets or sets the duration of this beat.
Dynamic DynamicValue
Gets or sets the dynamics applied to this beat.
FadeIn bool
Gets or sets a value indicating whether this beat is fade-in.
Fermata Fermata
Gets or sets the fermata applied to this beat.
GraceType GraceType
Gets or sets the grace style of this beat.
HasChord bool
Gets a value indicating whether a chord is used on this beat.
HasRasgueado bool
Gets or sets a value indicating whether the beat is played in rasgueado style.
HasTuplet bool
Gets or sets whether there is a tuplet applied to the duration of this beat.
HasWhammyBar bool
Gets a value indicating whether a whammy bar is used on this beat.
Id int
Gets or sets the unique id of this beat.
Index int
Gets or sets the zero-based index of this beat within the voice.
InvertBeamDirection bool
Gets or sets a value indicating whether the beam direction should be inverted.
IsContinuedWhammy bool
Gets or sets whether this beat continues a whammy effect.
IsEmpty bool
Gets or sets a value indicating whether this beat is considered empty.
IsLastOfVoice bool
Gets a value indicating whether this beat is the last beat in the voice.
IsLegatoDestination bool
Gets a value indicating whether this beat ends a legato slur.
IsLegatoOrigin bool
Gets a value indicating whether this beat starts a legato slur.
IsLetRing bool
Gets or sets whether any note in this beat has a let-ring applied.
IsPalmMute bool
Gets or sets whether any note in this beat has a palm-mute paplied.
IsRest bool
Gets or sets whether this beat is considered as rest.
IsSlurDestination bool
Gets or sets whether this beat ends or continues a slur.
IsSlurOrigin bool
Gets or sets whether this beat starts a slur.
IsTremolo bool
Gets whether a tremolo effect is played on this beat.
Lyrics string[]
Gets or sets the lyrics shown on this beat.
MaxNote Note
Gets or sets the note with the highest pitch in this beat. Only visible notes are considered.
MaxStringNote Note
Gets or sets the note with the highest string number in this beat. Only visible notes are considered.
MaxWhammyPoint BendPoint
Gets or sets the highest point with for the highest whammy bar value.
MinNote Note
Gets or sets the note with the lowest pitch in this beat. Only visible notes are considered.
MinStringNote Note
Gets or sets the note with the lowest string number in this beat. Only visible notes are considered.
MinWhammyPoint BendPoint
Gets or sets the highest point with for the lowest whammy bar value.
NextBeat Beat
Gets or sets the next beat within the whole song.
Notes FastList<T>
Gets or sets the list of notes contained in this beat.
NoteStringLookup FastDictionary<TKey, TValue>
Gets the lookup where the notes per string are registered. If this staff contains string based notes this lookup allows fast access.
Ottava Ottavia
Gets or sets the ottava applied to this beat.
PickStroke PickStroke
Gets or sets the pickstroke applied on this beat.
PlaybackDuration int
Gets or sets the duration that the note is played during the audio generation.
PlaybackStart int
The timeline position of the voice within the current bar as it is played. (unit: midi ticks)
Pop bool
Gets or sets a value indicating whether the notes on this beat are played with a pop-style (bass).
PreviousBeat Beat
Gets or sets the previous beat within the whole song.
Slap bool
Gets or sets a value indicating whether the notes on this beat are played with a slap-style (bass).
SlurDestination Beat
Gets or sets the slur destination beat.
SlurOrigin Beat
Gets or sets the slur origin beat
Tap bool
Gets or sets a value indicating whether the notes on this beat are played with a tap-style (bass).
Text string
Gets or sets the text annotation shown on this beat.
TremoloSpeed Nullable<T>
Gets or sets the speed of the tremolo effect.
TupletDenominator int
Gets or sets the tuplet denominator.
TupletNumerator int
Gets or sets the tuplet numerator.
Vibrato VibratoType
Gets or sets the vibrato effect used on this beat.
Voice Voice
Gets or sets the reference to the parent voice this beat belongs to.
WhammyBarPoints FastList<T>
Gets or sets the points defining the whammy bar usage.
WhammyBarType WhammyType
Gets or sets the whammy bar style of this beat.
WhammyStyle BendStyle
Gets or sets which whammy bar style should be used for this bar.