Contents
. 2. Midithing Objects
.. 2.5. Event
... 2.5.1. MIDI Events  
Previous 2.5.1.6. ChannelTouch
 
Next 2.5.1.8. SysEx

2.5.1.7. NoteOff

NoteOff ([note=39, velocity=0, tick=0, channel=0, port=0, type=128])

creates a NoteOff event.

Using a NoteOff event should normally not be necessary because note events store note length and velocity_off; NoteOff events are synthesized by the sequencer when a note is sent, or translated into the length of the corresponding Note Event when they are received.

See also Note

Properties

status

Type: int
Default: 128

note

Type: int
Default: 39

Notes can be specified as a plain number, where 60 is middle C and 61 C# above it, or you can use strings to specify notes: 'C5' for the same middle C, note 60. Note 61 could also be described as for example 'C#5', 'Db5', 'Ebbb5' or 'C#b#5'.

velocity

Type: int
Default: 0

The velocity transmitted when this Event is sent, or was received.

tick

Type: int
Default: 0

channel

Type: int
Default: 0

port

Type: int
Default: 0

type

Type: type
Default: 128

Next is SysEx

midithing 0.3.22 documentation © Tim Goetze Nov. 06 2001