Force Feedback Effect Curve to Wav
You can create audio assets for haptic vibrations from vibration curves using the Force Feedback Effect Curve to WAV tool.
Installation
To run this tool in Unreal Engine, you need to install the SciPy library in the engine's Python environment.
1) Find and copy the path to the Python executable in your current Unreal Engine build. Python will be located in the following path within the engine folder: \Engine\Binaries\ThirdParty\Python3\Win64\python.exe.
2) Open the command prompt, paste the Python path, add -m pip install scipy, and press Enter.
3) The library is now installed, and the tool is ready for use.
Using the Tool
To open the tool window in Unreal Engine, go to Tools -> Execute Python Script. In the file explorer, find the script in the audio repository at the path sprw-audio\Scripts\Unreal\FFECurveToWav\FFECurveToWav.py and select it. After the first launch, the tool will appear under Tools -> Recent Python Scripts.
The tool window will open
1) In the first field, enter the reference to the Force Feedback Effect asset from which you want to generate sound. If Ctrl+C doesn't work, switch your keyboard layout to English.
2) In the second field, select the frequency of the future signal.
3) In the third field, choose the index of the curve (Force Feedback Effect assets often have two vibration curves, and you'll need to select one of them to generate the sound).
4) Click Generate and save the generated WAV file.






