Skip to content

Commit

Permalink
Fix metronome graph
Browse files Browse the repository at this point in the history
  • Loading branch information
topisani committed Dec 25, 2017
1 parent 87b71ac commit 5aee8e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core/globals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ namespace otto::global {
read_data();
audio.init();
tapedeck.on_enable();
metronome.on_enable();
mixer.on_enable();
synth.select(std::size_t(0));
drums.select(std::size_t(0));
Expand Down
4 changes: 4 additions & 0 deletions src/engines/studio/metronome/metronome.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ namespace otto::engines {
FaustWrapper::process(data);
}

for (auto frm : FaustWrapper::proc_buf) {
graph.add(frm[0]);
}

return data.redirect(FaustWrapper::proc_buf);
}

Expand Down

0 comments on commit 5aee8e5

Please sign in to comment.