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. 

Loading and manipulating sound assets in c++

Hey guys, I would appreciate it if someone could point me in the right direction for a couple of doubts I have:

Basically, I am looking for a way to print out all names of sound files in a folder to a text/xml/config file, along with their current volume multipliers, so that they can be changed without entering the game or building a new project

1) I would need to walk through the list of assets in a particular folder in the Content folder of the project (say, one called "Audio"), check which assets are audio files, and get all of their filenames. What would be the easiest way to do this?

2) I also would need to apply all the volume multipliers to said audio files, after reading the values from the text/xml/config file.

As I understand, I'll need to do some file IO for the writing and reading to file part, but I havent been able to figure out how to approach the bit for accessing content browser assets in code. Could someone point me in the right direction for that? Am I going wrong in how im logically approaching this?

Any help would be much appreciated! :)

Product Version: UE 4.11
Tags:
more ▼

asked Jan 18 '17 at 07:13 AM in C++ Programming

avatar image

aashishvasu
10 2 9 7

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

0 answers: sort voted first
Be the first one to answer this question
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