Function

AgsAudioNotefrom_seq_event_extended

since: 3.0.0

Declaration [src]

GList*
ags_note_from_seq_event_extended (
  snd_seq_event_t* event,
  glong nn,
  glong dd,
  glong cc,
  glong bb,
  glong tempo,
  gdouble bpm,
  gdouble delay_factor,
  guint n_events
)

Description [src]

Parse raw_midi data and convert to AgsNote.

Available since: 3.0.0

Parameters

event

Type: snd_seq_event_t*

The snd_seq_event_t struct array.

The argument can be NULL.
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.

n_events

Type: guint

The count snd_seq_event_t structs.

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.