Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BPM

BPM Utility class to get from bpm(s) to seconds.

Hierarchy

  • BPM

Index

Constructors

Methods

Constructors

constructor

  • new BPM(bpm: number): BPM
  • Creates a BPM object with a specified bpm time.

    Parameters

    • bpm: number

    Returns BPM

Methods

timeInSeconds

  • timeInSeconds(numerator: number, denominator: number): number
  • Returns the number of seconds for this bpm with a specified time signature numerator and denominator.

    Parameters

    • numerator: number

      the 3 of a 3/4 time signature

    • denominator: number

      the 4 of a 3/4 time signature

    Returns number

Generated using TypeDoc