Engine sound for Car Racing Game

Hi all, greetings from Portugal!

I'm developing a multiplayer multilevel car race game and I'm trying to push all the limits of App Inventor.

Something similar to https://play.google.com/store/apps/details?id=com.Applimazing.Ultimate_Racing_2D&hl=en_US

The car is already running well (with physics envolved).

For now I'm trying to simulate a sound engine and it's not easy. Tried with sound beep, frequencies, etc.
Now I've tried making good loops of engine sounds and playing them seamlessly changing their pitch with the mrSound.aix extension, but there are problems with the extension, it doesn't stop the sound even after loop disabled and stop.

The other option would be to generate sound by formula, but only if I create an extension for that (maybe I will do that I don't know).

What do you suggest?

Thanks, cheers!
António

You might use GitHub - Engine-Simulator/engine-sim-community-edition: Combustion engine simulation game that generates realistic audio. and save sounds as mp3 to use in your app. Does it work? No idea but it might.

Hi, thanks.
The problem is not making engine sound loops, I've managed to do that pretty well similar to https://www.youtube.com/watch?v=GRMnN6Xd-yU

I would only need the mrSound extension working well.
An extension that can play and loop a sound and change the pitch would do the job pretty well, and with the advantage that I can put real engine sounds :slight_smile:

Have you tried the Player, with pre-recorded engine sounds at various pitches?
You can run multiple Players simultaneously.

To do realistic sound engine it must be derived directly to the speed, so it must be sound formula or a pitch formula, a formula.
Here is what I've achieved MiauRace.v3.apk - Google Drive
Sound from Toyota Ke20 2JZ https://www.youtube.com/watch?v=Szk2siJHJ7o

Hi there.
Here is what I've achieved so far. Still going ...

What do you think?
Thanks :slight_smile:

Care to share the aia project, so we can actually see what and how you are doing it ?