Function

AgsAudioNotationfrom_raw_midi

since: 3.0.0

Declaration [src]

AgsNotation*
ags_notation_from_raw_midi (
  guchar* raw_midi,
  glong nn,
  glong dd,
  glong cc,
  glong bb,
  glong tempo,
  gdouble bpm,
  gdouble delay_factor,
  guint buffer_length
)

Description [src]

Parse raw_midi data and convert to AgsNotation.

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.

buffer_length

Type: guint

The buffer length.

Return value

Type: AgsNotation

The AgsNotation.

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