Function

AgsAudioNotefrom_raw_midi

since: 3.0.0

Declaration [src]

GList*
ags_note_from_raw_midi (
  guchar* raw_midi,
  gdouble bpm,
  gdouble delay_factor,
  guint length
)

Description [src]

Parse raw_midi data and convert to AgsNote.

Available since: 3.0.0

Parameters

raw_midi

Type: guchar*

The data array.

The data is owned by the caller of the function.
bpm

Type: gdouble

The bpm to use.

delay_factor

Type: gdouble

The segmentation delay factor.

length

Type: guint

The length of the array.

Return value

Type: A list of AgsNote*

A GList-struct containing the notes.

The caller of the function takes ownership of the data, and is responsible for freeing it.