Hi 3PO
Thanks for this.
I've looked at the Model Radio Workshop 'Petrol Motor Sound Generator', but its a synthesised sound with a limited number of cylinders, not really what I need for the deep rumble of twin V8s in a Riva. Then I tried the Mtronics system, gives a startup and a running sound, better but engine sound has a delay and is very sensitive to throttle so its idle.. idle... then a frantic engine racing. And not adjustable in any way except volume.
So the solution I'm looking at is actually the earlier version that does not use the ESP32, its Arduino Pro Mini based, uses a PAM8403 as the amplifier, and I'm using an MP1854 to get the voltage down to 5V:
I've just added some header pins to start testing.
There a video illustrating the sound for this build here:
[size=78%]https://www.youtube.com/watch?v=pPlrx9yVI6E&t[/size]I know he's moved on to the improved ESP32 version, but I don't really need all those features yet.
My speaker is built in at the bow of my Aquarama, I'm hoping to use the cabin to enhance the sound, make it deeper with some resonance.
I'm not into the programming of the Arduino, but as you say I don't really need to be to use it. I do like the fact that various parameters can be adjusted in config files, and it's possible to use custom sounds. I've extracted the startup and running samples from a full sized Aquarama, then used a bin2hex tool to generate the correct format. The Arduino has such limited memory its tricky to get the sound files small enough. I'll get it put together on the bench and see what happens...
If this goes well maybe the ESP version next time, I'm thinking that as that version supports multiple sound streams concurrently it would be possible to run two engine streams with slight config timing changes so they resonate at different points, as the real engines do.
Will keep you updated.
Best regards
David.