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"

Sound files .wav are played everywhere

So I exported some audio files as 16 bit PCM from Audacity and then imported them in UE4. I noticed that they play everywhere on the map even though you assign a specific location for them via blueprints. For example: The sound file "Collapse01" plays everywhere but "Collapse_Cue" actually works. What do I need to do to make all .wav sound files applicable to be played at said location instead of everywhere on the map? Thanks.

Product Version: UE 4.9
Tags:
more ▼

asked Sep 18 '15 at 10:10 AM in Blueprint Scripting

avatar image

c0ldpr0xy
31 6 8 12

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

1 answer: sort voted first

You need to set an Attenuation Setting(you can create one in content browser) or enable Override Attenuation in the sound's properties in sound wave, sound cue or the ambient sound you place in the level. Then you'll be able to set and adjust Spatialization parameters as you like to make it a 3d sound.

more ▼

answered Sep 18 '15 at 11:07 AM

avatar image

Jacky
16.8k 671 167 677

avatar image c0ldpr0xy Sep 18 '15 at 12:10 PM

Thanks for this, this fixed most of the sounds except ONE. What could be the problem? Using same scripts/blueprints but when I replace it with the said sound, that one just won't work. Does it have to do something with its codec or some crap?

avatar image Jacky Sep 18 '15 at 12:14 PM

Does it play in the content browser?

avatar image c0ldpr0xy Sep 18 '15 at 12:51 PM

Yes. I tried both activating it straight from an event "Play sound at location" and also tried making an actor "Ambient Sound" and then play it from there. None of it seems to work only with this sound.

avatar image c0ldpr0xy Sep 18 '15 at 07:02 PM

Any idea man?

avatar image G4m4 Sep 18 '15 at 07:09 PM

It only works with mono sounds, make sure yours is.

avatar image c0ldpr0xy Sep 18 '15 at 08:57 PM

Thanks G4m4, as simple as that, that was the problem. Converted it to mono using Audacity and voila. Cheers bud

(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