64
submitted 10 months ago* (last edited 10 months ago) by IntriguedIceberg@lemmy.world to c/asklemmy@lemmy.ml

I know that nowadays there are some physics engines pretty advanced, capable of very complex simulations.

Are we at a point in technology where if, for example, we were to simulate a rock being dropped on the floor from a certain distance, the simulation can calculate the shape and weight of the rock , the air resistance experienced during the fall, the density of the floor where the rock will fall onto, and all the other thousands of factors involved, and from those things "calculate" the sound that the rock will make when hitting the floor, and then reproduce it?

Is there such a thing? Are we there yet? If not, is it something feasible?

all 10 comments
sorted by: hot top controversial new old
[-] froh42@lemmy.world 44 points 10 months ago* (last edited 10 months ago)

Not specifically for a rock, but that's "roughly" how physical modeling synthesiers work for instruments.

Also there's a youtube channel of a guy who builds an engine simulator to reproduce the sounds of 4-stroke and 2-stroke engines by applying fluid dynamic simulation of the gas flows in an engine.

It COULD conceivably be built for rock dropping as well, but I assume that's not a thing people have yet put effort in.

Edit:

https://youtu.be/oUrYlZQVHvo?si=NPNYeKqr-MWkn7B8

[-] TeaEarlGrayHot@lemmy.ca 22 points 10 months ago

Yes and no. As my physics professor used to say, all models are wrong, our goal is to make the least wrong model. It's literally impossible to simulate every event. For example, what if there was an anthill under the area where the rock is dropped? Maybe that will affect the resulting sound? Maybe, but it's not going to make a difference to the observer.

We know enough physics to simulate a huge number of simultaneous events, but at some point a model becomes far too complicated (e.g. taking a week to run on a powerful computer), when a more simplified model will do the trick just fine. I personally compare it to FLAC and MP3--FLAC is of course best quality, but will eat up a ton of storage space, and MP3 (with compression) is good enough

[-] nhoad@lemmy.world 19 points 10 months ago

AngeTheGreat on YouTube is pretty famous for having written a car engine simulator purely for simulating the sound that they make - https://youtu.be/RKT-sKtR970 is a good launching point

[-] PipedLinkBot@feddit.rocks 5 points 10 months ago

Here is an alternative Piped link(s):

https://piped.video/RKT-sKtR970

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[-] iceonfire1@lemmy.world 9 points 10 months ago

Is it feasible? Sure. The limit on this kind of calculation is basically how much detail do we need to add to the environment (i.e., can we make the model) and how high resolution does the sound wave need to be (can we calculate it given finite compute resources).

To get something that roughly sounds like a rock? Not difficult to model or calculate, if we make some reasonable assumptions.

The sound of a wet towel thrown in the water during a hailstorm? Uhhh that's a tough one.

Simulating sound uses classical mechanics governed by the wave equation, which is well-understood. In terms of CPU power, the calculation to propagate a simple sound wave (wavelet) could probably have been done on a TI-89 calculator from high school.

[-] ggwithgg@feddit.nl 3 points 10 months ago* (last edited 10 months ago)

What you can do, and is probably the best way to get this to work, is tackle this with machine learning. You will need lots sound samples of rocks, with details of the rock, and feed them to some (probably deep learning) model.

Speech mimicking with AI has shown we are able to mimick voices, so I think a similar approach would work for rocks. Probably need some tuning and a bit different architecture for nice results since the application differs a bit.

It will of course be an approximation, but that is any calculation. Since all models are wrong, but some are less wrong than others.

[-] Ziggurat@sh.itjust.works 3 points 10 months ago

A big part of the physicist job is to know which factor aren't relevant in a simulation. You may have heard about approximation like sin(\theta) = \theta or let's assume a Gaussian distribution

it's relatively easy to compute the noise of a flat surface falling over a flat surface at a given speed. However, the more factor you add, the more complex is the problem. A good thing is that for a simple phenomenon like that, you'd get something close from real-work even with some approximations. It's more complicated for example for more "chaotic process" for example once a dice bounced-roll a few time, small difference in the exact position at the first bounce will lead to a different result, making very hard to do a proper simulation

[-] ook_the_librarian@lemmy.world 2 points 10 months ago

I doubt this answers your question, but there is famous mathematical question "Can you hear the shape of a drum?" The wikipedia article is neat read.

this post was submitted on 17 Jan 2024
64 points (100.0% liked)

Asklemmy

43898 readers
925 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS