Skip to content

Commit

Permalink
Cycle max setting should repeat the base note
Browse files Browse the repository at this point in the history
  • Loading branch information
zonkmachine committed Jan 25, 2023
1 parent bf0af37 commit 90ef187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/InstrumentFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ void InstrumentFunctionArpeggio::updateNoteRange()
const int cur_chord_size = chord_table[m_arpModel.value()].size();
float noteRange = m_arpRangeModel.value() * cur_chord_size;

m_arpCycleModel.setRange( 0.0f, noteRange );
m_arpCycleModel.setRange( 0.0f, noteRange - 1 );

if( sticky )
{
Expand Down

0 comments on commit 90ef187

Please sign in to comment.