src/csv.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "instruments.h"
#include "global.h"
#include "table.h"

Go to the source code of this file.

Defines

#define MAX_C   100

Functions

int load_csv (FILE *input)

Define Documentation

#define MAX_C   100

Function Documentation

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.

 All Data Structures Files Functions Variables Typedefs Defines
Generated by  doxygen 1.6.2-20100124