|
Csound and CsoundAC API
5.17
|
#include <allegro.h>
Public Member Functions | |
| Alg_time_map () | |
| Alg_time_map (Alg_time_map *map) | |
| double | beat_to_time (double beat) |
| void | cut (double start, double len, bool units_are_seconds) |
| void | dereference () |
| double | get_tempo (double beat) |
| void | insert_beat (double time, double beat) |
| void | insert_beats (double start, double len) |
| bool | insert_tempo (double tempo, double beat) |
| void | insert_time (double start, double len) |
| long | length () |
| long | locate_beat (double beat) |
| long | locate_time (double time) |
| void | paste (double start, Alg_track *tr) |
| void | reference () |
| bool | set_tempo (double tempo, double start_beat, double end_beat) |
| void | show () |
| bool | stretch_region (double b0, double b1, double dur) |
| double | time_to_beat (double time) |
| void | trim (double start, double end, bool units_are_seconds) |
Data Fields | |
| Alg_beats | beats |
| double | last_tempo |
| bool | last_tempo_flag |
Private Attributes | |
| int | refcount |
| Alg_time_map::Alg_time_map | ( | ) | [inline] |
References ALG_DEFAULT_BPM, last_tempo, last_tempo_flag, and refcount.
| Alg_time_map::Alg_time_map | ( | Alg_time_map * | map | ) |
| double Alg_time_map::beat_to_time | ( | double | beat | ) |
| void Alg_time_map::cut | ( | double | start, |
| double | len, | ||
| bool | units_are_seconds | ||
| ) |
| void Alg_time_map::dereference | ( | ) | [inline] |
References refcount.
Referenced by Alg_track::~Alg_track().
| double Alg_time_map::get_tempo | ( | double | beat | ) |
| void Alg_time_map::insert_beat | ( | double | time, |
| double | beat | ||
| ) |
| void Alg_time_map::insert_beats | ( | double | start, |
| double | len | ||
| ) |
| bool Alg_time_map::insert_tempo | ( | double | tempo, |
| double | beat | ||
| ) |
| void Alg_time_map::insert_time | ( | double | start, |
| double | len | ||
| ) |
| long Alg_time_map::length | ( | ) | [inline] |
References beats, and Alg_beats::len.
| long Alg_time_map::locate_beat | ( | double | beat | ) |
| long Alg_time_map::locate_time | ( | double | time | ) |
| void Alg_time_map::paste | ( | double | start, |
| Alg_track * | tr | ||
| ) |
| void Alg_time_map::reference | ( | ) | [inline] |
References refcount.
| bool Alg_time_map::set_tempo | ( | double | tempo, |
| double | start_beat, | ||
| double | end_beat | ||
| ) |
| void Alg_time_map::show | ( | ) |
| bool Alg_time_map::stretch_region | ( | double | b0, |
| double | b1, | ||
| double | dur | ||
| ) |
| double Alg_time_map::time_to_beat | ( | double | time | ) |
| void Alg_time_map::trim | ( | double | start, |
| double | end, | ||
| bool | units_are_seconds | ||
| ) |
Referenced by length().
| double Alg_time_map::last_tempo |
Referenced by Alg_time_map().
Referenced by Alg_time_map().
int Alg_time_map::refcount [private] |
Referenced by Alg_time_map(), dereference(), and reference().
1.7.6.1