delay_times

Types

The note modifier.

pub type NoteModifier {
  Normal
  Dotted
  Triplet
}

Constructors

  • Normal
  • Dotted
  • Triplet

The unit of the delay times.

pub type Unit {
  Ms
  Hz
}

Constructors

  • Ms
  • Hz

Functions

pub fn new(
  beats_per_minute: Float,
  modifier: NoteModifier,
  unit: Unit,
) -> DelayTimes

Constructs a new DelayTimes struct.

Search Document