First byte of eef being 0x00 is incorrect, actually

master
Ashley N. 2023-08-28 21:55:02 -04:00
parent 21b3de950e
commit a44a986009
1 changed files with 1 additions and 1 deletions

View File

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