To enable editing for dances generated by EDGE, we use the standard masked denoising technique from diffusion image inpainting [1]}, and more recently text-to-motion models [2]}, [3]}. EDGE supports any combination of temporal and joint-wise constraints, shown in fig:3. Given a joint-wise and/or temporal constraint \(\mathbf {x}^{\text{known}}\)  with positions indicated by a binary mask \(\mathbf {m}\) , we perform the following at every denoising timestep:
\( \mathbf {\hat{z}}_{t-1} \mathbf {m} \odot q(\mathbf {x}^{\text{known}}, t-1) + (1 - \mathbf {m}) \odot \mathbf {\hat{z}}_{t-1},\) 
