Csound and CsoundAC API  5.17
Public Member Functions | Data Fields | Private Attributes
Alg_time_map Class Reference

#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
 

Constructor & Destructor Documentation

Alg_time_map::Alg_time_map ( )
inline
Alg_time_map::Alg_time_map ( Alg_time_map map)

Member Function Documentation

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 
)

Field Documentation

Alg_beats Alg_time_map::beats

Referenced by length().

double Alg_time_map::last_tempo

Referenced by Alg_time_map().

bool Alg_time_map::last_tempo_flag

Referenced by Alg_time_map().

int Alg_time_map::refcount
private