Commit 81b97b47 authored by pbethge's avatar pbethge
Browse files

fix: actually sample from the mono buffer

parent 25bb2ef4
......@@ -294,7 +294,7 @@ void ofApp::audioIn(ofSoundBuffer & input) {
// if recording: save the incoming buffer to the recording
// then trigger the neural network
if(recording) {
sampleBuffers.push(input.getBuffer());
sampleBuffers.push(monoBuffer);
recordingCounter++;
if(recordingCounter >= numBuffers) {
recording = false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment