Read vibrato waveform type

This commit is contained in:
Johan Hillerström 2015-11-21 02:21:16 +01:00
commit fb103e61bc
3 changed files with 5 additions and 0 deletions

View file

@ -135,6 +135,9 @@ function eff_t0_e(ch, data) { // extended effects!
case 2: // fine porta down
ch.period += data;
break;
case 4: // set vibrato waveform
ch.vibratotype = data & 0x07;
break;
case 5: // finetune
ch.fine = (data<<4) + data - 128;
break;