andrew@1: /* andrew@1: * SoundFileLoader.h andrew@1: * audioFileLoaderSVN1 andrew@1: * andrew@1: * Created by Andrew on 04/09/2011. andrew@1: * Copyright 2011 QMUL. All rights reserved. andrew@1: * andrew@1: */ andrew@1: andrew@1: #ifndef SOUND_FILE_LOADER_H andrew@1: #define SOUND_FILE_LOADER_H andrew@1: andrew@1: andrew@1: #include "fftw3.h" andrew@1: #include "ofMain.h" andrew@1: #include "sndfile.h" andrew@1: #include "AudioFile.h" andrew@1: andrew@1: #define FRAMESIZE 512 andrew@1: #define ENERGY_LENGTH 80000 andrew@1: #define CHROMA_LENGTH 12000 andrew@1: #define CHROMA_CONVERSION_FACTOR 16 //16 times as many frames in energy as in chroma andrew@1: andrew@1: andrew@1: //this does a chromagram analysis and aubio onset analysis andrew@1: //held in double matrix and doubleVector respectively andrew@1: //these are dynamic vectors, so size set by what's needed for the file andrew@1: andrew@1: class SoundFileLoader{ andrew@1: andrew@1: public: andrew@1: andrew@1: andrew@1: }; andrew@1: #endif