Contents
. 2. Midithing Objects
.. 2.5. Event
... 2.5.1. MIDI Events  
Previous 2.5.1.4. Pitch
 
Next 2.5.1.6. ChannelTouch

2.5.1.5. NoteTouch

NoteTouch ([note=39, velocity=0, tick=0, channel=0, port=0, type=160])

creates a NoteTouch event.

A widely unused Event type that is generated by some keyboards when the pressure of a depressed key changes.

Properties

status

Type: int
Default: 160

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 changed velocity of the note.

tick

Type: int
Default: 0

channel

Type: int
Default: 0

port

Type: int
Default: 0

type

Type: type
Default: 160

Next is ChannelTouch

midithing 0.3.22 documentation © Tim Goetze Nov. 06 2001