#include "table.h"Functions | |
| void | init_table () |
| void | insert_tempo (int delta_time, int tempo) |
| void | insert_table (int track, int delta_time, unsigned char *bytes) |
| void | print_tempo () |
| void | print_table (int track) |
| int | fix_soloist_track () |
| void | finish_table () |
| void init_table | ( | ) |
This function allocates memory for three structures: (1) the list of tempo changes; (2) the main table of the program; (3) a temporary structure called 'events'.
| void insert_tempo | ( | int | delta_time, | |
| int | tempo | |||
| ) |
This function inserts an element into the list of tempo changes.
| void insert_table | ( | int | track, | |
| int | delta_time, | |||
| unsigned char * | bytes | |||
| ) |
This function inserts an element into the table that stores the score.
| void print_tempo | ( | ) |
This function prints the list of tempo changes.
| void print_table | ( | int | track | ) |
This function prints just one line of the table that stores the score.
| int fix_soloist_track | ( | ) |
This function cleans the track that store the soloist track. It removes all the events different than 'Note On'.
| void finish_table | ( | ) |
This function deallocates the memory of three structures: (1) the list of tempo changes; (2) the main table of the program; (3) a temporary structure called 'events'.
1.6.2-20100124