[HN Gopher] Engine Sound Simulator
___________________________________________________________________
Engine Sound Simulator
Author : hyperific
Score : 163 points
Date : 2024-07-02 22:32 UTC (1 days ago)
(HTM) web link (markeasting.github.io)
(TXT) w3m dump (markeasting.github.io)
| alopes wrote:
| This is really good!
| cathalc wrote:
| This is truly music to my ears!
| dsjoerg wrote:
| Add buttons for people on mobile?
| snthd wrote:
| Even better, use the gyroscope.
| Otek wrote:
| hmm, I either don't know how to use it or it doesn't work in
| Safari
| peterfirefly wrote:
| Reload. Click in the window. Then rev up the engine. It breaks
| when you switch sounds -- so reload, select sound, click
| somewhere, etc.
| HeatrayEnjoyer wrote:
| Tapping on the controls is broken. Typed text in gear number
| field is erased immediately.
|
| The app sounds fun. Excited to try it again later.
| carlos-menezes wrote:
| This is way too fun.
| simse wrote:
| reminds me of this masterpiece:
| https://www.youtube.com/watch?v=RKT-sKtR970
| Clueed wrote:
| I love his videos but all the sound demos are a a bit too much
| sometimes :D
| nsingh2 wrote:
| Very cool, get to top RPM in gear 6 and drop down to gear 1 for
| an ear-rending shriek.
| xattt wrote:
| This would be great to load up onto an RPi and put into a kids
| toy. Maybe use it to pimp up one of those toddler steering wheel
| sets.
| hyperific wrote:
| ^^ This.
|
| I thought the same thing. I want to rig up a optical encoder to
| a bicycle tire and use the output to drive the engine simulator
| - make my bicycle sound like a sports car.
| imiric wrote:
| Way overengineered... Back in my day we were happy with
| sticking a plastic bottle between the tire and frame :)
|
| Looks like kids still do it today:
| https://www.youtube.com/watch?v=OWRv17qvM0s
| hyperific wrote:
| Granted, but can a plastic bottle be modified to make my
| bike sound like a Star Wars speeder bike?
| jcims wrote:
| Fun! Would be funner if it handled the money shift.
| elromulous wrote:
| If you liked this, y'all owe it to yourselves to checkout
| AngeTheGreat's channel. It's truly amazing work.
|
| https://youtube.com/@angethegreat
| fourteenfour wrote:
| Yeah, I always look forward to their new developments. This is
| similar to Ange's effort with SiliconX to add realistic engine
| sounds to an electric motorcycle though this appears to be for
| an electric race car.
| jkingsman wrote:
| Absolutely -- the procedurally generated fluid-sim engine sound
| generator is just wild:
| https://www.youtube.com/watch?v=2bJTkBsiTPc.
| kivle wrote:
| For a less scientific approach LAxemann has some interesting
| videos as well. He uses software synthesizers to create the
| sounds. His introductory video is quite interesting:
|
| https://www.youtube.com/watch?v=afvKUTIL4D8
|
| He has other examples and updates on his channel as well.
| Waterluvian wrote:
| This is amazing. I think a small amount of window dressing would
| make this a classic page people bookmark and return to frequently
| just for fun. Especially if that make it mobile friendly.
|
| Like even just two pedals and two flappy shifters on screen with
| all those other tools hidden behind a collapse or whatnot.
| gffrd wrote:
| If you downshift with RPM too high, UI breaks off and falls to
| floor of screen
|
| Whole Page turns red when you hit RPM limit
|
| Shift score. Can you pick the perfect shift point based on
| sound alone?
| fourteenfour wrote:
| The sequel to Dragster for Atari 2600!
| xnx wrote:
| Tangentially: Does anyone know where to find a collection of the
| low speed sounds emitted by electric vehicles (in the US at
| least)? I'd be interest to hear the different approach different
| manufacturers have taken.
| ricktdotorg wrote:
| i too would be very interested in this! i am for now a petrol
| head but continue to be fascinated and also mildly irked by the
| varying EV sounds.
|
| some sound like galactic spaceships, some like weapons, some
| like "blurred mechanical noise", and some are almost
| indescribable in words. some can be semi-nightmarish.
|
| i'd love to play with a soundboard that had all the different
| EV manuf sounds on it.
| dylan604 wrote:
| Shortly after moving into my current place, I would randomly
| hear this hum that for the life of me I could not figure out
| what it was. I had even looked at maps to look for some sort
| of place nearby that might make sense. It wasn't a constant
| hum, and there was seemingly no schedule for it. A week ago,
| I just happened to be in my drive way instead of the fenced
| backyard when I heard the noise. It was my neighbor's EV
| <facepalm>
| rootusrootus wrote:
| There was a short moment when I thought the future looked
| like no fumes and no noise (well, at least no engine noise;
| tires are quite loud at speed). And then the government
| decided that EVs should not be quieter than ICEVs, in fact
| they should be _louder_. And some of the hybrids on the
| roads (looking at you, Toyota) are the loudest of them all.
|
| Different strategies for different cars, though.
|
| My neighbor's Highlander hybrid is audible a couple blocks
| away as it comes into the neighborhood.
|
| Our old Bolt EV was not quite as loud, but still
| distinctive and never a surprise to anyone as it came down
| the street.
|
| My Model 3, however, makes a white noise sound going
| forward that you don't really notice aside from _very_ low
| (single digit) speeds in a very quiet environment. But in
| reverse, it howls pretty loudly, and is probably louder
| than any of the hybrids.
| dekhn wrote:
| https://www.youtube.com/playlist?list=PLWxrK_3LlEr9WsfOL8N41.
| ..
|
| I absolutely love the reverse sound my Toyota RAV4 Prime
| (hybrid) makes: https://www.youtube.com/watch?v=gUT94MBt_Ao
| To me, it sounds like the future. Sort of a hovering UFO.
| People's heads definitely turn when I back out of my
| driveway.
| ttul wrote:
| When I first got a RAV-4 hybrid, I had no idea that this
| sound was being pumped out of a speaker. I thought it was
| an artifact of the electric motor. As it happens, companies
| spend a lot of time designing their unique electronic sound
| as a signature of the vehicle. My dog has learned to
| recognize the sound and he barks when the car is as much as
| 1km away.
| xnx wrote:
| Video coincidentally posted today that details some of
| the design requirements of these sounds: "What should an
| electric car sound like?" (
| https://www.youtube.com/watch?v=ZnAGXvVNMB8)
| buildsjets wrote:
| I'm not going electric unless I can choose the Hampsterdance as
| my motor sound.
| rootusrootus wrote:
| I really hope we can get to a point where there are multiple
| approved sounds to choose from. If the car has to make noise,
| might as well be able to select from some options.
|
| Probably won't see Hampster Dance approved, however...
| addled wrote:
| On the one hand, yes!
|
| But more realistically, think of the headache of trying to
| keep your engine's Hampsterdance in sync with the
| Hampsterdance blaring from your car's stereo, (as it
| naturally would be).
|
| Not to mention all the other excellent tracks on
| https://en.m.wikipedia.org/wiki/Hampsterdance:_The_Album
| vardump wrote:
| Seems like a great choice.
|
| https://www.youtube.com/watch?v=6WpMlwVwydo
|
| I think I'll petition NHTSA etc. to make this song mandatory
| for electric vehicles.
| wumms wrote:
| i3 with Jetsons sound (fake but fun):
| https://www.youtube.com/watch?v=4NgSZ8sjDgU
| akira2501 wrote:
| I recently started getting something related in my youtube
| recommendations and that is the recordings of PWM motor signals
| from japanese and american trains[0]. There's also people
| building their own boards and motors to generate these same
| waveforms[1].
|
| [0]: https://www.youtube.com/watch?v=mgxlM_kiDL0 [1]:
| https://www.youtube.com/watch?v=i0B2bvd9rFQ
| HanClinto wrote:
| Absolutely delightful!
|
| This is way more fun than it has any right to be.
| explorigin wrote:
| Automation (game) does a pretty good job of simulating sounds:
| https://www.youtube.com/watch?v=GkU5KkF_L4I
| mosfets wrote:
| Anyone know good tutorials for simulating drone/airplane
| propeller sound?
| dylan604 wrote:
| That would be an awesome PsyOps sound to get people looking in
| the wrong direction
| hyperific wrote:
| This is a scary but incredible idea.
| dylan604 wrote:
| It'd probably much cheaper just to fly a set of drones in
| the area rather than deploy a full PsyOps team and gear.
| They do it with actual jets while the actual attackers are
| flying in fast and low from the opposite direction now that
| you've sortied your defensive aircraft towards the bait.
| draugadrotten wrote:
| Used to have fun back in my childhood playing Round Sounds
| from a set of speakers on the roof of the apartment building.
| People on the street started looking for the airplane.
|
| https://aircraftrecords.com/products/round-sounds-
| volume-1?v...
| genewitch wrote:
| wow, most of the time the engine sounds of cars designed to go
| 0-100 quickly sounds super generic, but this i can actually get
| to sound like two different cars i've owned. I could almost get
| it to sound like a Lancer Evo X but there's no blowoff or turbo
| sound... maybe in the next version!
| a2128 wrote:
| Looks like this uses soundbanks instead of actually simulating an
| engine like AngeTheGreat's simulator. The author of this one has
| published their source code here
| https://github.com/markeasting/engine-audio
| mywittyname wrote:
| Pretty cool!
|
| Downshifting under braking doesn't feel accurate. Most fast cars
| brake like 2-4x their acceleration rate, but in this sim, the
| braking feels more like 100x.
|
| The sound of an engine under decel is just as awesome as
| acceleration.
| jachee wrote:
| Deceleration is where you get fuel overrun and backfires, too!
| VrOOOOooomm-pa-pop-pow-ooooom.
| LoganDark wrote:
| Slightly off-topic, but I hate when people modify their
| engine / exhaust system to do this on purpose, just to be
| obnoxious. You're not cool, dude. You're just a jerk.
| jonwilks wrote:
| The smile on my face...
| jonwinstanley wrote:
| This is great!
|
| For a game I was making years ago, I tried to make a "crowd
| noise" generator. As in for a football/soccer match.
|
| But it was not my skillset and I failed miserably.
|
| Does anyone know of something that might get me started?
| rzzzt wrote:
| A non-procedural approach might be easier: collect loops of
| baseline murmurs / elevated cheering / peak ecstatic crowd and
| vary the volume of each based on what is happening on screen.
| If you have variants of each "energy level" you can also
| smoothly fade between them, queuing the next one randomly as
| the current version runs out. This way the wrap-around point
| should not be that noticeable.
|
| Something similar is done for music that varies according to
| gameplay intensity:
| https://en.wikipedia.org/wiki/Adaptive_music
| sangnoir wrote:
| This is sometimes known as "walla". This tutorial is specific
| to Sound Particle (audio app), but the basics can be
| implemented easily from scratch.
| https://youtu.be/nigFrC2mORk?si=Cktdb3aTrIs5vUbB
| rootusrootus wrote:
| More fun than I expected. Now I want more engine sounds. I wonder
| how hard it would be to contribute new engine models. Like, what
| is the recording process and processing required to build the
| source sounds.
| culebron21 wrote:
| I touch Theta param in the left part of it, and the sound
| disappears, all the numbers go mad into infinity and then become
| NaN. Also there's no sound if none is selected in controls, but
| changing anything in controls makes the same effect -- all params
| spiral into infinity. Not fun.
| numbsafari wrote:
| I've got one of these. It's called a toddler.
| genter wrote:
| I've also got one. It's called my jackass neighbor.
| jagged-chisel wrote:
| OT, sound simulator related:
|
| I recall a thunder simulator (generator?) from years ago. You
| could draw/modify a "line" representing the ground surface, give
| it a few seconds, and it would output thunder. Early-ish internet
| days, Java applet. Might have been on a university web site.
|
| I tried searching fairly recently and came up empty handed. Is it
| possible that _anyone_ here on HN might remember this and have a
| reference? I would settle for a paper.
| rzzzt wrote:
| Around 5000 RPM I get transported to the back seat of a two-
| stroke Trabant struggling to reach 70 km/h on a mild incline.
| giobox wrote:
| You can sort of "heel and toe" with the space and b keys, while
| shifting down. Use the same finger for both keys for added
| realism.
| jellydonut9 wrote:
| Partially related: I love the sounds of electric vehicles.
| They're so futuristic and weird! If you close your eyes, you can
| imagine a spaceship instead of a car.
| bring_back_sky wrote:
| Digital sound is criticized but creating fake analog sound is
| celebrated.
|
| [1] Hyundai Ioniq 5 N https://youtu.be/HZczpFsv9ZY
|
| [2] The Secret To Making Your Car Sound Like An Old F1 Racer Is
| Found Under Pressure https://jalopnik.com/the-secret-to-making-
| your-car-sound-lik...
___________________________________________________________________
(page generated 2024-07-03 23:00 UTC)