#include "csv.h"
Functions | |
int | load_csv (FILE *input) |
int load_csv | ( | FILE * | input | ) |
This function receives a CSV file, reads its bytes, interprets them and fills the table of MIDI events. It also assigns values to some important global variables (like 'n_tracks' and 'ticks_per_beat'). It returns 0 in case of success and returns 1 otherwise.