Question

In considering the design of marble-in-maze games where you tilt the table to get the ball to the end of the maze without going down one of the holes, I wonder whether anyone here has considered the modelling of the sound of the ball hitting the walls...

The ball doesn't always make the same sound.

This other question covers the rolling sound:

Sound of a rolling ball

But I am more interested in the bouncing sound - I am often struck by how unrealistic it is in most people's version of the game.

What are the factors to consider to work out how to produce a realistic sound?

How must the sample or raw data then be processed or generated?

Was it helpful?

Solution

There are some good links in the Sound Modeling section of this page from a course at Carnegie Mellon: http://www-2.cs.cmu.edu/~djames/pbmis/index.html. The instructor, Doug James, is now at Cornell as does similar research there (http://www.cs.cornell.edu/projects/Sound/).

I've never tried to implement any of these methods, but I suspect that they're overkill and/or too slow for a small game. However, you might be able to generate several samples offline and choose an appropriate one at runtime.

Hope that helps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top