shithub: dumb

Download patch

ref: 62536e7f959a634d0dcde0b765f91e5d8f1dbe71
parent: 478feff9f20614e5205a7486feb5ed32ceca019b
author: Christopher Snowhill <kode54@gmail.com>
date: Sat Jan 28 07:10:16 EST 2017

This should fix STM arpeggio effect.

--- a/src/it/itrender.c
+++ b/src/it/itrender.c
@@ -4259,6 +4259,8 @@
 						tick = 0;
 					else
 						++tick;
+					if (sigrenderer->sigdata->flags & IT_WAS_AN_STM)
+						tick /= 16;
 					playing->delta *= (float)pow(DUMB_SEMITONE_BASE, channel->arpeggio_offsets[channel->arpeggio_table[tick&31]]);
 				}
 			/*