Click or drag to resize
NoteOffsetBy Method (Scale, Int32)
Offsets the keystroke in a specified scale.

Namespace: MidiGremlin
Assembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Note OffsetBy(
	Scale scale,
	int offset
)

Parameters

scale
Type: MidiGremlinScale
The scale you want to offset by
offset
Type: SystemInt32
Moves by intevals/tonesteps.

Return Value

Type: Note
Returns a new keystroke that has been offset within the scale.
Exceptions
ExceptionCondition
ToneNotFoundExceptionIf the Keystroke's Tone is not part of the scale.
See Also