Click or drag to resize
ScaleInterval Method
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.

Namespace: MidiGremlin
Assembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public int Interval(
	Tone tone
)

Parameters

tone
Type: MidiGremlinTone
The tone whose interval will be returned.

Return Value

Type: Int32
Returns the position of the tone in the scale.
Exceptions
ExceptionCondition
ToneNotFoundException Thrown if the tone does not exist in the scale.
See Also