Synthesizing sounds from rigid-body simulations