Begin EEF envelope with full volume, no shift

master
Ashley N. 2023-08-18 00:56:33 -04:00
parent 873a08dc00
commit ebd33b96db
1 changed files with 1 additions and 1 deletions

View File

@ -703,7 +703,7 @@ impl DmfModule {
} }
// Now generate the Echo EEF envelope from volume_envelope/volume_repeat + arpeggio_envelope/arpeggio_repeat // Now generate the Echo EEF envelope from volume_envelope/volume_repeat + arpeggio_envelope/arpeggio_repeat
let mut envelope: Vec<u8> = Vec::new(); let mut envelope: Vec<u8> = vec![ 0x00 ];
for i in 0..volume_envelope.len() { for i in 0..volume_envelope.len() {
envelope.push( get_eef_volume( volume_envelope[ i ] )? | get_eef_shift( arpeggio_envelope[ i ] )? ); envelope.push( get_eef_volume( volume_envelope[ i ] )? | get_eef_shift( arpeggio_envelope[ i ] )? );
} }