Simulating an Entire Car Engine (yes, it makes noise)

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024

ความคิดเห็น • 8K

  • @AngeTheGreat
    @AngeTheGreat  2 ปีที่แล้ว +6485

    I find it amusing that everyone on Reddit commenting on this has like 300 IQ and knows everything about engines AND simulations, but can't figure out that a simulation that runs in real-time and is intended for video game usage is not meant to replace professional engineering software. That's right guy from Reddit watching this, I'm talking to you. I did this for FUN to be used in GAMES and it's an *A P P R O X I M A T I O N* to generate cool audio. If it's so trivial and pointless, write a better one yourself and post a video about it. I'm looking forward to it.
    Everyone else, thanks for watching! (sorry for the rant)

    • @scna4653
      @scna4653 2 ปีที่แล้ว +722

      Me and my homies all hate that guy

    • @sumulacraandsimuladam
      @sumulacraandsimuladam 2 ปีที่แล้ว +2

      hey I just beat him up for u got u bro

    • @sheldon10111
      @sheldon10111 2 ปีที่แล้ว +12

      Yeah that reddit guy is an idiot. This project is epic! And i hope we get to see it being used in a video game!

    • @deadlock2579
      @deadlock2579 2 ปีที่แล้ว +75

      what are your pc's specs and also is there a way to download this program

    • @rekire___
      @rekire___ 2 ปีที่แล้ว +9

      The most stupid people talk the loudest

  • @Pope_
    @Pope_ 2 ปีที่แล้ว +18000

    this guy is the most chad programer i have ever seen, him so cassualy saying "I optimized this extremely accurate physics simulation to run at 85 thousand frames per second" and "I coded it in my own programming language for efficency" is absolutely insane

    • @StealerSlain
      @StealerSlain 2 ปีที่แล้ว +541

      If Ange and jdh ever team up they could probably write a universe simulator

    • @bigtank2185
      @bigtank2185 2 ปีที่แล้ว +402

      And built an engine in real life...

    • @sthego3970
      @sthego3970 2 ปีที่แล้ว +180

      Scripting language* still super impresive

    • @Exitof99
      @Exitof99 2 ปีที่แล้ว +33

      I thought "chad" is an insult?

    • @pancake5830
      @pancake5830 2 ปีที่แล้ว +330

      @@Exitof99 ??? chad is a compliment

  • @alouisschafer7212
    @alouisschafer7212 2 ปีที่แล้ว +2301

    gigachad casually just makes the best engine sound generator all on his own

    • @CaptainRasco
      @CaptainRasco 2 ปีที่แล้ว +92

      >in his own language

    • @Iam-ix4he
      @Iam-ix4he ปีที่แล้ว

      ⁠who's Jeljuice?

  • @SaHaRaSquad
    @SaHaRaSquad 2 ปีที่แล้ว +2147

    "Quite possibly the dumbest project I've ever undertaken" - Quite possibly the biggest understatement I've ever seen

    • @rudyNok
      @rudyNok 2 ปีที่แล้ว +28

      I'm afraid to watch his other projects then :)

    • @tylerwilliams33
      @tylerwilliams33 2 ปีที่แล้ว +20

      It really is something to behold I've seen alot of engine simulations but not like this... This is something else...

    • @FadeToEvil
      @FadeToEvil 2 ปีที่แล้ว +3

      The best project he made. Doing video games and game engines - that is the dumbiest thing (I made some of this too). Now I am doing CAD editors and very happy with this )

    • @whatcanilearnhere9158
      @whatcanilearnhere9158 2 ปีที่แล้ว +6

      i get the feeling that this project will pay off quite well for this individual in the long run

    • @SarahC2
      @SarahC2 5 หลายเดือนก่อน +1

      BEAM NG............ SIMULATING THE NOISE OF DAMAGE IN A PISTON!!!! Next level sim

  • @Kj16V
    @Kj16V ปีที่แล้ว +904

    As a fourth dimensional being, I was surprised when a bunch of pistons and conrods suddenly appeared out of nowhere.

    • @bricaaron3978
      @bricaaron3978 ปีที่แล้ว +11

      No harm, no foul.

    • @jacobcasey28
      @jacobcasey28 ปีที่แล้ว +8

      Funniest thing I’ve ever heard

    • @among-us-99999
      @among-us-99999 ปีที่แล้ว +15

      in 3 dimensions they disappear into nowhere. in 4 dimensions, you’d see them coming.

    • @Jamesdavey358
      @Jamesdavey358 11 หลายเดือนก่อน +2

      I get the joke but you got it the wrong way round, a 3 dimensional being would see 4th dimensional pistons and conrods appearing and disappearing

    • @rujon288
      @rujon288 6 หลายเดือนก่อน

      @@among-us-99999 it would be wierd if you were chilling watching something on your 3d flatscreen in your 4d living room then it suddenly hurtles towards you out of the screen

  • @jwright7317
    @jwright7317 2 ปีที่แล้ว +5711

    This fucking rocks, holy shit dude. I'm down for a technical breakdown video!

    • @AngeTheGreat
      @AngeTheGreat  2 ปีที่แล้ว +480

      Thanks! I'll see what I can do

    • @reversed-coffee
      @reversed-coffee 2 ปีที่แล้ว +9

      Yea that’d be great!

    • @iXmerof
      @iXmerof 2 ปีที่แล้ว +35

      Count me in! Waiting for the bell! Btw. you stated that all of this begun as you hated the sound of game engines (yeah, me too). You asked a question: why the sound is not simulated? Can you please share some conclusions? Is it a cpu/mem usage? Do you see any ideas for optimization (remove this, remove that....) to gain performance without reducing the quality too much? You made me super curious.

    • @gngn2973
      @gngn2973 2 ปีที่แล้ว

      +1

    • @HideNknow
      @HideNknow 2 ปีที่แล้ว

      please !

  • @quads4407
    @quads4407 2 ปีที่แล้ว +2176

    Here are some ideas for your project:
    - rotary engine
    - simulate things that interact with the engine's behavior and sound like turbos, exhaust, etc

    • @relmdrifter
      @relmdrifter 2 ปีที่แล้ว +102

      Diesel, Turbo Diesel, waste gates, VVT, The old VW Beetle. "W" engine? VR6?
      "Tunable" exhaust, From muffler, to pipe diam, and length, up to the scavenging effect of a headers/manifolds build, That would be another incredible tool for builders, and muffler shops. To be able to hear the (approx.) sound a header or muffler will make.

    • @whatthe9078
      @whatthe9078 2 ปีที่แล้ว +41

      What abt two strokes

    • @andrewrichardson3135
      @andrewrichardson3135 2 ปีที่แล้ว +26

      Exhaust would be extremely difficult to simulate…

    • @quads4407
      @quads4407 2 ปีที่แล้ว +29

      Turbo sounds will make the simulator even more popular (the iconic "tsu tsu tsu")

    • @claudehebert3131
      @claudehebert3131 2 ปีที่แล้ว +6

      Just different valvetrains (valve-in-block, rotary valves) would be nice.

  • @yoshithebest5924
    @yoshithebest5924 2 ปีที่แล้ว +3480

    I’d love if a company hits you up and is like “can we use this”

    • @Flashbang_Photo
      @Flashbang_Photo 2 ปีที่แล้ว +84

      @@mhe123321 sad. i wanted to try it

    • @theohallenius8882
      @theohallenius8882 2 ปีที่แล้ว +79

      Let's hope that it won't be EA xD

    • @AngeTheGreat
      @AngeTheGreat  2 ปีที่แล้ว +1555

      Lol I set it to private because I was worried about companies stealing it, not because it's been sold. I may still set it to open source later though, I just don't want someone to use my work without crediting me

    • @jlewwis1995
      @jlewwis1995 2 ปีที่แล้ว +43

      @@mhe123321 did you happen to get a copy before it was yeeted 🙃

    • @Joerje
      @Joerje 2 ปีที่แล้ว +147

      @@AngeTheGreat license it?

  • @raftazor
    @raftazor 2 ปีที่แล้ว +2389

    I can't believe you turned bocchi into an engine

    • @Mac-nw3uc
      @Mac-nw3uc 2 ปีที่แล้ว +238

      boccher engine

    • @mandranela
      @mandranela ปีที่แล้ว +282

      Bocchi the engine

    • @NRDwho
      @NRDwho ปีที่แล้ว +143

      This is the comment I'm looking for

    • @lordsylph414
      @lordsylph414 ปีที่แล้ว +14

      PFT! now I can't un hear it

    • @JustDux
      @JustDux ปีที่แล้ว +11

      What is "bocchi"?

  • @theownerofthis5483
    @theownerofthis5483 2 ปีที่แล้ว +625

    I was impressed by the sound of the v8 engine, but when you showed the kohler V engine and it sounded just like it does at my work, I was blown away. This is seriously impressive.

    • @AngeTheGreat
      @AngeTheGreat  2 ปีที่แล้ว +99

      Yeah I was pretty proud of that one, sounds pretty much exactly like the real engine. Thanks for watching!

    • @thad1984
      @thad1984 2 ปีที่แล้ว +9

      Turbo I5 engine

    • @godrole2481
      @godrole2481 2 ปีที่แล้ว +2

      @@AngeTheGreat please explain how to switch engines because I tried now it won’t even open

    • @siphephelogcabashe5274
      @siphephelogcabashe5274 2 ปีที่แล้ว +3

      @@thad1984 Incoming Volvo/Ford/Audi fans!

  • @jorgepadua5802
    @jorgepadua5802 2 ปีที่แล้ว +306

    "Basically, your engine just grenades into the 4th dimension."
    That's crazy realistic, that happened to my girlfriend's 2013 civic.

    • @luiyixxx1008
      @luiyixxx1008 2 ปีที่แล้ว +7

      “Just grenades into the 4th dimension”… “That’s crazy…. That happened to my girlfriend‘s” - 2022 @Jorge Padua

    • @th0tp0lice666
      @th0tp0lice666 2 ปีที่แล้ว

      Happened to my neighbors Impreza with a little too much boost

  • @WisePlagueis
    @WisePlagueis 2 ปีที่แล้ว +721

    This is HUGE. I always dreamed about a sim with **good** sound that'll let me build stupidly weird engines so I can check how'd they sound and now it's here. And it's free.
    You're a boss, Ange. Thank you.

    • @karatas1782
      @karatas1782 2 ปีที่แล้ว +10

      If you didn't, check out game called Automation. Except good sound.

    • @doursen
      @doursen 2 ปีที่แล้ว +7

      @@karatas1782 Nothing like this.

    • @-Wraith
      @-Wraith 2 ปีที่แล้ว +1

      Beamng drive has pretty good sounds

    • @pontiac_hat
      @pontiac_hat 2 ปีที่แล้ว +1

      @@doursen Its actually pretty close as a virtual dyno. Usually within 10% margin of error of the real life engine.

    • @Nitedontdie
      @Nitedontdie 2 ปีที่แล้ว +1

      @@pontiac_hat It's not that good because you're missing a ton of options. Fuel is limited to whatever their ratings are and there's no options for things like high-flow billet heads, billet blocks, huge turbos (I think their max was like 76mm front housing and 94mm rear housing), no screw blower options, etc etc. It just felt like it was made by someone who knows the basics about vehicles and not made by someone who is a car enthusiast.
      tl;dr, Automation is made by a gamer for gamers, not a car enthusiast/engineer turned game developer.
      Edit: I could go on and on and on about all the mechanical issues I had with the game but cba, take too long to write it all out.

  • @garethwillis
    @garethwillis 2 ปีที่แล้ว +198

    I'm speechless. Your so clever. The way you just casually created this for fun whilst being so accurate. All of the people complaining about the sound, make your own and share it. The fact it doesn't sound identical to its respective engine means nothing. For a start it gets surprisingly close but even if it didn't, it wouldn't make any difference, this is still really impressive. Not sure why people find it so difficult to pay someone a compliment.

  • @Agent_Ax
    @Agent_Ax 2 ปีที่แล้ว +773

    Would love to see a detailed video on the internals.

    • @AngeTheGreat
      @AngeTheGreat  2 ปีที่แล้ว +115

      I'll see what I can do! Thanks for watching

    • @omdevs
      @omdevs 2 ปีที่แล้ว +4

      Yes

    • @sakelaine2953
      @sakelaine2953 2 ปีที่แล้ว +4

      Yes

    • @stupidrainbo
      @stupidrainbo 2 ปีที่แล้ว +4

      OMG yes please PLEASE PLEASE PLEASE

    • @fakestiv
      @fakestiv 2 ปีที่แล้ว +3

      Yeah... I would really like to know more about the fluid simulation specifically: which approach has been taken, how does it interact with the rigid bodies, how is the explosion handled, ...

  • @BayLeafff
    @BayLeafff 2 ปีที่แล้ว +636

    Man this scratches an itch!! I always wondered why (as a kid) devs didn't just code the laws of physics into their game engines, lmao. Durr.

    • @RoZuLaReN3
      @RoZuLaReN3 2 ปีที่แล้ว +3

      😂😂

    • @athank3509
      @athank3509 2 ปีที่แล้ว +3

      Same

    • @carsnob
      @carsnob 2 ปีที่แล้ว +16

      Same wtf and they recorded real engine car sounds for FH5 but they should have hit up this guy. Eventually we will simulate all sounds for effects as indistinguishable as real sounds!

    • @BayLeafff
      @BayLeafff 2 ปีที่แล้ว +2

      @@carsnob yeah, right? It's such an eye opener! Also, glad I wasn't alone in my naivety 😂

    • @carsnob
      @carsnob 2 ปีที่แล้ว +5

      @@BayLeafff no bro I was thinking the same like it was weird for me to think that it’s odd that car games have had super shitty generated sounds I wondered as a kid even! But obviously I was too young and had no real knowledge of physics or even knew that we are able to simulate physical sounds just as realistic as real world vibrations. I just wondered like why couldn’t devs just record actual car sounds as a kid or knew there has to be a way to make them just as real with computers. I bet there’s like highly advanced/complicated industrial speakers today that vibrate like real life sounds like maybe 4D sound lol idk too tired been up zonin!

  • @JozefCG
    @JozefCG 2 ปีที่แล้ว +229

    this balance perfectly on being completely overengineered to an absurd levels but also being quite geniusly straightforward and almost simple

  • @jacobhaussmann90
    @jacobhaussmann90 ปีที่แล้ว +288

    I've always wanted car games to have real sounds like this since I was a kid

    • @charlesfranks1902
      @charlesfranks1902 ปีที่แล้ว +19

      Never mind the sounds, some games wouldn't even bother to get the physics right.

    • @Bleaxur
      @Bleaxur ปีที่แล้ว +16

      @@charlesfranks1902beamng is working on adding real time engine sounds

    • @Bleaxur
      @Bleaxur ปีที่แล้ว +4

      beamng is trying to make real time engine sounds

    • @bricaaron3978
      @bricaaron3978 ปีที่แล้ว +3

      @@Bleaxur I think you mean fully procedural engine sounds?

    • @j.dot555
      @j.dot555 ปีที่แล้ว +3

      @@charlesfranks1902physics depends on the type of car game your playing. Arcade like games like forza and nfs wont have realistic physics, while simulation or simracing games like beamng and gran turismo (I think. Never played it.) will.

  • @OminimonHD
    @OminimonHD 2 ปีที่แล้ว +323

    its really remarkable that someone would do something this complex out of just passion or curiosity. in these moments you can really appreciate what humans can do.

    • @bananinhaamassada6919
      @bananinhaamassada6919 ปีที่แล้ว +2

      sadly my pc dont runs it and its really bugged physics for low end pcs

  • @jajajajajaja867
    @jajajajajaja867 2 ปีที่แล้ว +484

    This is extremely impressive. Best synthesised engine noise I’ve every heard. I would not be surprised if gaming companies buy this code off you to add to their games

    • @RealFlicke
      @RealFlicke 2 ปีที่แล้ว +43

      Probably not with an 80.000 FPS fluid simulation but you never know :D

    • @littlemrh
      @littlemrh 2 ปีที่แล้ว +40

      I would expect instead they would use this to record the different states of the vehicle instead.

    • @ratchet1freak
      @ratchet1freak 2 ปีที่แล้ว +6

      @@littlemrh it sounds like recording the exhaust flow wave form in various speed+throttle+horspower configurations and making a closed form parameterized function approximation out of them and then using the audio pipeline (based on the exhaust system) to create the sound itself

    • @Lux_Parallax
      @Lux_Parallax 2 ปีที่แล้ว

      @@ratchet1freak Being able to enter the parameters of any given engine framework would essentially yield an identical wavelength, youd only need to add reverb to give its depth and shine depending on exhaust systems

    • @ratchet1freak
      @ratchet1freak 2 ปีที่แล้ว +1

      @@Lux_Parallax but that's only a set of audio filters, which is cheap,
      it's the exhaust flow&pressure waveforms that you need to get your initial sounds that you pass through the filter. And that is expensive to compute (requiring the rigid body+fluid sim at 8k fps). If you can precomputethose wave forms suddenly you only have an audio filter pipeline to worry about

  • @DeathToBreakfast10
    @DeathToBreakfast10 2 ปีที่แล้ว +711

    This sounds amazing. It would be interesting seeing a rotary engine being simulated with this.

    • @thatguyalex2835
      @thatguyalex2835 2 ปีที่แล้ว +17

      It would also be great if airplane jet engines, turbochargers and inline 4 engines are simulated. :) Also, would love tire squeal to be simulated as well.
      2022 has some cool innovations, many coming from small companies and programmers like this channel.

    • @johnalogue9832
      @johnalogue9832 2 ปีที่แล้ว +7

      Whenever engines are brought up anywhere, there is always an obligatory Wankel fan, I guess.

    • @normanchan1932
      @normanchan1932 2 ปีที่แล้ว +7

      @@johnalogue9832 and boxer fan, of course

    • @johnalogue9832
      @johnalogue9832 2 ปีที่แล้ว +3

      @@normanchan1932 At least a Boxer is *almost* a 180 degree V layout. A bit less of a leap.

    • @alexandrosmoysi7140
      @alexandrosmoysi7140 2 ปีที่แล้ว

      Yessss!! A rotary would be really cool!!

  • @Doornob69
    @Doornob69 ปีที่แล้ว +19

    Bocchi the 7.4L v8 carburated naturally aspirated big block.

  • @toona420
    @toona420 2 ปีที่แล้ว +275

    As a mechanical engineer student, I can safely say this is one of the most interesting projects I've seen on TH-cam. I hope it gets the attention it deserves. You're awesome dude.

    • @tony_5156
      @tony_5156 2 ปีที่แล้ว

      Engineering tech literally just for the credits rn in country
      (I hate my life I suck at math 👌🏽)

  • @Calliber50
    @Calliber50 2 ปีที่แล้ว +91

    As an engineer who made models of physiological systems in college you've just broken my brain. You've reverse engineered audio. I can feel this engine, my brain refuses to believe the actual engine isn't in your garage. If this were in a game, motor-heads could tinker with models of their favorite classic cars in a simulation and the audio feedback would make it extremely real.

    • @carsnob
      @carsnob 2 ปีที่แล้ว +3

      Been thinking abt that in forza h5 there’s not enough difference in sounds when modding but at least they recorded real life engine/exhaust sounds. But they may have well just hired this guy lol.

    • @morganbsmall
      @morganbsmall 2 ปีที่แล้ว +1

      @@carsnob and beamng drive

    • @genewitch
      @genewitch 5 หลายเดือนก่อน

      Physical modelling has been "a thing" for audio for nearly 3 decades, but i think having the ability to run the simulation at 80,000 steps per second is what was missing for accuracy on this scale before. Back in 2004 or so i heard PM synthesis of a tuba and a violin and while both were unfiltered and "crisp" they were eerily close to the real sounds. They also didn't use any samples or sampling.

  • @DeSinc
    @DeSinc 2 ปีที่แล้ว +731

    THIS IS ABSOLUTELY INCREDIBLE, I've been waiting for something like this for DECADES just like you. I almost can't believe this is real. With modern CPUs you could just run this whole thing on its own dedicated thread without any issue at all or taking perf away from anything else. I used to try physically make engines in garrysmod but the physics systems are just too jank obviously. This looks like so much fun even just to play with. Can't wait until developers start using this type of smart stuff in their game engines. Even I'm getting ideas of getting the output torque values and sounds from this and linking it up with an existing game engine somehow..

    • @Corridorcrawler
      @Corridorcrawler 2 ปีที่แล้ว +18

      Hey it's DeSinc

    • @phentm
      @phentm 2 ปีที่แล้ว +23

      didnt know desinc was a car guy

    • @Radiation_R
      @Radiation_R 2 ปีที่แล้ว +14

      Considering that the simulation itself runs at a whopping 80000fps, i imagine that you would have to have another really, really powerful hardware to be actually linked to a game

    • @dylon4906
      @dylon4906 2 ปีที่แล้ว +6

      desinc saying something genuinely smart

    • @inv41id
      @inv41id 2 ปีที่แล้ว +38

      @@Radiation_R yeah that second piece of really really powerful hardware is called another CPU core. There's a reason why we have multi-core CPUs.

  • @knightofcydonia07
    @knightofcydonia07 ปีที่แล้ว +29

    Imagine if the BeamNG devs were able to implement this somehow! I think I'd struggle to ever play anything else. Definitely going to watch this again on headphones, because for me, the car sound is the best part of driving. The aural feedback stirs the soul, and if something like this can be added to EVs to play back authentic ICE sounds through a speaker, it will be a heck of a lot better than having nothing but wind and road noise with a distant electrical hum.

    • @GiozaoGravacoes
      @GiozaoGravacoes ปีที่แล้ว

      That is what I was thinking

    • @JesusProtects
      @JesusProtects 11 หลายเดือนก่อน

      Evs are a scam and more pullutant than ice cars. Change my mind.

  • @steventechno
    @steventechno 2 ปีที่แล้ว +178

    Something like this in BeamNG/Automation would be next level. This would be an incredibly useful tool for Movies.

    • @ianbeepower8542
      @ianbeepower8542 2 ปีที่แล้ว +8

      I wish this sound engine could be used in Beam NG

    • @Huskie
      @Huskie 2 ปีที่แล้ว +5

      I'm pretty sure Automation already does a good bit of this.

    • @jlzeni
      @jlzeni 2 ปีที่แล้ว +23

      Oh, please, movies. I can't stand how they keep replaying the same fucking up revving bit of sound on every camera cut, like the car has 22 gears and don't ever redline.

    • @VPMore
      @VPMore 2 ปีที่แล้ว +2

      @@ianbeepower8542 beamng noises will change on stock cars tho. Don’t know when :(

    • @VPMore
      @VPMore 2 ปีที่แล้ว +8

      Some beamng engine sounds are terrible. Like their v6s need serious fixes ☹️

  • @evanhansen5064
    @evanhansen5064 2 ปีที่แล้ว +210

    it’s pretty mind boggling how fast all this stuff can go without ripping itself apart, especially given that it’s literally exploding

    • @sam8404
      @sam8404 2 ปีที่แล้ว +1

      Well, not literally.

    • @Askar1
      @Askar1 2 ปีที่แล้ว +20

      @@sam8404 well, yes literally

    • @sam8404
      @sam8404 2 ปีที่แล้ว +2

      @@Askar1 no engines don't literally explode, only the gasoline explodes.

    • @annoyingoranger100
      @annoyingoranger100 2 ปีที่แล้ว +24

      @@sam8404 he said “it,” not “the engine.”
      “it” refers to how the engine runs, not the engine itself.
      your pedantry is misplaced.

    • @sam8404
      @sam8404 2 ปีที่แล้ว +2

      @@annoyingoranger100 r/confidentlyincorrect
      Even if he was referring to how the engine runs it still doesn't literally explode. Only part inside the engine that literally explodes is the gasoline, but he said "how fast this stuff can go" meaning how fast the crankshaft spins or how fast the pistons move. Neither of those are exploding, they are however powered by a substance that explodes.

  • @marh122
    @marh122 ปีที่แล้ว +24

    when we learned about engines in school, I just could not believe that pistons are spinning that fast and all 4 cycles are included, I find it amazing they can hold for hundred thousands kilometers

  • @the_real_Kurt_Yarish
    @the_real_Kurt_Yarish 2 ปีที่แล้ว +450

    I'd suggest getting into contact with the developers of "Automation", a car-manufacturing & designing tycoon game for the PC. They've had to source IRL sound recordings of engines for the in-game engine sounds, and then modify those to fit the many, many different ways players can design their engines. A non-ideal, time consuming and labor intensive ordeal. With your simulation tech, they can accurately create audio from scratch to fit any variation of engine, all procedurally made in-game. They might be willing to work something out with you.
    Also, it would be cool to see you try simulating a rotary engine!

    • @julienus100
      @julienus100 2 ปีที่แล้ว +69

      Automation + BeamNG having this king of sound engine would be soooo good

    • @JonTTu111
      @JonTTu111 2 ปีที่แล้ว +4

      Many game devs record sounds of real cars into their games, but I don't know how they edit them into games. Probably just slowly rev the engine from idle to limiter and then just add that sounclip to the game and make it loop or smt

    • @ffivguy1990
      @ffivguy1990 2 ปีที่แล้ว +2

      Those sounds were actually made via physical modelling synthesis. No real car recordings were used in the samples

    • @borntobattery
      @borntobattery 2 ปีที่แล้ว +5

      yeah this dude definitely has a product. Curious to see if it handles turbulence from more cylinders well. Also interesting how deep the post processing is (thinking Lexus LFA on dyno v. in car with exhaust resonances)

    • @the_real_Kurt_Yarish
      @the_real_Kurt_Yarish 2 ปีที่แล้ว +7

      @@ffivguy1990 How certain are you of this? As I remember a while back, one of their excuses for why they weren't going to add certain engine designs (rotary, supercharged engines, diesel, etc.) was because they would need to source more recordings for those and they didn't want to.

  • @chaos406
    @chaos406 2 ปีที่แล้ว +137

    9:01 The downshifts sound absolutely incredible. The engine overrun sounds put a HUGE smile on my face. Smooooth transition into idle too.

  • @MarkTDKKnight
    @MarkTDKKnight 2 ปีที่แล้ว +33

    Having done audio development for vehicle based video games over the past 20+ years, this is the first time I've done a double take when it comes to a purely synthesised internal combustion engine. Massive kudos for what you've done here......

  • @superhel5108
    @superhel5108 หลายเดือนก่อน

    Your Engine Simulator is awesome! I can record those sounds and put it into my game with exactly that engine sound I always wanted to get into. You're a true hero. :)

  • @Nifty_556
    @Nifty_556 2 ปีที่แล้ว +823

    Imagine BeamNG with realistically simulated engines that are 3D

    • @naethorn5755
      @naethorn5755 2 ปีที่แล้ว +186

      *computer explodes*

    • @elllieeeeeeeeeeeeeeeeeeeeeeeee
      @elllieeeeeeeeeeeeeeeeeeeeeeeee 2 ปีที่แล้ว +129

      beamng can barely run its own physics simulations above 60fps on most computers, I shudder at the thought of an engine simulation

    • @Kevin15673
      @Kevin15673 2 ปีที่แล้ว +40

      @@elllieeeeeeeeeeeeeeeeeeeeeeeee wdym? any respectable gaming pc within the last 4 years should be able to easily run beamng over 100fps. Although this sim can barely handle a 10 cylinder engine since it's single threaded so I don't think it'd work out.

    • @TorutheRedFox
      @TorutheRedFox 2 ปีที่แล้ว +26

      @@Kevin15673 yeah but this needs 80000fps otherwise the engine will implode

    • @Kevin15673
      @Kevin15673 2 ปีที่แล้ว +7

      @@TorutheRedFox The sim also runs on a single thread, I also never said that I thought it was possible to combine the 2.

  • @justarandomonlineperson8094
    @justarandomonlineperson8094 2 ปีที่แล้ว +394

    this is the greatest engine simulation i've ever seen. as for your claims, this would mean we could test some modifications on this simulation first before before actually applying to the real engine? how cool is that!!

    • @ChargedTTq
      @ChargedTTq 2 ปีที่แล้ว +7

      Maybe for guys doing serious piston and head work. Bigger valves etc.
      I haven't seen a way to manipulate head port design or change lobe pattern and change valvetrain geometry.
      Or simulate different manifold, intake, and exhaust effects.

    • @justarandomonlineperson8094
      @justarandomonlineperson8094 2 ปีที่แล้ว

      @DannyLeWasTaken really? I totally wasn't aware of that. Thanks for mentioning it.

  • @WillJackDo
    @WillJackDo 2 ปีที่แล้ว +136

    This has HUGE potential, not only for sound but to simulate everything and really make a true sim racing game...

    • @dragonfire1256
      @dragonfire1256 2 ปีที่แล้ว +19

      imagine this added to beamng

    • @Leynad778
      @Leynad778 2 ปีที่แล้ว +17

      @@dragonfire1256 Probably means going from 45 fps down to 25 around Italy😁

    • @SaHaRaSquad
      @SaHaRaSquad 2 ปีที่แล้ว +5

      Yeah, this kind of sets a new standard for racing games. I'm not much into car simulators but great sounds in video games are always a huge boost to user experience.

    • @Phil-tl6ln
      @Phil-tl6ln 2 ปีที่แล้ว +2

      @@SaHaRaSquad the sounds are pretty good these days, check out iRacing, ACC or GT7

    • @tony_5156
      @tony_5156 2 ปีที่แล้ว

      @@Phil-tl6ln iracing isn’t that good. Same for for Atessto Corsa, but with mods it does sound great.

  • @rars0n
    @rars0n 2 หลายเดือนก่อน

    This is awesome! I saw a brief screenshot of this video in another video and had to pause it to find this. I'm obsessed with engine simulators. Can't wait to play with it!

  • @andreroos3546
    @andreroos3546 2 ปีที่แล้ว +212

    Absolutely amazing. This is rare - someone with great aesthetic sense and skills in programming, physics, graphics, and communication. And the willingness to share knowledge. Congrats!

  • @achalpandeyy
    @achalpandeyy 2 ปีที่แล้ว +252

    Also, a detailed technical breakdown would be EPIC!

    • @AngeTheGreat
      @AngeTheGreat  2 ปีที่แล้ว +29

      Maybe a technical breakdown will be made then! Thanks for watching

    • @richardeadon6396
      @richardeadon6396 2 ปีที่แล้ว

      @@AngeTheGreat I'd be interested to know the textbooks and papers you read!

  • @KevanTess
    @KevanTess 2 ปีที่แล้ว +218

    BeamNG should implement this into the game's audio engine.
    Edit: I didn't mean physical simulate the engine, just the sounds. That's why I wrote audio engine.

    • @user2C47
      @user2C47 2 ปีที่แล้ว +11

      Not sure about that, but I'd love to see this as a customizable engine you could put in a vehicle.

    • @rikarddotzler8424
      @rikarddotzler8424 2 ปีที่แล้ว +2

      Yes!!!

    • @holesmak
      @holesmak 2 ปีที่แล้ว +17

      They already have some sort of it. Prob not that complex but thus not that cpu demanding. You can play with the system in "automation - car company" or smth like that I don't remember the name of the game

    • @evanbooth1441
      @evanbooth1441 2 ปีที่แล้ว +2

      they would be crazy not to.

    • @Incommensurabilities
      @Incommensurabilities 2 ปีที่แล้ว +6

      I wish the entire engine simulation in Beam was as sophisticated as this. As it is, Beam is pretty good, but also quite simplistic in some ways, so it's awesome to know that there are demonstrated alternatives. However the physics simulation in beam runs at 2000 Hz I believe, so the 80,000 Hz for this engine sim to be stable is a lot higher

  • @Rok3y
    @Rok3y ปีที่แล้ว +7

    You have no idea how good simulator you've made. Really good work.
    I am programmer myself, doing soft body and fluid simulations but is something else. I enjoyed every second of this video.

  • @_MD80
    @_MD80 2 ปีที่แล้ว +95

    That's outrageous. I think about all the times I've watched the "making of..." videos for Forza and Gran Turismo and they have the supercars with mics at the exhaust, and here's this guy just modelled an engine and it sounds way better and more realistic than any game I've ever heard. You Sir deserve a medal. You will have project managers for game developers of those big studios ripping those guys with their mics apart. Like the comment says below I hope you get a call to buy or licence this software. Well done, good sir👍🏻

    • @tony_5156
      @tony_5156 2 ปีที่แล้ว

      Damn they actually recorded the sounds for GT?
      Forza, well the 4 cylinders still don’t sound perfect… as always

  • @dukem8774
    @dukem8774 2 ปีที่แล้ว +156

    This is probably a legitimately good tool for custom car builders/modders.

    • @SomeonessChannel
      @SomeonessChannel 2 ปีที่แล้ว +17

      I can see a collab with Automation - The Car Company Tycoon Game

    • @recon1673
      @recon1673 2 ปีที่แล้ว +8

      @@SomeonessChannel Ooo I would be super happy if they could implement them together. I just wish Automation sounds would work in BeamNG alot better.

    • @tpmartin210
      @tpmartin210 2 ปีที่แล้ว +2

      @@recon1673 And have an interior

    • @xenos568
      @xenos568 2 ปีที่แล้ว +1

      ​@@tpmartin210 i'm pretty sure you can already build an interior, although it's very limited without mods at the time

    • @tatacraft791
      @tatacraft791 2 ปีที่แล้ว +2

      As someone with 260 automation hours and 990 beam hours i have to agree with this

  • @gamboodle
    @gamboodle 2 ปีที่แล้ว +396

    "Quite possibly the dumbest project I've ever undertaken" This is INCREDIBLE! Cars and engineering in general have always been in my area of interests, and imagining every component of the engine, transmission, diff, all working together at once, every gear, oil pump, etc is fun to think about. Was always wondering why no one had done this! (accurately simulating each part that is, maybe Automation but the sound isn't there like it is here). Would love to see this implemented in an actual game like dirt rally or BeamNG. Definitely make a breakdown video!

    • @SpaceGood.
      @SpaceGood. 2 ปีที่แล้ว +7

      Sadly, I don’t think it’s possible to simulate in BeamNG since his simulation runs on rigidbody at like 80000 fps but hopefully one day.

    • @gamboodle
      @gamboodle 2 ปีที่แล้ว +1

      @@SpaceGood. for sure, neat to think about though, when computing power becomes powerful enough and common enough for the consumer to experience this

    • @gamboodle
      @gamboodle 2 ปีที่แล้ว +1

      @@kianmcgavin7659 oh really? That's super cool!

    • @Leo-ii4hy
      @Leo-ii4hy 2 ปีที่แล้ว

      Well I think beamng actually already provides great engines sounds

    • @tony_5156
      @tony_5156 2 ปีที่แล้ว

      Haha V10 go brrrrrr

  • @FireElite95
    @FireElite95 ปีที่แล้ว +17

    Bocchi the internal combustion engine

  • @TheSwaroopB
    @TheSwaroopB 2 ปีที่แล้ว +214

    I'm sure you've struck a chord that resonates with a lot of folks -- probably even a childhood dream for many! I really wish this becomes a HUGE community project in the long run (with a personal agenda of learning even if just a tiny bit from your findings and contribute to this code!). Great, stuff! Cheers!

  • @oceannuclear
    @oceannuclear 2 ปีที่แล้ว +205

    "A real time internal combustion engine simulation" - Okay, that sounded like a lot of work, nicely done man.
    "Because I want to know how hard is it to simulate the engine sound" - wow, okay that sounded like a bit of an overkill. But go on.
    "A rigid body simulator simulates the interactions between all of the internal components" - WOW okay that's even more of an overkill, right?
    "A physically realistic fluid simulation" - WOW THAT's overkill
    "Piranah is my own custom scripting language that I made" - gREAT now you're inventing scripting languages too. What next.
    "I've actually built one of these 454 engines myself" - This man can and has done EVERYTHING under the sun.
    "GM's values matches simulations' predicted values" - alright this is neat. I guess your stubborness paid off then.
    "I'm very familiar with the Kohler V-twin engine" - okay, again, is there anything that you haven't done?
    "Sound and horse power figures pretty much matches reality after I've entered the parameters for this completely DIFFERENT engine" - BRUH
    "I literally read entire textbooks while researching this, and I've also read a lot of research papers." - Yeah man, it definitely shows!

    • @tolga1cool
      @tolga1cool 2 ปีที่แล้ว +8

      That was my line of thought too. Absolutely mind boggling

    • @revimfadli4666
      @revimfadli4666 2 ปีที่แล้ว +3

      Modern Renaissance Man

  • @Metaln00b
    @Metaln00b 2 ปีที่แล้ว +104

    Finally someone who has realized that engine sounds in games have gotten worse.
    Very nice project, I celebrate it.

    • @jjmmjj9999
      @jjmmjj9999 2 ปีที่แล้ว +1

      Debatable
      Some games (and even mods) have good sounds (and even improve on actual developers)

    • @paush51
      @paush51 2 ปีที่แล้ว

      GTA 5 has some pretty nice engine sounds on almost all the older cars. Most newer cars in online however sound bad.

    • @krisk2466
      @krisk2466 2 ปีที่แล้ว +1

      Beaming is the only one I can think of that has pretty good engines sounds but nothing on this level

    • @jjmmjj9999
      @jjmmjj9999 2 ปีที่แล้ว

      @@krisk2466 assetto corsa?

    • @jjmmjj9999
      @jjmmjj9999 2 ปีที่แล้ว

      @@krisk2466 th-cam.com/video/JBH5kbc3DyM/w-d-xo.html
      Granted they're not generated, they're sampled but from a game that can differentiate deceleration, load etc it's impressive

  • @heret1c385
    @heret1c385 2 ปีที่แล้ว +35

    The amount of different skills required to write this stuff is simply amazing. You wrote your own scripting language, you know about sound processing, physics simulaton, mechanics and so forth. And here am I, not even being fluent enough in english to even describe how amazed I am. Mad respect bro!

  • @bloom945
    @bloom945 2 ปีที่แล้ว +383

    I was incredibly impressed thinking it was just a visualizer, let alone an actual rigidbody simulation. AND IN YOUR OWN PHYSICS ENGINE??? Bro.
    EDIT: CUSTOM SCRIPTING LANGUAGE??? MAN

    • @JukoYT
      @JukoYT 2 ปีที่แล้ว +49

      I love how he casualy mentiones it too. "Btw this uses my custom scripting language i made"

    • @keent
      @keent 2 ปีที่แล้ว +24

      @@JukoYT not to mention "and actually built one of this engine before"

    • @theglitch312
      @theglitch312 2 ปีที่แล้ว +13

      Mans took the saying, “To bake a pie, one must first create the universe”, a bit too literally…

    • @SaHaRaSquad
      @SaHaRaSquad 2 ปีที่แล้ว +3

      The moment I heard him say "to get a better feel for the power of the engine I also implemented this vehicle simulation..." with 4 more minutes in the video I started wondering if he created the Matrix just for realistic sounds lol. Seriously, this is so impressive. Those passion projects are the most interesting ones because they're made with such an attention to detail and high quality as the creators set such high standards for themselves.

    • @clementbaron7323
      @clementbaron7323 2 ปีที่แล้ว

      Yeah this guy is nutty

  • @Sypher474
    @Sypher474 2 ปีที่แล้ว +143

    Incredible project, protect your code! The engine braking is better than anything I've ever heard in a game. Forced induction next, please!

  • @qwerty69600
    @qwerty69600 2 ปีที่แล้ว +1

    Seriously. This guy is handling the business. You may not think that the business is being handled here, but trust me, it is. I've had to start watching these videos with my earphones in or when my girl is asleep to stop her getting impregnated over the sound waves from this dude.

  • @BattleOrder
    @BattleOrder 2 ปีที่แล้ว +90

    This is like the most impressive thing

  • @anguskeenan4932
    @anguskeenan4932 2 ปีที่แล้ว +83

    This is some absolutely astounding software, this would actually help a tonne with my university thesis, I hope he makes it available

  • @AutomationGame
    @AutomationGame 2 ปีที่แล้ว +83

    Very nicely done :) This is impressive, as others agree. Love the lift-off sound accuracy you were able to produce!
    Having written a full engine sim myself recently, I know what it takes to make one and how difficult it is to simplify it to make it run properly.
    Let me make two trivial observations: 1) No, this is not a dumb project, it actually could be a solution to a problem many have been looking for. 2) You will be noticed. ;)
    Awesome work! Cheers!

    • @AngeTheGreat
      @AngeTheGreat  2 ปีที่แล้ว +23

      Thanks for the kind words! The lift-off sound under deceleration was definitely very important for me, it's one of my favorite sounds an engine can make

    • @billdam7298
      @billdam7298 2 ปีที่แล้ว +5

      Holy crap is this the real automation fellas? I love your work

    • @jamesfrain8318
      @jamesfrain8318 2 ปีที่แล้ว +4

      please try to work this into your game somehow, that would be sick!

    • @sirtiberius1083
      @sirtiberius1083 2 ปีที่แล้ว +2

      I knew the Automation team would enjoy this.

  • @NekoPufferPPP
    @NekoPufferPPP 2 ปีที่แล้ว +4

    I've just found my favorite channel on the entire internet :D DUDE I've had this same thought for so long - why not just simulate engine sound in real-time? You sir, you are the one. Awesome work, keep it up!

  • @jorgegomes83
    @jorgegomes83 2 ปีที่แล้ว +35

    This is the first time I see a physics engine being used to generate sound. Mindblowing.

  • @charlemichelleke
    @charlemichelleke 2 ปีที่แล้ว +392

    Could you make this work for a rotary engine? Like a Wankel or a LiquidPiston?
    Maybe an option for turbo/superchargers?
    Petrol vs Diesel? And simulating the differences when timing and spark advance is changed, as well as feul ratio?
    What about 2-strokes (gas or diesel)?
    Just throwing some ideas at you.... :) Very useful and beautiful project!!! Definitely a lot of potential!!!

    • @MacBookAir-cu4fb
      @MacBookAir-cu4fb 2 ปีที่แล้ว +27

      Oh got I don’t think a turbocharger/supercharger add on would be good. I’d be testing out car sounds the whole day hahaha 😂 But seriously, Image what could be possible with this simulation!

    • @boltbreakgarage3842
      @boltbreakgarage3842 2 ปีที่แล้ว +17

      I'd love to see support for variable valve timing, variable length runners, push rod, SOHC, DOHC, and different header lengths. It'd be awesome to digitally spec out a motor and get it the way you like then build it in real life with minimal R&D.

    • @coolbionicle
      @coolbionicle 2 ปีที่แล้ว +4

      I think the wankle engine should be easier to program since the piston itself acts as the valves, so less moving parts.

    • @customconnections2425
      @customconnections2425 2 ปีที่แล้ว

      @@boltbreakgarage3842 Fuck yeah💦💧

    • @charlemichelleke
      @charlemichelleke 2 ปีที่แล้ว

      @@boltbreakgarage3842 The possibility with a program like this could be practically endless... I think with the amount data he pulls from this simulation its even possible to calculate if certain fuels will even combust in different engine types. The fact is that it just depends on what he will do with it and how far he is willing to take it.
      For example a person like TwoStrokeStuffing (fellow youtuber) could simulate an engine idea and get a resonable oproximation on how the engine will behave (and if it will even work) before putting time and efford in to build it.

  • @ikarian3612
    @ikarian3612 2 ปีที่แล้ว +99

    This was recommended to me out of seemingly nowhere. I'm really impressed. The coding, the visual presentation, attention to detail, the relentless hunt for knowledge. Exceptional.
    Maybe game developers could place a sine wave generator in the engine bay, binaural microphone at the driver position and record the frequency response curve and set up convolution reverb matching the cabin for ultra realistic sound reproduction.

    • @sensoryoverload673
      @sensoryoverload673 2 ปีที่แล้ว +1

      That's a fantastic idea that I hope someone incorporates. It really shouldn't even be too hard to do. Although now that I think about it, some of the engine sound comes from the engine, some comes out of the exhaust, so you'd have to keep those separate and apply different EQ to each... But to me it's worth it. I hope devs pay more attention to sound. It's half the experience!

    • @dominicstocker5144
      @dominicstocker5144 2 ปีที่แล้ว +2

      @@sensoryoverload673 it’s so weird to me that the free and awesome steam audio engine isn’t used by a lot of games

    • @dominicstocker5144
      @dominicstocker5144 2 ปีที่แล้ว +1

      I wonder if a VR microphone might work as well in this configuration, so that you don’t have to keep the head rotation static relative to the vehicle

  • @OinSonOfGloin
    @OinSonOfGloin ปีที่แล้ว

    Before I clicked on this video I said to myself "did some guy go buy some software of a visualization of an engine and post it?" I then realized I could be wrong and I must have an open mind. I learned they you created this all yourself good job man

  • @MarshaIIs
    @MarshaIIs 2 ปีที่แล้ว +177

    The first thing I immediately thought of, before you even started talking, was a rotary!
    I would love to see a rotary engine in your simulator. It's one of my favorite engine designs, and it produces such a unique sound that I haven't ever seen replicated well in games
    This is likely s huge challenge, but you wanted suggestions, so here they are!
    With the release of modular simulators like this, game devs have no excuse for bad engine sounds, so they better use this

    • @0sliter0
      @0sliter0 2 ปีที่แล้ว

      Ahh tag me there pls

    • @schmieroel
      @schmieroel 2 ปีที่แล้ว +7

      Yes I thought that too. A 13B would be very cool.

    • @joli22
      @joli22 2 ปีที่แล้ว +4

      @@schmieroel and an R26B

    • @toughtntman37doesanimations
      @toughtntman37doesanimations 2 ปีที่แล้ว +1

      I agree. finally do what Camshaft Software wouldn't

    • @hisride
      @hisride 2 ปีที่แล้ว

      Yep, so awesome!

  • @hypnoticmoai6509
    @hypnoticmoai6509 2 ปีที่แล้ว +80

    This would probably be hard to implement, but adding turbos, superchargers, exhaust pipes with different header lengths, resonators, and mufflers would be pretty awesome to see, and also would get you a super realistic sound.

  • @sripradpotukuchi9415
    @sripradpotukuchi9415 2 ปีที่แล้ว +49

    Whoa Ange. Just whoa.
    You have no idea just how much my mind is _blown_ right now. I can't wrap my head around just how awesome this project is!
    Also the very first thought I had when I heard the engine noise was "Huh, that actually sounds pretty darn accurate." 😁

    • @AngeTheGreat
      @AngeTheGreat  2 ปีที่แล้ว +20

      Mission accomplished! I was very worried when I started this project that the sound wouldn't be convincing but I worked *really* hard to get it to this state, glad it paid off! Thanks for watching

  • @BasSine_Studio
    @BasSine_Studio ปีที่แล้ว +4

    This is awesome. I’m a sound designer and I can tell you now this is nuts!

  • @aaloknry
    @aaloknry 2 ปีที่แล้ว +71

    This V8 engine sounded much more life like then I've ever heard, I'm sure 12 cylinder radial engine would sound impressive.

  • @davidmorris1735
    @davidmorris1735 2 ปีที่แล้ว +48

    This was simply a delight to witness. What an absolute time it is to be alive. This is a marvel of computer programming

  • @boostedmedia
    @boostedmedia 2 ปีที่แล้ว +52

    Holy crap! This is one of the coolest things I’ve ever seen! Amazing!

  • @epicm999
    @epicm999 ปีที่แล้ว +3

    This is absolutely incredible! I'm at the stage of looking through textbooks and trying to learn more about engines to see how I can simulate the torque curve accurately. Surprised that it took YT _this_ long to recommend me this video.

  • @CrossbowBeta
    @CrossbowBeta 2 ปีที่แล้ว +507

    A rotary aircraft engine with 20 cylinders would be sick.

    • @tony_5156
      @tony_5156 2 ปีที่แล้ว +22

      Ohhhh I read this wrong
      I thought you mean Mazda rotary engines

    • @JNJNRobin1337
      @JNJNRobin1337 2 ปีที่แล้ว +2

      you mean like a wankel engine right

    • @CrossbowBeta
      @CrossbowBeta 2 ปีที่แล้ว +22

      @@JNJNRobin1337 No, rotary engines were popular in early WW1 aircraft designs. Wankel is s completely different architecture.

    • @JNJNRobin1337
      @JNJNRobin1337 2 ปีที่แล้ว +2

      ah, i completely wasnt aware; good to know

    • @118Shadow118
      @118Shadow118 2 ปีที่แล้ว +32

      I think radial engine would be a more accurate description

  • @gabegreier
    @gabegreier 2 ปีที่แล้ว +36

    i fall asleep dreaming of coding a realistic engine, finding out that someone has done this just makes me so happy

  • @JulianMakes
    @JulianMakes 2 ปีที่แล้ว +113

    As someone that loves problem solving, I’d absolutely watch ten hours of you explaining how you overcame problems with research and programming even though I’m not what you would call a coder myself.

  • @muneebhussain6729
    @muneebhussain6729 2 ปีที่แล้ว

    This is genuinely great, I love engineering more than just cars so even in games my focus is towards the technical side of things, sounds beinf somewhat a part of that and I hate when cars dont have the sound that conforms to the engine it has and the way the engine behaves under load. Especially hate it when LICENCED cars don't sound like their real counterparts.
    As a gamedev student planning to go into the racing sim industry you've also made my job somewhat easier. Got to say i'm very grateful for this software.

  • @thetruthexperiment
    @thetruthexperiment 2 ปีที่แล้ว +634

    I’ve wanted to see a game where all of the sound is synthesized in real time. Essentially you would never hear the same sound twice. That would be tight.

    • @Badsniperarmy
      @Badsniperarmy 2 ปีที่แล้ว +22

      Not well informed on this so sorry if this sounds ignorant but wouldn’t they also have to simulate the weather conditions like air density and temperature? Idk if the games do that already

    • @babayada2015
      @babayada2015 2 ปีที่แล้ว +49

      @@Badsniperarmy No, most games don't do that. Infact most games don't simulate atmosphere
      Games like kerbal space program do it afaik but GTA, COD, Forza Horizon etc just simulate some effects like atmospheric distortion, aerodynamics of car etc.
      I can be wrong tho

    • @xenontesla122
      @xenontesla122 2 ปีที่แล้ว +13

      @@Badsniperarmy It's not ignorant. Sound (specifically the speed of sound) is affected by temperature, but only really slightly so it shouldn't matter much. The environment that the sound is in matters much more, since sound bounces off objects.

    • @shorty______
      @shorty______ 2 ปีที่แล้ว +9

      @@Badsniperarmy those variables could just be replaced by constants or something like that, or develop a simple system for those like; If raining humidity is higher. No issue tho

    • @jarnine9803
      @jarnine9803 2 ปีที่แล้ว +5

      Use this with sound ray casting with ingame engine effects, E.g reverb,delay.

  • @phentm
    @phentm 2 ปีที่แล้ว +182

    holy shit ive been trying to find someone who did anything like this for literally YEARS, this is fucking amazing 😯

    • @Sextusheap
      @Sextusheap 2 ปีที่แล้ว +3

      Same. Read some papers because I was trying to code my own version of this, but ended up not doing this. This is a dream come true. Hope there will be time left for studying the next weeks. ;P

  • @blakecogburn1767
    @blakecogburn1767 2 ปีที่แล้ว +60

    I just randomly searched "physics engine from scratch" the other day and found your video. I was very impressed then. A few days later, this video pops up in my recommended and let me tell you my jaw hit the floor when I saw the clip from the physics engine video and I realized it was you! I've never watched a video that consistently made my jaw drop every couple of minutes, this is super impressive. Looking forward to the codebase becoming public again, I was disappointed to see it was made private for now!

  • @Alvaropiloto1
    @Alvaropiloto1 2 ปีที่แล้ว +4

    Amazing work!! Racing simulation developers should take a look on this

  • @Forka137
    @Forka137 2 ปีที่แล้ว +261

    This makes me feel so dumb. Even though I studied mechanical engineering this is something I could only dream of making myself.

  • @lllllllllllllllllllll1lll1
    @lllllllllllllllllllll1lll1 2 ปีที่แล้ว +8

    As someone who is deeply passionate about both engines and sound design/audio synthesis (spent years building DIY hardware synths and cars in my free time), this is downright amazing. Not a dumb project in the SLIGHTEST. Thank you. This is a dream project.

  • @natet.8867
    @natet.8867 2 ปีที่แล้ว +4

    I find the 3, 5 and 7 cylinder engines have this really cool harmonic. I'd love to see you try that out. cool stuff man!

  • @yuvalamir3226
    @yuvalamir3226 ปีที่แล้ว +439

    You should totally sell this as middle-ware. This is the kind of stuff tripple A studios will pay top dollars for.

    • @gloverelaxis
      @gloverelaxis ปีที่แล้ว +99

      No, he should be crowdfunded and it should remain open-source for everyone to benefit from

    • @MostafaElSakari
      @MostafaElSakari ปีที่แล้ว +18

      @@gloverelaxisno

    • @Wyklepheph
      @Wyklepheph ปีที่แล้ว +140

      @@gloverelaxisno he should require some kind of blood sacrifice for access

    • @happygofishing
      @happygofishing ปีที่แล้ว +46

      ​@@MostafaElSakariif your against free and open source software in nay way you are actively making the world a worse place

    • @robonator2945
      @robonator2945 ปีที่แล้ว

      ​@@happygofishing assuming by "nay" you mean "any", no. That's just a stupid position to have as being against FOSS as a concept is too.
      Since you're clearly arguing from a idealigious position, let me refute you with one. FOSS is about choice, that's why linux lets you shoot yourself in the foot even though it could be prevented. Through and through, it's user choice, that's paramount, maximum choice, always let the user choose, never take choice away from the user. Great! So what if the user wants to choose something proprietary? Forcing someone to make the "right" choice is taking AWAY their choice. If you don't believe people are free to make wrong choices, you don't believe people are free to make choices at all.
      The distribution model of software is just as important as for hardware. High end specialty software flat out wouldn't get the financial investments needed to develop it if it was just going to be given away for free. (yes free as in speech not as in beer, but if the code is open, that means someone can just fork it and make a free as in beer version) I hate apple with a passion, but you know what I hate more? The EU giving itself more powers because consumers are too terrified at the thought of buying a phone without a fruit engraving on the back to buy from a company that doesn't fuck them over. If the wider userbase does not like the current offerings they are free to use other offerings or make their own. If, on the other hand, people like you continue arguing that "being against FOSS in any way is actively making the world worse" and people start legislating things that directly takes away user choice. I am no longer free to buy a phone with a lightning port even if Apple is willing to sell it to me and I'm willing to buy it. Being against the very concept of non-FOSS things is being against the very concept of FOSS to begin with since FOSS is about user choice. Let me stress again, FOSS is about choice, that includes the choice to use it, or not to use it, depending on when you think it's best applicable. Proprietary offerings are what drive markets, TWS earbuds were basically fucking invented by Apple's airpods, which they forced people to use if they wanted the newest iphone. That was a shitty and anti-consumer thing to do, buuuut then the market happened and other companies made their own offerings which were better, less locked down, and more plentiful. Proprietary spearheads followed by more organic market growth to compete with those offerings is how progress works.
      If you think FOSS is the only right answer, you're not pro freedom, you're just an authoritarian who happens to argue his thing is good for people... so an authoritarian. Freedom to choose, means freedom to be wrong, freedom to want high choleserol, freedom to to eat bacon and butter and buckets of cheese.
      Sincerely,
      I use arch btw.

  • @bakerap2211
    @bakerap2211 2 ปีที่แล้ว +13

    This literally combines the two things I love the most, coding/computers and engines. This is amazing!

  • @crispinhands7610
    @crispinhands7610 2 ปีที่แล้ว +6

    Absolutely phenomenal work! As someone who worked on the original engines in the first Need For Speed games back in the 90's I am beyond impressed.

  • @JCtheMusicMan_
    @JCtheMusicMan_ 2 ปีที่แล้ว +36

    I am thoroughly impressed! I a can’t believe no one else has done this before. As a life long audio aficionado with a keen awareness to everything that makes a sound and harsh critic of bad recreations, my mind is blown by your project. All I can say is well done on everything that you put into making this! 💜

    • @AngeTheGreat
      @AngeTheGreat  2 ปีที่แล้ว +8

      I appreciate the audiophile stamp of approval! Thanks for watching :)

  • @BubbsOHoolihan
    @BubbsOHoolihan ปีที่แล้ว

    This is incredible
    I love how you also casually crafted a language to use in this

  • @toomuchvrchathewp
    @toomuchvrchathewp 2 ปีที่แล้ว +64

    Next this guys gonna be like “and actually during this project my computer crashed so in order to counteract this I made my own operating system and had to hand make my own computer from scratch the hardest thing about that was the gpu with how much optimization it needed but after that the one to one universe simulator ran faster that ever” also I would love to see the technical side of things so I’ll definitely stick around for that

    • @SaYO90
      @SaYO90 2 ปีที่แล้ว

      Yeah , i was amazed when he said he made his own scripting language

  • @Invalid571
    @Invalid571 2 ปีที่แล้ว +108

    This video was extremely interesting to me, I watched it 3 times already!
    I'd love (love!) a more technical video explaining all the parts of this project. I guarantee I'd watch all of it even if it was 5 hours long.

    • @mkseed9188
      @mkseed9188 2 ปีที่แล้ว +12

      Wouldn’t have guessed that you were into math and coding if you hadn’t mentioned it…

    • @Invalid571
      @Invalid571 2 ปีที่แล้ว +1

      @@mkseed9188 lol

    • @Invalid571
      @Invalid571 2 ปีที่แล้ว

      @@mkseed9188 Redundancy removed xD

  • @PezzzasWork
    @PezzzasWork 2 ปีที่แล้ว +53

    Amazing results ! The sound synthesis is really impressive !

    • @AngeTheGreat
      @AngeTheGreat  2 ปีที่แล้ว +7

      Thank you! Now if only I could make my engine talk and have wattles 🤔

    • @PezzzasWork
      @PezzzasWork 2 ปีที่แล้ว

      @@AngeTheGreat 😂

  • @whatcanilearnhere9158
    @whatcanilearnhere9158 2 ปีที่แล้ว

    WOW, this is awsome!!! i cant wait to look into this project more!!! there are some (and one in particular)engine configurations i have been dreaming of for some 30-40 years. thank you.

  • @PowerOfNull
    @PowerOfNull 2 ปีที่แล้ว +22

    As someone who’s seen a lot of this kind of stuff, for the most of the video I wasn’t impressed much because I had nothing real to compare to. But once you showed the simulation of the twin engine commonly used in chippers, which I have heard, my mind was blown. It was nearly exactly the same. This project is incredible

  • @seagie382
    @seagie382 2 ปีที่แล้ว +547

    For full realism, add subtle sounds associated with the valvetrain, cylinder walls, and bottom end!

    • @Lyfe_of_Sylvia
      @Lyfe_of_Sylvia 2 ปีที่แล้ว +15

      I highly agree, that would be interesting to hear

    • @erdinca.2448
      @erdinca.2448 2 ปีที่แล้ว +36

      They are already there... low and high frequency noise.

    • @bunnythekid
      @bunnythekid 2 ปีที่แล้ว +35

      Add a subtle knocking noise that gets louder and louder with a 0.01% chance per hour to spawn

    • @seagie382
      @seagie382 2 ปีที่แล้ว +1

      @@erdinca.2448 it mostly emulates the low and high frequency notes of the exhaust imo

    • @cooki6112
      @cooki6112 2 ปีที่แล้ว

      Not sure whether it does already but I’d love to see it simulate induction noise aswell

  • @Goodlar
    @Goodlar 2 ปีที่แล้ว +13

    This is easily among the top 5 coolest videos I have ever watched in my life. More videos on this engine project, please!

  • @AngeloMr
    @AngeloMr ปีที่แล้ว

    Some more ideas:
    - turbo
    - nitro
    - supercharger
    - performance exhaustion
    - performance fuel
    So many ideas....
    Congrats for the amazing project.

  • @5speedfatty
    @5speedfatty 2 ปีที่แล้ว +67

    this sounds more real than any other digitized engine sound ive heard . the shift downs sound perfect.

    • @r6scrubs126
      @r6scrubs126 2 ปีที่แล้ว +8

      I think this is the first time I've seen someone say shift downs instead of downshifts

    • @5speedfatty
      @5speedfatty 2 ปีที่แล้ว +1

      @@r6scrubs126 shift up shift down downshift upshift, what matters is we can shift right? the clutch waits for no man.

  • @redmans9522
    @redmans9522 2 ปีที่แล้ว +61

    You've synthesized and materialized what many gearheads probably dreamed of. It would be nice to see this sim generate engine sounds in an older racing game for test.Thank you!

  • @matthewmaclaine4788
    @matthewmaclaine4788 2 ปีที่แล้ว +4

    Man this is awesome! I must throw my voice into the chorus crying for a series detailing the technical process you went thru to create this marvel! Thank you, sir!

  • @_simon.s_
    @_simon.s_ ปีที่แล้ว +51

    Bocchi Engine isn't real, it can't hurt you
    Bocchi Engine:

  • @tinyspeaker
    @tinyspeaker ปีที่แล้ว +1

    I think one of the reasons why it sounds odd for people at times is that the sound they're used to comes from inside a chassis and this simulation is just the engine.
    Fantastic work.

  • @pikolopikolic5567
    @pikolopikolic5567 2 ปีที่แล้ว +44

    Your videos blow my mind with what is possible. I can't believe this. This is incredible. I never thought that you could use physics to simulate sound that is so physically accurate. That is unbelievable. I am so interested in the technical explanation. You are one of a kind and your videos continue to amaze me. You are so good at what you do.

    • @AngeTheGreat
      @AngeTheGreat  2 ปีที่แล้ว +6

      Thank you very much for the kind words! Honestly I didn't even know whether this project was possible when I started and I was surprised that it turned out this good. There's still a lot of room for improvement though. Thanks for watching!

  • @mycollegeshirt
    @mycollegeshirt 2 ปีที่แล้ว +56

    this is a legit game changer, sound is so important in games and immersion. Definitely make this closed source. seriously should be contacting car game companies.

    • @svampebob007
      @svampebob007 2 ปีที่แล้ว +1

      I don't mind the close source part, but I just think that closing this just because it's actually freaking cool only serves to have him or one entity control the whole project.
      Personally I'd just leave it open for anyone to mess around with it do as they please, then move on to another project.
      Having it open means that somebody just as freaking awesome as him might find his work and get inspired to do something even better, while closing this only serves one thing and that's profit... people have been profiting off opensource code for years... I'm one of them running opensource software (linux) to run a business that I would never have been able to if nobody was willing to share their awesome work.

    • @mycollegeshirt
      @mycollegeshirt 2 ปีที่แล้ว +7

      @@svampebob007 I think that's exactly the problem, he leaves it open source people will just use it in a bit company not give him any credit. Big problem in open source. Plus as soon as he explained it, any moderately talented programmer who is industrious enough could recreate it. The friction is his high level of knowledge of real life engines.

    • @seshpenguin
      @seshpenguin 2 ปีที่แล้ว +4

      ​@@mycollegeshirt GPL does mitigate that issue somewhat, most game studios will simply ignore GPL software since it's a lot of work to try and comply (or risk violation and/or release the entire game as free software).
      Lot's of people dual license software, so it's free and open under the GPL, but for a fee is available as proprietary software for corporations.

    • @mycollegeshirt
      @mycollegeshirt 2 ปีที่แล้ว +1

      @@seshpenguin I understand what you guys are saying, but that only stops you for very difficult to understand code like a brand new optimization method, where there is not any wiggle room for how you program it, and I have to copy it. But the basic concepts for what he did are relatively simple and straightforward. In other words if I were to look and steal his code. His code and my code would look nothing alike. Because I wouldn't care about what method goes where and what a class here or there does. I probably wouldn't even copy and paste anything except for reference. All I would care about would be what part of the engine makes what noise, and what do I not need to contribute into just a simulation, what is an acceptable level of accuracy, what parts would I want control over. Seeing his code could save me up to a year of research if you're like me and know nothing about engines.

    • @Juttutin
      @Juttutin 2 ปีที่แล้ว +2

      Contact the AI companies. NVIDIA for example. They can use this simulation to provide the many many hours of training that can then be 'bottled' into an AI that is very lightweight and easily included in games, even on handheld devices.

  • @Blackdiamond2
    @Blackdiamond2 2 ปีที่แล้ว +38

    This is absolutely god-tier stuff. You set out to simulate sound, absolutely smashed it, and did it so well that you ended up simulating power as well. Bonkers.

  • @edmundventura
    @edmundventura 7 หลายเดือนก่อน

    My gosh does this sound gooood!!! What a masterpiece this simulation is! AWESOME WORK! 🤯🤤