# How to add idle, mid, max, engine sounds to flying pawn?

**URL:** <https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919>\
**Category:** Audio\
**Tags:** unreal-engine, question\
**Created:** [September 16, 2018, 11:19pm UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919 "2018-09-16T23:19:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e0db53a0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e0db53a0](https://forums.unrealengine.com/u/anonymous_user_e0db53a0)\
**Post date:** [September 16, 2018, 11:19pm UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/1 "2018-09-16T23:19:00Z")

</div>

I have three wav files,  
idle thrust sound.wav  
running thrust sound.wav  
max thrust.wav

I have a custom mesh as a flying craft,

[[Album] imgur.com ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/2/662a6ccc558769e0d79e00e2d15263428c6df582.jpeg "imgur.com") ](https://imgur.com/a/qIothoY)

i did all that by following a tutorial here:

  
don’t know much about blueprints but in this video tutorial the guy shows what I want except it’s for a car, and not for a flying craft, but it’s in russian lol

---

<div class="post-metadata">

**Author:** ![CKong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CKong](https://forums.unrealengine.com/u/CKong)\
**Post date:** [September 17, 2018, 1:46am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/2 "2018-09-17T01:46:32Z")

</div>

Basically, you will need:

+) Add an Audio component to your flying craft blueprint.  
+) Add 3 audio cue variable to hold the file path to your sound option.  
+) A variable to know which state your flying craft are in(idle, mid, max)

Then based on the state variable, you get the suitable audio cue variable and assign it to the audio component’s audio cue.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e0db53a0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e0db53a0](https://forums.unrealengine.com/u/anonymous_user_e0db53a0)\
**Post date:** [September 17, 2018, 3:12am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/3 "2018-09-17T03:12:01Z")

</div>

Thank you very much for your help, I was hoping for a picture example of how it would look in the blueprint or , I’ve added the audio component to my flying ship, i’ve added the wav files in unreal engine, I know how to attach single sound to the aircraft but that’s as far as i got without watching or seeing someone else do it,

again thank you for those pointers,

---

<div class="post-metadata">

**Author:** ![CKong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CKong](https://forums.unrealengine.com/u/CKong)\
**Post date:** [September 17, 2018, 4:51am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/4 "2018-09-17T04:51:36Z")

</div>

Well, right now I can’t use unreal engine so I can’t give you a picture example. Either you have to wait for someone else to do it, or until I get home in 7 more hours =w=

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e0db53a0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e0db53a0](https://forums.unrealengine.com/u/anonymous_user_e0db53a0)\
**Post date:** [September 17, 2018, 5:06am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/5 "2018-09-17T05:06:56Z")

</div>

I see, no problem, i’ve got other stuff to do too, waiting is no big deal, please do post an example when you can, looking forward to it.

i’ll be back here to check after 7 or or eight hours,

see ya

---

<div class="post-metadata">

**Author:** ![CKong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CKong](https://forums.unrealengine.com/u/CKong)\
**Post date:** [September 17, 2018, 9:04pm UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/6 "2018-09-17T21:04:12Z")

</div>

Hello mate,

Sorry for the delay. Anyway, first you need to set up 3 sound cue variable, and make sure you assign the correct sound cue to each variable default value, idle sound cue to idleSoundCue variable,… Then next you need to add 1 audio component your blueprint. Finally, set up a function that update your engine sound based on your speed, which can either be a float value or enum,…

 ![253942-01.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/6/6462b54e2411ce682bad26220387160ea5790c3e.png)

 ![253943-02.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/4/4d4ffebcac2cd9d52d8d650ca31cb22f84ad05ee.png)

 ![253945-03.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/7/c/b7c72288c55cc0f5c0273467bca19d21af6363ff.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e0db53a0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e0db53a0](https://forums.unrealengine.com/u/anonymous_user_e0db53a0)\
**Post date:** [September 17, 2018, 11:01pm UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/7 "2018-09-17T23:01:19Z")

</div>

Awesome! About to try all this and let you know how it works later,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e0db53a0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e0db53a0](https://forums.unrealengine.com/u/anonymous_user_e0db53a0)\
**Post date:** [September 18, 2018, 12:00am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/8 "2018-09-18T00:00:38Z")

</div>

OK I copied everything precisely but no sound, i get nothing for audio,  
here is how my setup looks like

[[Album] imgur.com ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/a/5fa334f227c274935ca4b30e7d57ea603bf9f78d.jpeg "imgur.com") ](https://imgur.com/a/X2B0xSS)

video of actual game running in editor, maybe it’ll help

[![]( " - YouTube") ](https://www.youtube.com/watch?v=UXFoI4FE2_Q)

---

<div class="post-metadata">

**Author:** ![CKong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CKong](https://forums.unrealengine.com/u/CKong)\
**Post date:** [September 18, 2018, 1:42am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/9 "2018-09-18T01:42:19Z")

</div>

When did you call Update engine audio function? That function need to be call whenever you update your speed. At the moment, you can tried to drag it out in Event graph and connect it to begin play node.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e0db53a0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e0db53a0](https://forums.unrealengine.com/u/anonymous_user_e0db53a0)\
**Post date:** [September 18, 2018, 1:59am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/10 "2018-09-18T01:59:39Z")

</div>

like this?

[[Album] imgur.com ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/f/5/7f5c8f1a87cf2f61ba6d538a8692001e4d4a8e2e.jpeg "imgur.com") ](https://imgur.com/a/ky9nDOE)

---

<div class="post-metadata">

**Author:** ![CKong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CKong](https://forums.unrealengine.com/u/CKong)\
**Post date:** [September 18, 2018, 2:25am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/11 "2018-09-18T02:25:37Z")

</div>

Yep, did it work?

---

<div class="post-metadata">

**Author:** ![XevotPhoenix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XevotPhoenix](https://forums.unrealengine.com/u/XevotPhoenix)\
**Post date:** [September 18, 2018, 2:43am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/12 "2018-09-18T02:43:29Z")

</div>

You need a cue with a “Crossfade by param” node. Add one input for each available sound.  
Then in an actor with an AudioComponent: 1) set the audio component to use your cue, 2) On the tick event call “Set Float Parameter” to your component.

Reference:

- [Sound Cue Reference | Unreal Engine Documentation](https://docs.unrealengine.com/en-us/Engine/Audio/SoundCues/NodeReference#crossfadebyparamnode)
- [http://api.unrealengine.com/INT/BlueprintAPI/Effects/Components/ParticleSystem/SetFloatParameter/index.html](http://api.unrealengine.com/INT/BlueprintAPI/Effects/Components/ParticleSystem/SetFloatParameter/index.html)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e0db53a0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e0db53a0](https://forums.unrealengine.com/u/anonymous_user_e0db53a0)\
**Post date:** [September 18, 2018, 2:45am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/13 "2018-09-18T02:45:41Z")

</div>

nope, no sound, maybe looking again at that tutorial for space ship physics sim might help?

that's exactly how i made my blueprint,

---

<div class="post-metadata">

**Author:** ![CKong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CKong](https://forums.unrealengine.com/u/CKong)\
**Post date:** [September 18, 2018, 2:59am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/14 "2018-09-18T02:59:50Z")

</div>

Well, I will look into it when I get back home. Until then, let us just leave it just like that, thankfully it is not gonna get in the way of your other work

---

<div class="post-metadata">

**Author:** ![XevotPhoenix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XevotPhoenix](https://forums.unrealengine.com/u/XevotPhoenix)\
**Post date:** [September 18, 2018, 3:02am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/15 "2018-09-18T03:02:06Z")

</div>

Related discussion about “Crossfade by param”: [How does the Crossfade by Param node work? - Audio - Unreal Engine Forums](https://answers.unrealengine.com/questions/56392/view.html)

Also it seems AdvancedVehicle project template is using this solution so definitely check it out.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e0db53a0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e0db53a0](https://forums.unrealengine.com/u/anonymous_user_e0db53a0)\
**Post date:** [September 18, 2018, 3:10am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/16 "2018-09-18T03:10:08Z")

</div>

thanks guys, will do some reading then

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e0db53a0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e0db53a0](https://forums.unrealengine.com/u/anonymous_user_e0db53a0)\
**Post date:** [September 18, 2018, 3:51am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/17 "2018-09-18T03:51:00Z")

</div>

ok i got this far [Imgur: The magic of the Internet](https://imgur.com/a/GmQdxea)  
now how to add speed of spaceship to that and make it give different sounds, idle, mid, max etc

for the left and right engines

---

<div class="post-metadata">

**Author:** ![XevotPhoenix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XevotPhoenix](https://forums.unrealengine.com/u/XevotPhoenix)\
**Post date:** [September 18, 2018, 4:35am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/18 "2018-09-18T04:35:57Z")

</div>

1. Correct the fade in/out values, they are currently all zero. Volume must be close to 1.

2. The sound result will change depending on the settings and the value:

![253960-pin.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/1/0/e10b3705bd03a2962dd84ff7ad13f747bdd23249.png)

You need to connect it e.g. with the current thrust or speed.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e0db53a0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e0db53a0](https://forums.unrealengine.com/u/anonymous_user_e0db53a0)\
**Post date:** [September 18, 2018, 5:31am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/19 "2018-09-18T05:31:00Z")

</div>

There is sound now, yay!

like you said I just have to mess with the settings, but the engine power variable is set to 80,000 should I use that as a base for the values for crossfade in/out?

[[Album] imgur.com ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/d/cfd77d2d6ffd5fd3abf33fc95ace68523e3a7ed9.jpeg "imgur.com") ](https://imgur.com/a/ubgDUSV)

---

<div class="post-metadata">

**Author:** ![XevotPhoenix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XevotPhoenix](https://forums.unrealengine.com/u/XevotPhoenix)\
**Post date:** [September 18, 2018, 6:09am UTC](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919/20 "2018-09-18T06:09:07Z")

</div>

Exactly, these values are relative to what you provide from the blueprint with the “Set float parameter”.

[Next page](https://forums.unrealengine.com/t/how-to-add-idle-mid-max-engine-sounds-to-flying-pawn/433919.md?page=2)
