FMOD Unity playSound

Hi everyone,

I’m new with FMOD and I’m trying to do stuff with low level API. In particular I want to create a simple sinusoidal signal to play with FMOD.

This is my code. I tested it with Unity AudioClip and it works well, but when it come to FMOD I don’t know how to make it works. FMOD listener is set in scene (in fact events work correctly).

Am I doing something wrong?

This is my CreateSound function if it can be useful in some way. I’ve only took the signal and converted into byte array to pass it to FMOD playSound function.

FMOD functions will return an FMOD.RESULT, checking these is a good place to start when debugging.