Add sound_idx to anim_frame