 | 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: MidiGremlinAssembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic int Interval(
Tone tone
)
Public Function Interval (
tone As Tone
) As Integer
public:
int Interval(
Tone tone
)
member Interval :
tone : Tone -> int
Parameters
- tone
- Type: MidiGremlinTone
The tone whose interval will be returned.
Return Value
Type:
Int32Returns the position of the tone in the scale.
Exceptions
See Also