is it possible make a music player in UE4?

i mean i can load audio files from disk at runtime(WIN7 64),and play it.
is it possible with fmod?
c++ or blueprint?
any tutorial?
thanks for attention

The normal workflow is to author the music in Studio and then play events in Unreal.

However if you want to trigger manual loading and playing of sounds there are two ways to do it.

First is you can use the FMOD C++ API directly. You can get a handle to the FMOD system with IFMODStudioModule::Get().GetStudioSystem(EFMODSystemContext::Runtime). Given that system, you can get the access to the low-level system, and then load and play sounds:

http://www.fmod.org/documentation/#content/generated/FMOD_System_CreateSound.html

http://www.fmod.org/documentation/#content/generated/FMOD_System_PlaySound.html

Alternatively you can create FMOD Studio events with programmer sounds on them, and then use Blueprint or C++ to select the sounds to play. See the following:

http://www.fmod.org/documentation/#content/generated/engine_ue4/programmer_sounds.html

1 Like

Cool!
I will try
Thank you very much