Table of Contents

Enum NoteName

Namespace
SunSharp
Assembly
SunSharp.dll

Represents the name of a musical note within an octave.

public enum NoteName : sbyte
Extension Methods

Fields

A = 9

A note.

Ab = 8

A♭ note. Enharmonic equivalent of G♯.

As = 10

A♯ note. Enharmonic equivalent of B♭.

B = 11

B note. Enharmonic equivalent of C♭ in the next octave.

Bb = 10

B♭ note. Enharmonic equivalent of A♯.

Bs = 12

B♯ note. Enharmonic equivalent of C in the next octave.

C = 0

C note. Enharmonic equivalent of B♯ in the previous octave.

Cb = -1

D♭ note (flat). Enharmonic equivalent of B in the previous octave.

Cs = 1

C♯ note.

D = 2

D note.

Db = 1

D♭ note. Enharmonic equivalent of C♯.

Ds = 3

D♯ note. Enharmonic equivalent of E♭.

E = 4

E note. Enharmonic equivalent of F♭.

Eb = 3

E♭ note (flat). Enharmonic equivalent of D♯.

Es = 5

E♯ note (natural). Enharmonic equivalent of F.

F = 5

F note.

Fb = 4

E♭ note (flat). Enharmonic equivalent of E.

Fs = 6

F♯ note. Enharmonic equivalent of G♭.

G = 7

G note.

Gb = 6

G♭ note. Enharmonic equivalent of F♯.

Gs = 8

G♯ note. Enharmonic equivalent of A♭.

Other = -128

Unspecified, unknown or otherwise invalid note name.

Remarks

Supports enharmonic equivalents with one accidental (sharp or flat).