Man pages sections > man3 > ALLEGRO_BPM_TO_SECS

ALLEGRO_BPM_TO_SECS - Allegro 5 API

ALLEGRO_BPM_TO_SECS(3alleg5) ALLEGRO_BPM_TO_SECS(3alleg5)

NAME

ALLEGRO_BPM_TO_SECS - Allegro 5 API

SYNOPSIS

#include <allegro5/allegro.h>
#define ALLEGRO_BPM_TO_SECS(x)        (60.0 / (x))

DESCRIPTION

Convert beats per minute to seconds.
Allegro reference manual