XJ music engine  1.9.6
In-game runtime engine for XJ music.
Static Public Member Functions | List of all members
XJ::BPM Class Reference

#include <BPM.h>

Static Public Member Functions

static long long beatsNanos (float beats, float bpm)
 
static float velocity (float bpm)
 

Detailed Description

Beats-Per-Minute (utilities)

Member Function Documentation

◆ beatsNanos()

long long BPM::beatsNanos ( float  beats,
float  bpm 
)
static

Nanoseconds length of a given number of beats at a given Beats Per Minute.

Parameters
beatstotal length
bpmbeats per minute

◆ velocity()

float BPM::velocity ( float  bpm)
static

Velocity in seconds-ber-beat for any BPM

Parameters
bpmto get seconds-per-beat for
Returns
velocity in seconds-per-beat

The documentation for this class was generated from the following files: