Contents
. 2. Midithing Objects
.. 2.5. Event
... 2.5.1. MIDI Events  
Previous 2.5.1.2. Controller
 
Next 2.5.1.4. Pitch

2.5.1.3. Program

Program ([program=0, tick=0, channel=0, port=0, type=192])

creates a Program event.

With most synthesizers this Event controls the timbre they use for the channel this Event is received on. Many devices accept a Controller Event with controller 0 specifying the bank from which to get the timbre. When using the two together, make sure the bank select event is sent first.

Properties

status

Type: int
Default: 192

program

Type: int
Default: 0

tick

Type: int
Default: 0

channel

Type: int
Default: 0

port

Type: int
Default: 0

type

Type: type
Default: 192

Next is Pitch

midithing 0.3.22 documentation © Tim Goetze Nov. 06 2001