Click or drag to resize
Scale Class
The class represents a scale as a list of tones from the cromatic scale. This is used when determining Chords.
Inheritance Hierarchy
SystemObject
  MidiGremlinScale

Namespace: MidiGremlin
Assembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Scale

The Scale type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyStatic memberChromaticScale
The Chromatic Scale, which contains all 12 tones starting at C.
Public propertyCount
The amount of tones the scale contains.
Public propertyItem
Finds a tone in the scale corresponding to the given interval.
Public propertyStatic memberMajorScale
The Major Scale, which contains all the whole tones, starting at C.
Top
Methods
  NameDescription
Public methodContains
Checks if the tone is in the scale.
Public methodInterval
Finds the position of the specified tone within the scale. If the number p is returned searching for a tone t in scale S, writing S[p] will always yield t.
Top
See Also