#include <SMFTest.h>
|
std::string | path () const |
|
int | open (const std::string &path) |
|
void | close () |
|
int | read_event (uint32_t *delta_t, uint32_t *size, uint8_t **buf) const |
|
| SMF () |
|
virtual | ~SMF () |
|
virtual Temporal::Beats | duration () const |
|
int | open (const std::string &path, int track=1, bool scan=true) |
|
int | create (const std::string &path, int track=1, uint16_t ppqn=19200) |
|
void | close () |
|
void | seek_to_start () const |
|
int | seek_to_track (int track) |
|
int | read_event (uint32_t *delta_t, uint32_t *size, uint8_t **buf, event_id_t *note_id) const |
|
uint16_t | num_tracks () const |
|
uint16_t | ppqn () const |
|
bool | is_empty () const |
|
void | begin_write () |
|
void | append_event_delta (uint32_t delta_t, uint32_t size, const uint8_t *buf, event_id_t note_id) |
|
void | end_write (std::string const &) |
|
void | flush () |
|
void | set_length (Temporal::Beats const &) |
|
double | round_to_file_precision (double val) const |
|
int | smf_format () const |
|
Temporal::Beats | file_duration () const |
|
int | num_channels () const |
|
UsedChannels const & | used_channels () const |
|
void | set_used_channels (UsedChannels used) |
|
uint64_t | n_note_on_events () const |
|
bool | has_pgm_change () const |
|
void | track_names (std::vector< std::string > &) const |
|
void | instrument_names (std::vector< std::string > &) const |
|
int | num_tempos () const |
|
Tempo * | nth_tempo (size_t n) const |
|
Markers const & | markers () const |
|
void | load_markers () |
|
std::shared_ptr< Temporal::TempoMap > | tempo_map (bool &provided) const |
|
Definition at line 33 of file SMFTest.h.
◆ close()
void TestSMF::close |
( |
void |
| ) |
|
|
inline |
◆ open()
int TestSMF::open |
( |
const std::string & |
path | ) |
|
|
inline |
◆ path()
std::string TestSMF::path |
( |
| ) |
const |
|
inline |
◆ read_event()
int TestSMF::read_event |
( |
uint32_t * |
delta_t, |
|
|
uint32_t * |
size, |
|
|
uint8_t ** |
buf |
|
) |
| const |
|
inline |
◆ _path
std::string TestSMF::_path |
|
private |
The documentation for this class was generated from the following file: