diff options
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Applications/Piano/Track.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Applications/Piano/Track.cpp b/Userland/Applications/Piano/Track.cpp index b560889339..d4abcb4ed2 100644 --- a/Userland/Applications/Piano/Track.cpp +++ b/Userland/Applications/Piano/Track.cpp @@ -134,6 +134,9 @@ void Track::reset() memset(m_note_on, 0, sizeof(m_note_on)); memset(m_power, 0, sizeof(m_power)); memset(m_envelope, 0, sizeof(m_envelope)); + + for (size_t note = 0; note < note_count; ++note) + m_roll_iters[note] = m_roll_notes[note].begin(); } String Track::set_recorded_sample(const StringView& path) |