Function

AgsAudioNotelength_to_smf_delta_time

since: 3.0.0

Declaration [src]

glong
ags_note_length_to_smf_delta_time (
  guint note_length,
  gdouble bpm,
  gdouble delay_factor,
  glong nn,
  glong dd,
  glong cc,
  glong bb,
  glong tempo
)

Description [src]

Convert note length to SMF delta-time.

Available since: 3.0.0

Parameters

note_length

Type: guint

The note length to convert.

bpm

Type: gdouble

The source bpm.

delay_factor

Type: gdouble

The source delay factor.

nn

Type: glong

Numerator.

dd

Type: glong

Denominator.

cc

Type: glong

Clocks.

bb

Type: glong

Beats.

tempo

Type: glong

Tempo.

Return value

Type: glong

The delta-time.