#include <AuLib/ScorePlayer.h>
|
| ScorePlayer (const Score &sc, uint32_t nchnls=def_nchnls, uint32_t vframes=def_vframes, double sr=def_sr) |
|
template<typename... Targs> |
const ScorePlayer & | process (Targs &... args) |
|
void | insert (const Score &input, double offset=0.) |
|
uint64_t | score_time () const |
|
void | reset () |
|
void | score_time (uint64_t t) |
|
void | score_time (double t) |
|
void | prepare () |
|
template<typename T , typename... Targs> |
bool | play (T &dest, Targs... args) |
|
bool | check_score () const |
|
| AudioBase (uint32_t nchnls=def_nchnls, uint32_t vframes=def_vframes, double sr=def_sr) |
|
virtual const AudioBase & | operator*= (double scal) |
|
virtual const AudioBase & | operator*= (const double *sig) |
|
virtual const AudioBase & | operator*= (const AudioBase &obj) |
|
virtual const AudioBase & | operator+= (double offs) |
|
virtual const AudioBase & | operator+= (const double *sig) |
|
virtual const AudioBase & | operator+= (const AudioBase &obj) |
|
double & | operator[] (uint32_t ndx) |
|
const double & | operator[] (uint32_t ndx) const |
|
iterator | begin () |
|
iterator | end () |
|
const_iterator | cbegin () const |
|
const_iterator | cend () const |
|
const AudioBase & | set (const AudioBase &obj) |
|
const AudioBase & | set (const double *sig) |
|
const double * | set (double v) |
|
double | set (double v, uint32_t p) |
|
| operator const std::vector< double > & () const |
|
| operator const double * () const |
|
const double * | vector () const |
|
double | vector (uint32_t frndx, uint32_t chn) const |
|
uint32_t | vframes (uint32_t frames) |
|
uint32_t | resize_exact (uint32_t frames) |
|
uint32_t | vframes () const |
|
uint32_t | vsamps () const |
|
uint32_t | nchnls () const |
|
uint32_t | sr () const |
|
uint32_t | error () const |
|
virtual const char * | error_message () const |
|
◆ ScorePlayer()
◆ check_score()
bool AuLib::ScorePlayer::check_score |
( |
| ) |
const |
|
inline |
◆ insert()
void AuLib::ScorePlayer::insert |
( |
const Score & |
input, |
|
|
double |
offset = 0. |
|
) |
| |
|
inline |
insert score at the current running time with optional offset.
◆ play()
template<typename T , typename... Targs>
bool AuLib::ScorePlayer::play |
( |
T & |
dest, |
|
|
Targs... |
args |
|
) |
| |
|
inline |
play loaded score from start position to end into dest object.
◆ prepare()
void AuLib::ScorePlayer::prepare |
( |
| ) |
|
|
inline |
prepare for playback of score object. Also resets playback time.
◆ process()
template<typename... Targs>
const ScorePlayer & AuLib::ScorePlayer::process |
( |
Targs &... |
args | ) |
|
process instruments obj ... dispatching score commands, for one vector of audio, returning the mixed score audio
◆ reset()
void AuLib::ScorePlayer::reset |
( |
| ) |
|
|
inline |
reset playback time counter
◆ score_time() [1/3]
uint64_t AuLib::ScorePlayer::score_time |
( |
| ) |
const |
|
inline |
get current score time in frames
◆ score_time() [2/3]
void AuLib::ScorePlayer::score_time |
( |
uint64_t |
t | ) |
|
|
inline |
set current score time in frames
◆ score_time() [3/3]
void AuLib::ScorePlayer::score_time |
( |
double |
t | ) |
|
|
inline |
set current score time in secs
The documentation for this class was generated from the following file: