C# Class MidiSheetMusic.TimeSignature

Mostra file Open project: BYVoid/MidiToSheetMusic Class Usage Examples

Public Methods

Method Description
DurationToTime ( NoteDuration dur ) : int
GetMeasure ( int time ) : int
GetNoteDuration ( int duration ) : NoteDuration
GetStemDuration ( NoteDuration dur ) : NoteDuration
TimeSignature ( int numerator, int denominator, int quarternote, int tempo )
ToString ( ) : string

Method Details

DurationToTime() public method

public DurationToTime ( NoteDuration dur ) : int
dur NoteDuration
return int

GetMeasure() public method

public GetMeasure ( int time ) : int
time int
return int

GetNoteDuration() public method

public GetNoteDuration ( int duration ) : NoteDuration
duration int
return NoteDuration

GetStemDuration() public static method

public static GetStemDuration ( NoteDuration dur ) : NoteDuration
dur NoteDuration
return NoteDuration

TimeSignature() public method

public TimeSignature ( int numerator, int denominator, int quarternote, int tempo )
numerator int
denominator int
quarternote int
tempo int

ToString() public method

public ToString ( ) : string
return string