开发者

Synthesizing a realistic bounce sound for maze tilt marble game

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 g开发者_如何学Pythonoing 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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜