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

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

Constructor Documentation


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

Parameters

Property Documentation


integer pitch

MIDI note value


integer velocity

MIDI velocity


float duration

Note duration in measures


integer channel

MIDI channel



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