News for hackers. Stuff that matters.
Re:Engine Simulator: produce realistic sounds from various e... by jb_s on Sunday August 14, 2022 @09:43PM (#32464985)
This is great, I'm watching the video on YouTube now...

Are exhausts/mufflers modelled?

For ages I've wanted to simulate different designs for exhaust headers and systems, to be able to possibly create different/interesting sounds from certain engines - i.e. can you add some additional headers with a different length and make an I4 sound like an I6?

Re:Engine Simulator: produce realistic sounds from various e... by tonmoy on Sunday August 14, 2022 @10:08PM (#32465106)
If I recall correctly he modeled the acoustics of the exhaust using equalizers and filters, so not really simulated
Re:Engine Simulator: produce realistic sounds from various e... by xbar on Sunday August 14, 2022 @11:04PM (#32465412)
A second simulator for exhaust systems would be appealing. Perhaps he will figure it out himself, or re-open source the existing simulation once he figures out how to get the credit/compensation he deserves.
Re:Engine Simulator: produce realistic sounds from various e... by mhh__ on Sunday August 14, 2022 @11:14PM (#32465457)
I think the issue would be that whereas this I think can get away with just a really fast rigid body simulation, the exhausts and so on would need to simulate acoustics where you have feature sizes in the same ballpark as the wavelength of the sound i.e. your ear will almost definitely be a harsh critic.
Re:Engine Simulator: produce realistic sounds from various e... by atoav on Monday August 15, 2022 @12:54AM (#32466031)
I mean there are models in acoustic physical modelling for e.g. throat simulation that break the throat up into a series of cylinders and frustrums that work quite ok. Not sure about real time performance tho.
Re:Engine Simulator: produce realistic sounds from various e... by userbinator on Monday August 15, 2022 @09:34AM (#32469462)
Works well enough for decent speech synthesis, in realtime.
Re:Engine Simulator: produce realistic sounds from various e... by chillel on Sunday August 14, 2022 @10:41PM (#32465297)
I think you mean acoustics, not autistics =)
Re:Engine Simulator: produce realistic sounds from various e... by Inviz on Monday August 15, 2022 @12:58AM (#32466058)
Funnily enough on YouTube in certain areas "acoustic" became a synonym for "autistic"
Re:Engine Simulator: produce realistic sounds from various e... by Cloudef on Sunday August 14, 2022 @10:19PM (#32465168)
Could use convolution with recorded impulse response (IR) files to achieve realistic results for different exhausts.
Re:Engine Simulator: produce realistic sounds from various e... by tonmoy on Sunday August 14, 2022 @11:42PM (#32465644)
Not sure how one would be able to obtain impulse response of the exhaust system
Re:Engine Simulator: produce realistic sounds from various e... by Cloudef on Monday August 15, 2022 @12:16AM (#32465839)
Guitarists (or mixers) record IRs by playing a sine wave through their cab and recording that. The difference from the dry vs recorded sample is then your IR. While exhaust systems have no digital input, if you have good enough audio gear that can output the signal dry as possible through the exhaust setup, it should achieve the same result I guess. Not that trivial for everyone to do, but if you do this enough times for different kind of exhausts, you'll also have great dataset to start researching and developing a software that can model exhausts accurately.
Re:Engine Simulator: produce realistic sounds from various e... by userbinator on Sunday August 14, 2022 @11:56PM (#32465725)
You can model it as a series of tubes of different diameters.

Look up "digital waveguide" for some more details. This technique is mostly used in speech synthesis, where it can make pretty realistic human-speech-like sounds by modelling the vocal tract, but there's no reason it can't be applied to a car exhaust system.

Re:Engine Simulator: produce realistic sounds from various e... by ynniv on Monday August 15, 2022 @12:45AM (#32465986)
The better car simulators already do this: “Physically informed car engine sound synthesis for virtual and augmented environments” https://air.iuav.it/bitstream/11578/264484/1/SIVE15_submissi...