x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Editing a sound's Pitch and Speed based on an external variable

I am attempting to create a method in UE4 of storing certain settings of a character's voice externally in an xml file. Initially, I am wanting to store a set pitch and speed which can be read back in when the player approaches this character. Each character will have subtly different setting, the end goal is to have a number of characters that sound different, but utilize the same sound file.

I have been unable to find a way to change a sound's (or sound cue's) pitch and/or speed from a variable within a blueprint. Is there a way that I can change a sound's pitch and speed on the fly as the game is playing?

Please let me know below if you need any clarification or extra information. Any help at all is greatly appreciated.

Product Version: UE 4.7
Tags:
more ▼

asked May 28 '15 at 07:59 AM in Blueprint Scripting

avatar image

TimeTraveller
5 2 3 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hello!

You have a "Set pitch multiplier" blueprint function, to be applied on the audio component. Otherwise you can add a Continuous modulator sound node within your Sound Cue, associate it to any parameter name, and change this parameter from the blueprint using the "Set float parameter" function.

However notice that only volume and pitch may be modified this way - if you're talking about modifying speed without altering the pitch, nothing is provided by UE4.

Also, pitch modification is broken on Android due to the lack of support by Android.

more ▼

answered May 28 '15 at 08:10 AM

avatar image

G4m4
690 27 15 34

avatar image TimeTraveller May 28 '15 at 09:33 AM

Thank you! That should do fine :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question