Closed skylarbarrera closed 4 years ago
Digged into a different example and found the following audioIn function that solved the problem and is the correct way to set it up.
void ofApp::audioIn(ofSoundBuffer &inBuffer){ //ANALYZE SOUNDBUFFER: audioAnal.analyze(inBuffer); }
My SoundBuffer is being initialized and updated correctly but once I try to run AudioAnalyzer::analyze(SoundBuffer) my program hangs and my audio buffer freezes with all 0's I followed the example but they are using older versions which ask for a SoundBuffer as an input.
`{void ofApp::audioIn(float * input, int bufferSize, int nChannels){
}`