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"

Get / Set Low Pass Filter does not appear to function at runtime

Summary Get / Set Low Pass Filter does not appear to function at runtime

Description An Audio Component contains a 'Filter' section in its Details, which includes a tick box to 'Enable Low Pass Filter' and place to set the 'Low Pass Filter Frequency'. Ticking the box and setting a value can be observed to apply a low pass filter when playing the game.

alt text

There are also nodes available in Blueprints which appear to allow the user to get and set these options. For example, 'Set Low Pass Filter Frequency' and 'Get Enable Low Pass Filter'.

alt text

It currently appears that if these are used within blueprints, they have no effect on an Audio Component at runtime.

Steps to reproduce

  1. Launch Unreal Editor 4.14.3.

  2. Create an instance of an Audio Component in any level.

  3. Access the Details pane for the Audio Component, and tick 'Enable Low Pass Filter'.

  4. Edit the level Blueprint and configure a 'Set Low Pass Filter Frequency' node to adjust the frequency of the filter in the Audio Component.

  5. Play the game and cause the 'Set Low Pass Filter Frequency' node to trigger.

Expected Results When in gameplay, triggering the 'Set Low Pass Filter Frequency' node should cause the frequency of the Low Pass Filter on the Audio Component to change.

Actual Results The 'Set Low Pass Filter Frequency' node appears to have no effect on the frequency of the Low Pass Filter on the Audio Component when in gameplay.

alt text

Product Version: UE 4.14
Tags:
details.jpg (11.0 kB)
blueprint1.jpg (15.3 kB)
blueprint2.jpg (28.0 kB)
more ▼

asked Apr 17 '17 at 10:08 PM in Blueprint Scripting

avatar image

JacobAlmond
68 2 6 9

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

1 answer: sort voted first

Hey mate,

Pretty sure this wont work in the current version of the engine, although audio enhancements are coming in 4.16 and will continue in future iterations of the engine.

You could try using a even tick tick to drive the filter change into a "lerp to" node and set the float variable that way. You could use some flow control nodes, perhaps a do once, if you still want to use your key input. You could also use a timeline to do modulate the float.

But unfortunately, like I said, pretty sure this functionality isn't supported.... yet!

more ▼

answered Apr 19 '17 at 12:05 PM

avatar image

SeparatistAudio
11 1

avatar image JacobAlmond Apr 19 '17 at 12:18 PM

Thanks for that. Some things to try there. :)

I have been watching the recent audio announcement vids from @minuskelvin (who is rewriting the entire audio engine!) so I am hopeful such things will be addressed and improved.

avatar image CometGoat Apr 19 '17 at 12:19 PM

This post couldn't have been better timed for me. Thanks for the suggestions!

avatar image JacobAlmond Apr 19 '17 at 12:25 PM

Glad to hear that. :) If you have any luck do chime in here with any further ideas, I will do the same. :)

(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