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. 

How to Reference SoundCue Parameters in BluePrints

Hey cats,

I was hoping if I could get any information on a procedure for referencing Parameterized SoundCue nodes (like Continuous Modulator, Crossfade by Param, etc.) via BluePrints. I'd like to use arbitrary float values in BPs to automate SoundCue nodes.

Thanks for all your help, - Dan

Product Version: Not Selected
more ▼

asked Mar 27 '14 at 02:26 AM in Blueprint Scripting

avatar image

41 2 5 7

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

1 answer: sort voted first

There are a number of SoundCue nodes that have as a property a Parameter Name, this name corresponds to the entries in the InstanceParameters property of an AudioComponent.

For placed ambient sound actors (and other actors that expose the properties of the AudioComponent) you can add values to the InstanceParameters. In Blueprints, anywhere you have a reference to an AudioComponent (either via a component variable or the return value of PlaySoundAttached (PlaySoundAtLocation doesn't currently return a reference to an AudioComponent which is something we're reevaluating)) you can call the Set Float/Wave/Bool/Int Parameter to change the value of the parameter that the SoundNode is using.

more ▼

answered Mar 27 '14 at 01:21 PM

avatar image

Marc Audy STAFF
2.2k 42 35 95

avatar image Dannthr Mar 28 '14 at 02:31 AM

Hey Marc, I really appreciate the help!

Thanks to your advice I was able to create a dynamic SoundCue with some basic real-time pitch control using the interpolation function.

I've attached pictures--if this seems like decent form, I'll make a short video tutorial on the process.

Cheers and thanks!

SoundCue Structure

Interpolation BluePrints for Real-Time Pitch Control

avatar image Marc Audy STAFF Mar 28 '14 at 01:32 PM

Great Dan, glad it worked for you. That setup looks exactly right. Only thing I might consider doing in some cases, depending on the needs would be caching off the output of the Play Sound Attached in to a variable, but that really is just for flexibility if your graph needs to be spread out.

Look forward to seeing the video.

avatar image metalgunner87 Jan 27 '16 at 03:07 AM

Yes, a video would be great! very interested in seeing how i can incorporate this into my own work. more BP audio stuff please!

(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