Method

AgsAudioNoteto_seq_event

since: 3.0.0

Declaration [src]

snd_seq_event_t*
ags_note_to_seq_event (
  AgsNote* note,
  gdouble bpm,
  gdouble delay_factor,
  guint* n_events
)

Description [src]

Convert note to ALSA sequencer events and set the number of events in the array as n_events.

Available since: 3.0.0

Parameters

bpm

Type: gdouble

The bpm to use.

delay_factor

Type: gdouble

The segmentation delay factor.

n_events

Type: guint*

The count of events.

The data is owned by the caller of the method.

Return value

Type: snd_seq_event_t*

The sequencer events as array.

The returned data is owned by the instance.
The return value can be NULL.