 | NoteOffsetBy Method (Int32, Int32) |
Offsets the keystroke by both an interval and an octave.
Namespace: MidiGremlinAssembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic Note OffsetBy(
int offset,
int octaveOffset
)
Public Function OffsetBy (
offset As Integer,
octaveOffset As Integer
) As Note
public:
Note^ OffsetBy(
int offset,
int octaveOffset
)
member OffsetBy :
offset : int *
octaveOffset : int -> Note
Parameters
- offset
- Type: SystemInt32
Moves by intevals/tonesteps. - octaveOffset
- Type: SystemInt32
Moves by octave.
Return Value
Type:
Note Returns a new keystroke that has been offset within the scale.
See Also