Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Hertz-Lab
Research
Intelligent Museum
Language Identifier
Commits
81b97b47
Commit
81b97b47
authored
Sep 07, 2021
by
pbethge
Browse files
fix: actually sample from the mono buffer
parent
25bb2ef4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ofApp.cpp
View file @
81b97b47
...
...
@@ -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
.
get
Buffer
()
);
sampleBuffers
.
push
(
mono
Buffer
);
recordingCounter
++
;
if
(
recordingCounter
>=
numBuffers
)
{
recording
=
false
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment