# Packaging Game with Audio Visualization Plugin

**URL:** <https://forums.unrealengine.com/t/packaging-game-with-audio-visualization-plugin/16696>\
**Category:** C++\
**Tags:** unreal-engine, Engine-Source-Code, GitHub\
**Created:** [December 7, 2014, 10:08pm UTC](https://forums.unrealengine.com/t/packaging-game-with-audio-visualization-plugin/16696 "2014-12-07T22:08:16Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e61ecb23](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e61ecb23](https://forums.unrealengine.com/u/anonymous_user_e61ecb23)\
**Post date:** [December 7, 2014, 10:08pm UTC](https://forums.unrealengine.com/t/packaging-game-with-audio-visualization-plugin/16696/1 "2014-12-07T22:08:16Z")

</div>

[Same thread on AnswerHub](https://answers.unrealengine.com/questions/143656/packaging-game-with-audio-visualization-plugin.html)

After searching, I know it’s been posted about a handful of times, with no real solution having come of it. I’ve been working on this very issue today, here’s what I’ve found:

The build error caused is UnrealBuildTool: ERROR: Couldn’t find module rules file for module ‘Kiss\_FFT’.

 ![build_error.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/a/9a23b6631b1b37acbfd6164866146dba28860620.jpeg)

[Kiss FFT is the fast fourier transform library](http://sourceforge.net/projects/kissfft/) that Epic has relied on to make their SoundVisualisation plugin, and Epic has not updated that plugin since it’s original release with UE4.0.

From what I can tell, this error occurs because the implementation of the Kiss FFT library is set to only work inside the editor, and thus no .Build.cs file was created for that module. When you attempt to package a project requiring the module, it cannot be found, and the packaging fails.

I was working in a Blueprint-only project, so I first attempted to generate Visual Studio project files. This did nothing. I ended up downloading the UE 4.6 source code from github, and recompiling the engine in order to gain access to the source code for the SoundVisualization plugin. Once I had recompiled, I converted my project to the new version of UE 4.6 and opened everything up.

A couple things I noticed:

SoundVisualizationStatics.cpp contains code that has been wrapped in #if WITH\_EDITORONLY\_DATA directives. I first thought this may be an issue, so I replaced the code with #if PLATFORM\_WINDOWS as I’m not building for anything else right now. This did nothing. The same file has a debug line that claims this:

```auto

UE_LOG(LogSoundVisualization, Warning, TEXT("Get Amplitude does not work for cooked builds yet."));

```

That’s obviously not super descriptive… I’ve never seen this debug line appear in any of my logs, either.

There is a .Build.cs file for the SoundVisualization plugin, and it does attempt to include the Kiss\_FTT as a third party dependency, as shown below:

```auto

 AddThirdPartyPrivateStaticDependencies(Target, "Kiss_FFT");

```

I saw elsewhere on the answerhub that someone had success with a similar issue by changing this line to PublicDependencyModuleNames.Add(“Kiss\_FFT”);, but this did not work.

Finally, I noticed the engine’s source code actually does come with a version of Kiss\_FFT, which you’ll find in “…/Source/ThirdParty/Kiss\_FFT”. This is version 1.29 of Kiss\_FFT (the latest version is 1.30), but it should still work fine. Sure enough, this directory contains a .Build.cs file for Kiss FFT, which contains the following line:

```auto

// Compile and link with kissFFT
         string Kiss_FFTPath = UEBuildConfiguration.UEThirdPartySourceDirectory + "Kiss_FFT/kiss_fft129";

```

While this seems to be pointing to the appropriate path, maybe it needs to be modified?

I’m pulling my hair out here, any help would be hot!

---

<div class="post-metadata">

**Author:** ![Illusionweaver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Illusionweaver](https://forums.unrealengine.com/u/Illusionweaver)\
**Post date:** [December 8, 2014, 4:40pm UTC](https://forums.unrealengine.com/t/packaging-game-with-audio-visualization-plugin/16696/2 "2014-12-08T16:40:58Z")

</div>

I have the same issue for a client’s project I’m working on, anyone can shed some light on this?

---

<div class="post-metadata">

**Author:** ![Ben\_Marsh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ben\_Marsh](https://forums.unrealengine.com/u/Ben_Marsh)\
**Post date:** [December 9, 2014, 7:38pm UTC](https://forums.unrealengine.com/t/packaging-game-with-audio-visualization-plugin/16696/3 "2014-12-09T19:38:19Z")

</div>

Apologies - it’s being optimized out of the launcher builds by our build process, because nothing we ship in the launcher build uses it directly (it’s also missing the static library to link against for the SoundVisualizations plugin, and only has the editor DLL). I’ll make sure it’s in the next release.

In the meantime, you might want to try getting the source from GitHub. Both the Kiss\_FFT library is there ([https://github.com/EpicGames/UnrealEngine/tree/release/Engine/Source/ThirdParty/Kiss\_FFT](https://github.com/EpicGames/UnrealEngine/tree/release/Engine/Source/ThirdParty/Kiss_FFT)) and all the source for the SoundVisualizations plugin ([https://github.com/EpicGames/UnrealEngine/tree/release/Engine/Plugins/Runtime/SoundVisualizations/Source/SoundVisualizations/Private](https://github.com/EpicGames/UnrealEngine/tree/release/Engine/Plugins/Runtime/SoundVisualizations/Source/SoundVisualizations/Private)). You’ll need to be logged in to GitHub to follow those links.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e61ecb23](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e61ecb23](https://forums.unrealengine.com/u/anonymous_user_e61ecb23)\
**Post date:** [December 9, 2014, 10:20pm UTC](https://forums.unrealengine.com/t/packaging-game-with-audio-visualization-plugin/16696/4 "2014-12-09T22:20:28Z")

</div>

Hey , thanks for the reply, and I’m super excited to hear that you’ll be including a fix in the next release!

I actually have already downloaded the 4.6 source code via github, and recompiled the engine. The error I’ve posted about above is the error I receive when attempting to compile my game built on that engine version, and I do have source access to both the SoundVisualizations plugin as well as the Kiss\_FFT library. I still receive the build error.

My inexperience is showing here, but is it as simple as moving the Kiss\_FFT library into a new directory? The error “_cannot find rules module_” seems to me like it’s just simply got a wrong path to the Kiss\_FFT library, looking for an out-of-place .Build.cs file. Is there a configuration file somewhere I should update with the appropriate path? Or am I missing something here that should be obvious?

Either way, thanks so much for all the effort, . I’m having a blast with Unreal.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_098d4c49](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_098d4c49](https://forums.unrealengine.com/u/anonymous_user_098d4c49)\
**Post date:** [December 17, 2014, 6:26pm UTC](https://forums.unrealengine.com/t/packaging-game-with-audio-visualization-plugin/16696/5 "2014-12-17T18:26:13Z")

</div>

Is there any update on this ? Seems like the Github solution doesnt work at the moment. I just would love to release my Christmas themed game before Christmas.

---

<div class="post-metadata">

**Author:** ![Ben\_Marsh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ben\_Marsh](https://forums.unrealengine.com/u/Ben_Marsh)\
**Post date:** [December 18, 2014, 7:14pm UTC](https://forums.unrealengine.com/t/packaging-game-with-audio-visualization-plugin/16696/6 "2014-12-18T19:14:25Z")

</div>

I’m sorry, I misunderstood your problem. I don’t know any specifics about that particular plugin, but I had a quick look at it.

First, it sounds like you haven’t downloaded the binary files for the GitHub build. There’s a section in the [README](https://github.com/EpicGames/UnrealEngine/blob/release/README.md) which explains how to do that, and the precompiled Kiss\_FFT library is part of those. Git doesn’t handle binary files very well because it stores every revision of them, so we have a separate system for downloading them.

The WITH\_EDITORONLY\_DATA macros are by design, because the SoundVisualization plugin relies on editor-only member variables in USoundWave to run (things like ChannelOffsets and ChannelSizes). You might be able to remove those too, I’m not sure, but you’d have to try doing all that yourself. We can certainly ask our new audio engineer to have a look at it when he starts, as [Doug mentioned](https://answers.unrealengine.com/questions/144483/packaging-game-fails-with-audio-visualization-plug.html).

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_098d4c49](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_098d4c49](https://forums.unrealengine.com/u/anonymous_user_098d4c49)\
**Post date:** [January 7, 2015, 1:03pm UTC](https://forums.unrealengine.com/t/packaging-game-with-audio-visualization-plugin/16696/7 "2015-01-07T13:03:17Z")

</div>

Thanks a lot ! I ended up doing the animations manually.

Will the visualization plugin work out of the box in 4.7? I still think about working on a new project with it.

---

<div class="post-metadata">

**Author:** ![Ben\_Marsh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ben\_Marsh](https://forums.unrealengine.com/u/Ben_Marsh)\
**Post date:** [January 7, 2015, 1:37pm UTC](https://forums.unrealengine.com/t/packaging-game-with-audio-visualization-plugin/16696/8 "2015-01-07T13:37:09Z")

</div>

It won’t, no. It’s a quite fringe feature, so it’s probably better to implement it yourself if you need it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cfd6c1df](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cfd6c1df](https://forums.unrealengine.com/u/anonymous_user_cfd6c1df)\
**Post date:** [January 18, 2016, 9:32pm UTC](https://forums.unrealengine.com/t/packaging-game-with-audio-visualization-plugin/16696/9 "2016-01-18T21:32:03Z")

</div>

Its been almost a year is there any word on this feature?

---

<div class="post-metadata">

**Author:** ![SG1Wolf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SG1Wolf](https://forums.unrealengine.com/u/SG1Wolf)\
**Post date:** [March 21, 2016, 12:35am UTC](https://forums.unrealengine.com/t/packaging-game-with-audio-visualization-plugin/16696/10 "2016-03-21T00:35:13Z")

</div>

Someone has actually fixed this plugin. It requires you to load in an ogg file from the hard disk but it is better than not working at all. [https://forums.unrealengine.com/showthread.php?94974-eXi-s-Sound-Visualization-Plugin-(works-in-cooked-builds)](https://forums.unrealengine.com/showthread.php?94974-eXi-s-Sound-Visualization-Plugin-(works-in-cooked-builds))

---

<div class="post-metadata">

**Author:** ![eXi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/exi/32/906583_2.png) [@eXi](https://forums.unrealengine.com/u/eXi)\
**Post date:** [March 21, 2016, 6:07pm UTC](https://forums.unrealengine.com/t/packaging-game-with-audio-visualization-plugin/16696/11 "2016-03-21T18:07:34Z")

</div>

> [@SG1Wolf;496913](#):
>
> Someone has actually fixed this plugin. It requires you to load in an ogg file from the hard disk but it is better than not working at all. [https://forums.unrealengine.com/showthread.php?94974-eXi-s-Sound-Visualization-Plugin-(works-in-cooked-builds)](https://forums.unrealengine.com/showthread.php?94974-eXi-s-Sound-Visualization-Plugin-(works-in-cooked-builds))

That someone is me (:

Feel free to share it. The Source for it is open. You can modify it and add more file types to it.  
Make sure to make PullRequests if you have any cool changes!

---

<div class="post-metadata">

**Author:** ![SG1Wolf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SG1Wolf](https://forums.unrealengine.com/u/SG1Wolf)\
**Post date:** [March 23, 2016, 5:46am UTC](https://forums.unrealengine.com/t/packaging-game-with-audio-visualization-plugin/16696/12 "2016-03-23T05:46:28Z")

</div>

> [@eXi;497371](#):
>
> That someone is me (:
> 
> Feel free to share it. The Source for it is open. You can modify it and add more file types to it.  
> Make sure to make PullRequests if you have any cool changes!

It is a great plugin and I thank you for making it work. If I decide to return to active C++ coding, I’ll see what I can contribute.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f315265b1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f315265b1](https://forums.unrealengine.com/u/anonymous_user_f315265b1)\
**Post date:** [November 18, 2021, 5:46pm UTC](https://forums.unrealengine.com/t/packaging-game-with-audio-visualization-plugin/16696/13 "2021-11-18T17:46:00Z")

</div>

Hi, that link doesn’t seem to exist anymore. Can you please share it again?
