Function

AgsAudioNotefrom_seq_event

since: 3.0.0

Declaration [src]

GList*
ags_note_from_seq_event (
  snd_seq_event_t* event,
  gdouble bpm,
  gdouble delay_factor,
  guint n_events
)

Description [src]

Convert ALSA sequencer data event to AgsNote.

Available since: 3.0.0

Parameters

event

Type: snd_seq_event_t*

ALSA sequencer events as array.

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

n_events

Type: guint

The arrays length.

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.