Method

AgsAudioMidiSmfUtilput_key_off

since: 6.0.0

Declaration [src]

void
ags_midi_smf_util_put_key_off (
  AgsMidiSmfUtil* midi_smf_util,
  guchar* buffer,
  gint delta_time,
  gint channel,
  gint key,
  gint velocity
)

Description [src]

Puts the given values to buffer with appropriate channel message.

Available since: 6.0.0

Parameters

buffer

Type: guchar*

The MIDI buffer.

The data is owned by the caller of the method.
delta_time

Type: gint

Timing information.

channel

Type: gint

Valid channels from 0-15.

key

Type: gint

Valid keys to play 0-128.

velocity

Type: gint

The key dynamics.