Method

AgsAudioMidiSmfUtilget_key_on

since: 6.0.0

Declaration [src]

guint
ags_midi_smf_util_get_key_on (
  AgsMidiSmfUtil* midi_smf_util,
  guchar* buffer,
  gint* delta_time,
  gint* channel,
  gint* key,
  gint* velocity
)

Description [src]

Get the key-on message from buffer.

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*

The return location of timing information.

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

Type: gint*

The return location of channel.

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

Type: gint*

The return location of key.

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

Type: gint*

The return location of velocity.

The data is owned by the caller of the method.

Return value

Type: guint

The number of bytes read.