Contents . 2. Midithing Objects .. 2.5. Event ... 2.5.1. MIDI Events |
Next 2.5.1.2. Controller |
creates a Note event.
This event usually starts the playing of a note on the device that receives it. Be careful with the velocity since many devices interpret 0 as a NoteOff instead, and the behaviour inside midithing varies.
See also NoteOff
Type: int
Default: 144
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'.
Type: int
Default: 80
The note velocity value usually indicates how loud the note should sound.
tick
Type: int
Default: 0
Type: int
Default: 48
The length in midi ticks of the Note. Midithings behaviour if tick + length is greater than maximum signed int on your system is undefined.
velocity_off
Type: int
Default: 80
The velocity sent when the NoteOff event is sent.
channel
Type: int
Default: 0
Type: int
Default: 0
Type: type
Default: 144
midithing 0.3.22 documentation | © Tim Goetze | Nov. 06 2001 |