onsetsdshelpers.h File Reference

#include <fftw3.h>
#include "../onsetsds.h"

Data Structures

struct  OnsetsDSAudioBuf
struct  OnsetsDSEvalData

Typedefs

typedef void(*) ODSFileCallback (OnsetsDS *, double)
typedef void(*) ODSDataCallback (OnsetsDSAudioBuf *, size_t)

Functions

void onsetsds_init_audiodata (OnsetsDSAudioBuf *odsbuf, OnsetsDS *ods, size_t hopsize)
void onsetsds_destroy_audiodata (OnsetsDSAudioBuf *odsbuf)
void onsetsds_process_audiodata (OnsetsDSAudioBuf *odsbuf, float *data, size_t datalen, ODSDataCallback callback)
int onsetsds_process_audiofile (OnsetsDSAudioBuf *odsbuf, const char *infilename, ODSFileCallback callback)
int onsetsds_evaluate_audiofile (OnsetsDSAudioBuf *odsbuf, const char *infilename, const char *gtfilename, OnsetsDSEvalData *results)

Detailed Description