Author Topic: Changing sound based on input  (Read 1121 times)

0 Members and 1 Guest are viewing this topic.

Offline Domagoj TTopic starter

  • Frequent Contributor
  • **
  • Posts: 505
  • Country: hr
Changing sound based on input
« on: January 13, 2021, 09:47:45 pm »
A potential client asked if I'd be interested in building (among other, much simpler, things) a system which would simulate a jet airliner sound based on throttle lever position. It's for an aircraft simulator targeted at 5-10 year old kids in a playground type of facility, so there is no particular need to go overboard with fanciness, and it's really not important what airplane it sounds like as long as it roughly sounds like jet engines reving up and down based on throttle lever position.
Quite frankly, I have no idea what is this technique called and what keywords I should search for  :-//
I'd like to avoid having to install a full PC with MFSX and HOTAS, so a standalone microcontroller solution would be optimal.

One idea I have in my mind is using an off the shelf solution in a form of a model train sound decoder, but I have no idea how would I go about replacing the sound in it, or more specifically how to engineer the sound (formats, structure etc).
This might work, but has its own issues, so I'm trying to investigate better options.
Any thoughts?
 

Offline Domagoj TTopic starter

  • Frequent Contributor
  • **
  • Posts: 505
  • Country: hr
Re: Changing sound based on input
« Reply #1 on: January 13, 2021, 09:56:39 pm »
Hmm, just stumbled upon this little gem:
https://www.electroschematics.com/sound-generator-jet-engine-aircraft/

It just might be a solution to my problem. I'll see if I can buy the 2844 tomorrow and build the thing.

Of course, I'm still open for other suggestions.
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 7187
  • Country: de
Re: Changing sound based on input
« Reply #2 on: January 13, 2021, 10:02:28 pm »
Buy an "Arbitrary Waveform Generator" on the web somewhere. They can be had for 50...100 Euros, go for a two-channel (or more) model.

Then play around with the sounds.

For a jet engine you'll need white noise and a varying sine wave (or perhaps another shape) mixed together.
When you've found the right sound, you'll also know how to build it.

« Last Edit: January 13, 2021, 10:14:59 pm by Benta »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->