Class Midi.Note

A single MIDI note, represents a MIDI Note On event followed by a Note Off event after the given duration. Note objects are immutable.

Constructors

Note(integer pitch, integer velocity, float duration, integer channel)

Properties

channel MIDI channel
duration note duration in measures
pitch MIDI note value
velocity MIDI velocity

Constructor Documentation


Note(integer pitch, integer velocity, float duration, integer channel)

Parameters

Property Documentation


integer channel

MIDI channel


float duration

Note duration in measures


integer pitch

MIDI note value


integer velocity

MIDI velocity



Creative Commons Logo This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.