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

Поделиться
HTML-код
  • Опубликовано: 1 янв 2025

Комментарии • 8 тыс.

  • @AngeTheGreat
    @AngeTheGreat  2 года назад +6491

    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 года назад +76

      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 года назад +18016

    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 года назад +2308

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

  • @SaHaRaSquad
    @SaHaRaSquad 2 года назад +2154

    "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 6 месяцев назад +1

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

  • @Kj16V
    @Kj16V Год назад +908

    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 Год назад +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 года назад +5713

    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 !

  • @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!

  • @quads4407
    @quads4407 2 года назад +2178

    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.

  • @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.

  • @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 года назад +1554

      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?

  • @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, ...

  • @raftazor
    @raftazor 2 года назад +2392

    I can't believe you turned bocchi into an engine

    • @Mac-nw3uc
      @Mac-nw3uc 2 года назад +238

      boccher engine

    • @mandranela
      @mandranela 2 года назад +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"?

  • @WisePlagueis
    @WisePlagueis 2 года назад +720

    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.

  • @BayLeafff
    @BayLeafff 2 года назад +635

    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!

  • @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 RUclips. 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 👌🏽)

  • @Doornob69
    @Doornob69 Год назад +19

    Bocchi the 7.4L v8 carburated naturally aspirated big block.

  • @jorgepadua5802
    @jorgepadua5802 2 года назад +308

    "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 года назад +1

      Happened to my neighbors Impreza with a little too much boost

  • @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

  • @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.

  • @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.

  • @JozefCG
    @JozefCG 2 года назад +229

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

  • @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!!

  • @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.

  • @FireElite95
    @FireElite95 Год назад +17

    Bocchi the internal combustion engine

  • @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......

  • @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

  • @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.

  • @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.

  • @the_real_Kurt_Yarish
    @the_real_Kurt_Yarish 2 года назад +451

    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.

  • @steventechno
    @steventechno 2 года назад +179

    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 ☹️

  • @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

  • @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.

  • @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!

  • @_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

  • @_simon.s_
    @_simon.s_ Год назад +51

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

  • @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 6 месяцев назад

      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.

  • @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.

  • @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.

  • @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.

  • @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.

  • @AngeTheGreat
    @AngeTheGreat  2 года назад +3746

    UPDATE 2: Code is public again, see link in the description. For those that waited patiently and were respectful, thank you, you guys are legends.
    UPDATE: I've received way more interest in this project and the codebase than I anticipated and I've made it temporarily closed-source. I may release it publicly again but I really want to make sure that my work isn't used without crediting me. Thanks for understanding bros!
    Hey guys 👊 Just thought I'd clarify that ALL engines are displayed as overhead cam in the simulation since it is functionally equivalent and easier to program (visually) than cam-in-block. I'm well aware that 454s were single cam, pushrod engines haha. Also the user interface that you see was made with my game engine, I forgot to mention that in my video. It's the same engine I use on most of the projects on my channel. Thanks for watching!
    Edit: Also, I don't want to pretend like this is a PERFECT simulation or anything. It's a decent approximation but definitely not on the same level as a scientific tool. I'm mainly interested in the sounds and generally getting the power curves right

    • @willyonastick30
      @willyonastick30 2 года назад +102

      Sure but please simulate an inline 4 engine, I need to see an economy engine on this simulation. Also try to implement a stress test onto the simulation like when there is no oil, the wrong fuel is put into the engine like an 87 octane fuel on a high performance engine (90 and above octane engine) and something like that.

    • @Bill.Moller
      @Bill.Moller 2 года назад +115

      Yeah, I'd hold on to all your code... I can imagine any car game or simulator manufacturers wanting to license this.

    • @boogiehasfun
      @boogiehasfun 2 года назад +45

      I want to play with the application so bad, hopefully I can play with it soon.

    • @dangerdanger8987
      @dangerdanger8987 2 года назад +23

      Can the simulation support diesel engines? Also coukd we use this sim to create engine sound mods for games?

    • @Q_20
      @Q_20 2 года назад +13

      this is very valuable tech

  • @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!

  • @AN-225_Cargoplane_Bigplane
    @AN-225_Cargoplane_Bigplane Месяц назад +1

    3:06 Model Engine Kits When you Only Put the Piston Rods, Pistons and the Crankshaft and Just Leaving it like that

  • @KevanTess
    @KevanTess 2 года назад +220

    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

  • @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!

  • @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!

  • @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.

  • @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

  • @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 ruclips.net/video/JBH5kbc3DyM/видео.html
      Granted they're not generated, they're sampled but from a game that can differentiate deceleration, load etc it's impressive

  • @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!

  • @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!

  • @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

  • @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

  • @thetruthexperiment
    @thetruthexperiment 2 года назад +633

    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.

  • @BasSine_Studio
    @BasSine_Studio Год назад +4

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

  • @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

  • @oceannuclear
    @oceannuclear 2 года назад +204

    "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

  • @BattleOrder
    @BattleOrder 2 года назад +90

    This is like the most impressive thing

  • @rars0n
    @rars0n 3 месяца назад

    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!

  • @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.

  • @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

  • @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. :)

  • @jorgegomes83
    @jorgegomes83 2 года назад +35

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

  • @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

  • @beamng
    @beamng 2 года назад +31

    wow, nice :D

    • @Radiation_R
      @Radiation_R 2 года назад +1

      The biggest compliment to this video

    • @ransidbeefoil9781
      @ransidbeefoil9781 2 года назад +1

      Here before this blow up :))

    • @konrad910
      @konrad910 2 года назад +3

      The engine sounds in BeamNG are very good, but they could be even better with this simulation, I would love to get goosebumps and start crying from the sound of the cars :)
      Plus a simulation of this level with the exhaust system and I'm crying and shaking 😂

    • @AngeTheGreat
      @AngeTheGreat  2 года назад +10

      I can't believe that BeamNG actually commented on my video... this is so wild

    • @TheDroidsb
      @TheDroidsb 2 года назад +1

      Woah, that’s how you know this engine sim is impressive

  • @SOYSOUCSE
    @SOYSOUCSE Год назад +6

    Fuckin “bocchi the internal combustion engine”

  • @boostedmedia
    @boostedmedia 2 года назад +52

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

  • @aaloknry
    @aaloknry 2 года назад +70

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

  • @Forka137
    @Forka137 2 года назад +260

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

  • @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

  • @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!

  • @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

  • @milos1336
    @milos1336 Месяц назад +1

    When you showed an engine sound, the subtitles showed acurately [music]

  • @joshuadoll9000
    @joshuadoll9000 2 года назад +164

    Can this simulation handle a rotary engine? That would be interesting to see.

    • @GameMaker3_5
      @GameMaker3_5 2 года назад +22

      A wankel rotary or even a gas turbine engine would be the next logical step for something like this

    • @AdamKueflef
      @AdamKueflef 2 года назад +2

      I need to see this it would be lit

    • @Kevin-sh1mt
      @Kevin-sh1mt 2 года назад +2

      I would love to see that

    • @InformatrIIcks
      @InformatrIIcks 2 года назад +1

      The dynamics of a rotary engine are very different, I don't think this software could handle it ...
      That said the same principles could be applied on a wankel simulator, but I feel like it would need to be a separate piece of software
      (Not an expert coder though so happy to be proven wrong)

    • @AngeTheGreat
      @AngeTheGreat  2 года назад +19

      There is a lot of overlap but I'd need to write some code to make it work, I might make a followup video about rotaries

  • @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

  • @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

  • @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.

  • @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 😂

  • @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.

  • @Sam_Hue
    @Sam_Hue Год назад +3

    I cannot unsee the Color palette

  • @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.

  • @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!

  • @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 :)

  • @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.

  • @KptnAutismus
    @KptnAutismus 2 года назад +72

    i would really like to see if the distinct "angry bee sound" of the 4a-ge would still be there in the simulation.

  • @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

  • @eclipse2966
    @eclipse2966 2 года назад +79

    You should do one for jet engines next. Number of turbine blades, compression stages, bypass, RPMs, afterburners, etc., all result in distinct sounds for a given engine.

    • @o0ooo0
      @o0ooo0 2 года назад

      Fuck jet engines, been waiting ages for realistic fake car sounds

  • @Alvaropiloto1
    @Alvaropiloto1 2 года назад +4

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

  • @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

  • @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.

  • @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.

  • @LamantinoElettronico
    @LamantinoElettronico 8 месяцев назад

    1:58 What the pedal does is actually regulate the load of the engine, which is the percentage of its torque you ask it to output. For example if you have an engine that is at 2000 rpm and at that speed it can output 120 Nm of torque, slamming the pedal will tell it to output that full 120 Nm, which will either cause it to rev up or it may be necessary for it to maintain speed depending on conditions like incline. Electric motors, or at least the three phase ones controlled by computerized inverters you'll find in electric cars, are actually controlled in the exact same way (i. e. the pedal commands torque output and if you fully let off of it the motor will output negative torque for regenerative engine braking)

  • @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!

  • @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!

  • @tbuk8350
    @tbuk8350 2 года назад +94

    Holy crap, the sound of that engine sounds better than any car game I've played. And I'm talking FH2, 3, 4, and 5, BeamNG, the FM series, etc.
    That engine sound is so good, if I didn't know otherwise, I would think it's a real engine.
    The only thing I think it lacks is imperfections in the sound, as in, it sounds the same every time you rev the engine. It might be cool to have the engine have weird quirks about it's sound, like older engines in real life.

    • @AngeTheGreat
      @AngeTheGreat  2 года назад +41

      I could definitely add some imperfections like that. Probably in my next video I'll show what engines sound like when they have certain issues (wiped cam lobes, shot piston rings, etc.). It actually reproduces these effects pretty accurately. Thanks for watching!

  • @milktea2364
    @milktea2364 Год назад +2

    Love the Boochi the rock engine colour scheme

  • @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!