How to calculate collision sounds?

  • Thread starter JohnIsaac
  • Start date
  • #1
2
0
Hi,

This is my first post here. My company recently developed a game simulating Newton's Cradle for the iPhone. I've got the visual physics portions working well. Everything reacts as it should. My problem is the calculation of the collision sound levels.

Originally I was basing it off of impact force, the result was the balls in the middle that were not moving were each producing a loud sound. As opposed to the single sound heard when using a real newton's cradle and releasing only one ball.

I then switched to using only force of the individual balls and subtracting the vectors from each other. This had similar results.

I finally just used simple displacement values of collision pairs to determine the collision loudness.

My question is... What is the correct way to calculate a collisions sound? In real life... do the balls not moving actually make a sound and it's just perceived as one sound?

I have a video of it here. https://www.youtube.com/watch?v=http://www.youtube.com/watch?v=VH50emxBJ3w
http://www.youtube.com/watch?v=VH50emxBJ3w"
Sorry for the music, hopefully the collisions can be heard well enough. I hope this is not perceived as an advertisement. I'm seriously trying to figure this out as I want my product to be the best possible.

Thanks for your time.
 
Last edited by a moderator:

Answers and Replies

  • #2
2
0
Still working on this, does anyone have a clue for me? I've tried about 20 methods, all have different results.
 
  • #3
berkeman
Mentor
58,762
8,883
Hi,

This is my first post here. My company recently developed a game simulating Newton's Cradle for the iPhone. I've got the visual physics portions working well. Everything reacts as it should. My problem is the calculation of the collision sound levels.

Originally I was basing it off of impact force, the result was the balls in the middle that were not moving were each producing a loud sound. As opposed to the single sound heard when using a real newton's cradle and releasing only one ball.

I then switched to using only force of the individual balls and subtracting the vectors from each other. This had similar results.

I finally just used simple displacement values of collision pairs to determine the collision loudness.

My question is... What is the correct way to calculate a collisions sound? In real life... do the balls not moving actually make a sound and it's just perceived as one sound?

I have a video of it here. https://www.youtube.com/watch?v=http://www.youtube.com/watch?v=VH50emxBJ3w
http://www.youtube.com/watch?v=VH50emxBJ3w"
Sorry for the music, hopefully the collisions can be heard well enough. I hope this is not perceived as an advertisement. I'm seriously trying to figure this out as I want my product to be the best possible.

Thanks for your time.
Can't you just record the sound and play it back?
 
Last edited by a moderator:
  • #4
DavidSnider
Gold Member
500
141
Couldn't you just make the loudness proportional to the amount of energy lost from one ball to the next?
 

Related Threads on How to calculate collision sounds?

Replies
1
Views
670
Replies
7
Views
6K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
16
Views
6K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
20
Views
4K
  • Last Post
2
Replies
25
Views
33K
Replies
14
Views
5K
  • Last Post
Replies
6
Views
827
  • Last Post
Replies
3
Views
985
Top