1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice

Engine Simulator by Ange Yaghi

Discussion in 'General Discussion' started by robert357, Aug 7, 2022.

  1. robert357

    robert357
    Expand Collapse

    Joined:
    Mar 15, 2016
    Messages:
    571
    I just found this and this is insane. Someone created accurate engine simulator that makes amazing and realistic sounds!

     
    • Like Like x 17
  2. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,053
    Sad that this is not usable in BeamNG at all because it runs a rigidbody simulation that needs way too many FPS to work
     
    • Agree Agree x 2
  3. SuperDuperViralThing

    SuperDuperViralThing
    Expand Collapse

    Joined:
    Nov 10, 2017
    Messages:
    152
    surely with some work it could be optimized, im pretty sure the guy even said in the video that it could be optimized heavily
     
    • Agree Agree x 4
  4. _Tanco

    _Tanco
    Expand Collapse

    Joined:
    Jan 7, 2017
    Messages:
    247
    he said that his simulation runs at 800 fps (unless my english is even worse than I think) and beamng runs at 2000 fps so beamng is even faster
     
  5. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,053
    Pretty sure he said 8000 but I could be wrong. Either way it's rigidbody simulation which the game can't do.
     
    • Like Like x 1
  6. robert357

    robert357
    Expand Collapse

    Joined:
    Mar 15, 2016
    Messages:
    571
    He said simulation need run at 80000 FPS and if it will run slower then everything just breaks.
     
    • Like Like x 6
  7. tobias95ng

    tobias95ng
    Expand Collapse

    Joined:
    Sep 10, 2014
    Messages:
    385
    i realy wonder what the beam devs think about this
     
    • Agree Agree x 2
    • Like Like x 1
  8. tobias95ng

    tobias95ng
    Expand Collapse

    Joined:
    Sep 10, 2014
    Messages:
    385
    (aaand they stay silent)











    :p
     
  9. shinchanf1

    shinchanf1
    Expand Collapse

    Joined:
    Nov 12, 2019
    Messages:
    920
    the game's simulation runs at 2000 fps, sorry but that deems it impossible.
     
  10. vmlinuz

    vmlinuz
    Expand Collapse

    Joined:
    Mar 2, 2014
    Messages:
    2,409
    Couldn't it be used to generate and pre-record engine sounds?
     
    • Agree Agree x 14
    • Like Like x 2
  11. TMccanna

    TMccanna
    Expand Collapse

    Joined:
    Jan 16, 2022
    Messages:
    1,039
    most likely yes.
     
    • Agree Agree x 1
  12. NistingurA

    NistingurA
    Expand Collapse

    Joined:
    Nov 22, 2013
    Messages:
    2,092
    You could probably use this to make base sounds for cars that are quite accurate, and just use some post-editing of the sounds to get them sounding better for the game...

    None the less, a marvel of engineering
     
    • Agree Agree x 5
  13. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,053
    It could but you might as well record real sounds so it wouldn't change that much. Unless it was integrated in the game as a separate tool so that modders can record their sounds too, that would be cool.
     
    • Agree Agree x 2
  14. vmlinuz

    vmlinuz
    Expand Collapse

    Joined:
    Mar 2, 2014
    Messages:
    2,409
    The issue with recording real sounds is that it can be hard to find source material, so this could at least make it easier to record exotic engines like V16's and such.
     
    • Agree Agree x 6
  15. robert357

    robert357
    Expand Collapse

    Joined:
    Mar 15, 2016
    Messages:
    571
    I think you missed one more thing. This software can simulate any engine. That means, it's possible to recreate fictional BeamNG engine and create unique sounds for each engine that is in game, instead searching for real counterparts.
     
    • Agree Agree x 11
  16. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,053
    To recreate an engine you would need a lot of data about it that on vanilla engines you don't have. Like how can you tell the exact bore and stroke, type of pistons etc. Except some engines are almost exact counterparts of irl ones, like the Piccolina having Beetle engines, then it would be easy to research the irl data.
     
    • Agree Agree x 2
  17. NOCARGO

    NOCARGO
    Expand Collapse

    Joined:
    Apr 1, 2019
    Messages:
    1,514
    No ! You can't use it to record its sounds ! Obviously, then they become samples again as the sampled sounds are the fragile part of the current audio engine, hence why it is so difficult to create proper custom engine sounds :)

    This project is all about 'generating' engine sounds, in other words, the 'real deal' ! Sadly it requires too much of frame rate currently, it might be possible to rewrite the original code in a simplified manner but preserving the sound output.
     
    • Agree Agree x 2
  18. atv_123

    atv_123
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,710
    As someone that has written their own engine simulation, its actually quite easy to backwards calculate from the current torque curves to find out (within + or - 5%) what the bore and stroke of the in game engines are. That actually isn't too hard to come up with. So you can rest easy there.

    His does require an extremely high frame rate, but I would bet it could be knocked down significantly. My engine simulation calculates a full internal combustion simulation every 0.1° of crank angle which is pretty close to what I think he is also running. This is very inefficient, but quite accurate. I used to calculate it at 0.5° crank angle and it actually made very very little difference... my guess is you could actually knock it down to as low as 5° iterations without losing much accuracy. That would obviously help the simulation a ton.

    Having messed around with his simulation as well... it looks like it can easily run (at least a 2 cylinder) as low at 1000Hz and still give proper torque and hp readings... the actual sound though seems to need at least 2000Hz to sound correct... More testing will be needed naturally.
     
    • Like Like x 2
  19. TMccanna

    TMccanna
    Expand Collapse

    Joined:
    Jan 16, 2022
    Messages:
    1,039
    it should be perfectly possible to just tune the simulation to get the sort of engine sound you want and then just record the engine staying at certain rpms. considering the ingame enginesounds are already just like 3 sounds for each engine that cut in at certain rpms/throttles and whatnot it should atleast somewhat work
     
  20. Milendur

    Milendur
    Expand Collapse

    Joined:
    Apr 26, 2021
    Messages:
    471
    Yes but there is more than just recording at steady rpm, engines sound different with different % of load at all rpms
     
    • Agree Agree x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice