Manual Siren Script

Hey guys,

I was wondering if anyone is able to guide me as to how to create a script that allows you to manually control a siren, such as a fire truck mechanical siren where you can wind it up and down. The longer you hold it down, the louder it winds up, and when you let it go, it slowly winds down. Here is an example:

I have the audio file of it peaked out.

Any suggestions ?

What version of UE are you using?

The latest one

but would prefer it works for version 4

siren427.zip (4.3 MB)

Left click & hold to start siren, letting go makes it slow down.
Timeline curves can change the characteristic of the pitch and volume.

Edit if you want a different sound dynamic for the power down just use a separate timeline and then you change change the length of the curves too.

1 Like

Thank you, Will take a look at this.