Function

AgsAudioNotefrom_raw_midi_extended

since: 3.0.0

Declaration [src]

GList*
ags_note_from_raw_midi_extended (
  guchar* raw_midi,
  glong nn,
  glong dd,
  glong cc,
  glong bb,
  glong tempo,
  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.
nn

Type: glong

Numerator.

dd

Type: glong

Denominator.

cc

Type: glong

Clocks.

bb

Type: glong

Beats.

tempo

Type: glong

Tempo.

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.