How to calculate collision sounds?

  • Context: Undergrad 
  • Thread starter Thread starter JohnIsaac
  • Start date Start date
  • Tags Tags
    Collision
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 4K views
JohnIsaac
Messages
2
Reaction score
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:
Physics news on Phys.org
Still working on this, does anyone have a clue for me? I've tried about 20 methods, all have different results.
 
JohnIsaac said:
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:
Couldn't you just make the loudness proportional to the amount of energy lost from one ball to the next?