diff --git a/src/core/InstrumentFunctions.cpp b/src/core/InstrumentFunctions.cpp index 918c41900ea..53ea1eaed87 100644 --- a/src/core/InstrumentFunctions.cpp +++ b/src/core/InstrumentFunctions.cpp @@ -412,11 +412,6 @@ void InstrumentFunctionArpeggio::processNote( NotePlayHandle * _n ) int dir = m_arpDirectionModel.value(); - /* TODO: Muting the notes, as it's done nown (see further down) - the code is a bit wasteful. Skipped notes should be - handled early in the while loop by actually skipping over - notes and not by muting them.*/ -/* // Skip notes randomly if( m_arpSkipModel.value() ) { @@ -428,7 +423,7 @@ void InstrumentFunctionArpeggio::processNote( NotePlayHandle * _n ) continue; } } -*/ + // Miss notes randomly. We intercept int dir and abuse it // after need. :) @@ -517,14 +512,15 @@ void InstrumentFunctionArpeggio::processNote( NotePlayHandle * _n ) vol_level = _n->volumeLevel( cur_frame + gated_frames ); } + // Alternative fix for skip note issues. // Skip notes randomly by muting. - if( m_arpSkipModel.value() ) +/* if( m_arpSkipModel.value() ) { if( 101 * ( (float) rand() / (float) RAND_MAX ) < m_arpSkipModel.value() ) { vol_level = 0.0f; } - } + }*/ // create new arp-note