From ebd33b96dbad4302eac91a3052fa8191a1e824ce Mon Sep 17 00:00:00 2001 From: ashley Date: Fri, 18 Aug 2023 00:56:33 -0400 Subject: [PATCH] Begin EEF envelope with full volume, no shift --- src/reskit/soundtrack/dmf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reskit/soundtrack/dmf.rs b/src/reskit/soundtrack/dmf.rs index 2796e63..821a447 100644 --- a/src/reskit/soundtrack/dmf.rs +++ b/src/reskit/soundtrack/dmf.rs @@ -703,7 +703,7 @@ impl DmfModule { } // Now generate the Echo EEF envelope from volume_envelope/volume_repeat + arpeggio_envelope/arpeggio_repeat - let mut envelope: Vec = Vec::new(); + let mut envelope: Vec = vec![ 0x00 ]; for i in 0..volume_envelope.len() { envelope.push( get_eef_volume( volume_envelope[ i ] )? | get_eef_shift( arpeggio_envelope[ i ] )? ); }