A MIDI Library for .NET

Note Members

Note overview

Public Static Fields

DoubleFlatDouble-flat accidental value.
DoubleSharpDouble-sharp accidental value.
FlatFlat accidental value.
NaturalNatural accidental value.
SharpSharp accidental value.

Public Static Methods

ParseNote Parses a Note from s, starting at position pos.

Public Static Operators

Equality OperatorEquality operator does value comparison.
Inequality OperatorInequality operator does value comparison.

Public Instance Constructors

Note Overloaded. Initializes a new instance of the Note class.

Public Instance Properties

AccidentalThe accidental for this note name.
LetterThe letter for this note name, in ['A'..'G'].
PositionInOctaveThis note's position in the octave, where octaves start at each C.

Public Instance Methods

Equals Value equality for Note.
GetHashCode Hash code.
GetType (inherited from Object) 
IsEharmonicWith Returns true if this note name is enharmonic with otherNote.
PitchAtOrAbove Returns the pitch for this note that is at or above nearPitch.
PitchAtOrBelow Returns the pitch for this note that is at or below nearPitch.
PitchInOctave Returns the pitch for this note in the specified octave.
SemitonesDownTo Returns the number of semitones it takes to move down to the next otherNote.
SemitonesUpTo Returns the number of semitones it takes to move up to the next otherNote.
ToString ToString returns the note name.

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

Note Class | Midi Namespace