Skip to content

Commit

Permalink
refactor cpp api
Browse files Browse the repository at this point in the history
  • Loading branch information
anokta committed Sep 24, 2023
1 parent e29f690 commit 66bf044
Show file tree
Hide file tree
Showing 11 changed files with 476 additions and 119 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const double a3_pitch = -1.0;
instrument.SetNoteOn(a3_pitch, /*intensity=*/0.25);

// Check if the instrument note is on.
const bool is_note_on = *instrument.IsNoteOn(a3_pitch); // will return true.
const bool is_note_on = instrument.IsNoteOn(a3_pitch); // will return true.

// Add a low-pass effect to the instrument.
auto effect = instrument.CreateEffect(barely::LowPassEffectDefinition());
Expand Down
Loading

0 comments on commit 66bf044

Please sign in to comment.