Skip to content

Commit

Permalink
Whitespace fixes in min.note.make
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelgk committed Apr 26, 2023
1 parent 75817a1 commit 20cbe21
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions source/projects/min.note.make/min.note.make.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,16 +139,17 @@ class note_make : public object<note_make> {
// The order of initialization is critical

note::note(note_make* owner, pitch a_pitch, duration a_duration)
: m_owner {owner}
, m_pitch {a_pitch}
, m_off_fn { MIN_FUNCTION {
m_owner->velocity_out.send(0);
m_owner->pitch_out.send(m_pitch);
m_owner->remove(m_id);
return {};
}}
, m_timer {m_owner, m_off_fn}
, m_id {++s_counter} {
: m_owner {owner}
, m_pitch {a_pitch}
, m_off_fn { MIN_FUNCTION {
m_owner->velocity_out.send(0);
m_owner->pitch_out.send(m_pitch);
m_owner->remove(m_id);
return {};
}}
, m_timer {m_owner, m_off_fn}
, m_id {++s_counter}
{
m_timer.delay(a_duration);
}

Expand Down

0 comments on commit 20cbe21

Please sign in to comment.