C# Class MidiSheetMusic.KeySignature

Mostrar archivo Open project: BYVoid/MidiToSheetMusic Class Usage Examples

Public Methods

Method Description
Equals ( KeySignature k ) : bool
GetAccidental ( int notenumber, int measure ) : Accid
GetSymbols ( Clef clef ) : MidiSheetMusic.AccidSymbol[]
GetWhiteNote ( int notenumber ) : WhiteNote
Guess ( List notes ) : KeySignature
KeySignature ( int notescale ) : System
KeySignature ( int num_sharps, int num_flats ) : System
KeyToString ( int notescale ) : string
Notescale ( ) : int
ToString ( ) : string

Private Methods

Method Description
CreateAccidentalMaps ( ) : void
CreateSymbols ( ) : void
ResetKeyMap ( ) : void

Method Details

Equals() public method

public Equals ( KeySignature k ) : bool
k KeySignature
return bool

GetAccidental() public method

public GetAccidental ( int notenumber, int measure ) : Accid
notenumber int
measure int
return Accid

GetSymbols() public method

public GetSymbols ( Clef clef ) : MidiSheetMusic.AccidSymbol[]
clef Clef
return MidiSheetMusic.AccidSymbol[]

GetWhiteNote() public method

public GetWhiteNote ( int notenumber ) : WhiteNote
notenumber int
return WhiteNote

Guess() public static method

public static Guess ( List notes ) : KeySignature
notes List
return KeySignature

KeySignature() public method

public KeySignature ( int notescale ) : System
notescale int
return System

KeySignature() public method

public KeySignature ( int num_sharps, int num_flats ) : System
num_sharps int
num_flats int
return System

KeyToString() public static method

public static KeyToString ( int notescale ) : string
notescale int
return string

Notescale() public method

public Notescale ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string