C# Class AlphaTab.Model.Beat

A beat is a single block within a bar. A beat is a combination of several notes played at the same time.
Mostra file Open project: CoderLine/alphaTab Class Usage Examples

Public Methods

Method Description
AddNote ( Note note ) : void
AddWhammyBarPoint ( AlphaTab.Model.BendPoint point ) : void
Beat ( ) : AlphaTab.Audio
CalculateDuration ( ) : int

Calculates the time spent in this bar. (unit: midi ticks)

Clone ( ) : Beat
CopyTo ( Beat src, Beat dst ) : void
Finish ( ) : void
GetAutomation ( AutomationType type ) : AlphaTab.Model.Automation
GetNoteOnString ( int @string ) : Note
RefreshNotes ( ) : void
RemoveWhammyBarPoint ( int index ) : void

Method Details

AddNote() public method

public AddNote ( Note note ) : void
note Note
return void

AddWhammyBarPoint() public method

public AddWhammyBarPoint ( AlphaTab.Model.BendPoint point ) : void
point AlphaTab.Model.BendPoint
return void

Beat() public method

public Beat ( ) : AlphaTab.Audio
return AlphaTab.Audio

CalculateDuration() public method

Calculates the time spent in this bar. (unit: midi ticks)
public CalculateDuration ( ) : int
return int

Clone() public method

public Clone ( ) : Beat
return Beat

CopyTo() public static method

public static CopyTo ( Beat src, Beat dst ) : void
src Beat
dst Beat
return void

Finish() public method

public Finish ( ) : void
return void

GetAutomation() public method

public GetAutomation ( AutomationType type ) : AlphaTab.Model.Automation
type AutomationType
return AlphaTab.Model.Automation

GetNoteOnString() public method

public GetNoteOnString ( int @string ) : Note
@string int
return Note

RefreshNotes() public method

public RefreshNotes ( ) : void
return void

RemoveWhammyBarPoint() public method

public RemoveWhammyBarPoint ( int index ) : void
index int
return void