pub fn build_sfx_layer( plans: &[StemPlan], timeline: &IndexMap<i64, i64>, total_ms: i64, ) -> Result<(Segment, Vec<Label>)>