OpenMusic

Visual Programming | Computer-Assisted Composition

Navigation : Previous | Next

MIDI Selection Tools

In order to make Midi objects and functions easier to set, some “menu- functions” allow to choose parameters with their standard names (according to General MIDI specifications) internally converted into corresponding integer values.

About General MIDI

http://www.midi.org/techspecs/gm.php

This functions can be used to parameterize the “MIDI Send” control boxes or to instanciate MIDI objects in OM patches.

MIDI Controls

MIDI Objects in OM

GM-PROGRAM

Selects a MIDI program and returns the corresponding General MIDI program number.

—|—|—

CONTROL-CHANGE

Selects a control change and returns the corresponding General MIDI control number.

GM-DRUMNOTE

Selects a note and return the corresponding drum element pitch value according to General MIDI.

MS-EVENT

Selects an Event type and returns the corresponding MidiShare event number.

1) GM-PROGRAM is used to select the program number for changing the timbre of channel 1 with PGMOUT.

2) CONTROL-CHANGE is used to select the control number to modify on channel 1 with CTRLCHG

3) GM-DRUMNOTE is used to select the correct pitch to assign to a NOTE object in order to get the desired drum sound (Note that the MIDI channel is 10, which is generally the channel reserved for drums in MIDI synthesizers).

—|—

References :

Contents :

Navigation : Previous | Next