Questions et réponses de la communauté

Bienvenue sur le forum de questions et réponses d'Audiokinetic, propulsé par la communauté. C'est l'endroit où les utilisateurs de Wwise et Strata s'entraident. Pour obtenir une aide directe de notre équipe, veuillez utiliser la page « Tickets de soutien ». Pour signaler un bug, utilisez l'option Bug Report dans l'Audiokinetic Launcher. (Veuillez noter que les rapports de bug soumis au forum questions-réponses seront rejetés. L'utilisation de notre système de rapport de bug dédié garantit que votre rapport est vu par les bonnes personnes et a les meilleures chances d'être corrigé.)

Pour obtenir rapidement les meilleures réponses, suivez ces conseils lorsque vous posez une question :

  • Soyez précis : qu'essayez-vous de réaliser ou quel est le problème spécifique que vous rencontrez ?
  • Pensez à inclure les détails importants : incluez des détails tels que les versions de Wwise et du moteur de jeu, le système d'exploitation, etc.
  • Expliquez ce que vous avez essayé de faire : indiquez aux autres les mesures que vous avez déjà prises pour essayer de résoudre le problème.
  • Concentrez-vous sur les faits : décrivez les aspects techniques de votre problème. Se concentrer sur le problème aide les autres personnes à trouver rapidement une solution.

0 votes
Hello. 
 
I am working currently on a student project, we are using Wwise integrated with Unity 4.
I have made a 3D sound in the scene, set up the positioning with my desired attenuation, But for some reason the sound's position is reversed.
When my player is standing left to the object I hear it on the right side and vice versa.
 
To fix that I reverse the input in the AkSoundEngine, but I am sure there is a better way to fix it. 
 
  public static AKRESULT SetListenerPosition(float FrontX, float FrontY, float FrontZ, float TopX, float TopY, float TopZ, float PosX, float PosY, float PosZ, uint in_ulListenerIndex) {
    AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetListenerPosition(-FrontX, FrontY, FrontZ, TopX, TopY, TopZ, PosX, PosY, PosZ, in_ulListenerIndex);
//The ForntX is reversed "-FrontX" In Order to make the sound positioning play accurately
 
I am sure the problem runs deeper then that, any thoughts what might be the real problem? Or where to look?
Thanks In Advance
dans General Discussion par Dani K. (180 points)

1 Réponse

0 votes
 
Meilleure réponse

I just tested this in a new project, and I don't see the issue. Here's what I did:

  1. Create a new project, using the Character Controller and Terrain standard packages
  2. Create a new terrain, and add the First person controller to the scene
  3. Install the Wwise Unity Integration, pointing it to my Wwise project
  4. Create a cube, and, from the Wwise Picker, Drag & Drop the bank and event related to the 3D sound on the cube
  5. In Wwise, generate the banks
  6. In Unity, preview the scene, and walk around the cube

When I perform the above steps, the positionning is correct. Off the top of my head, have you thought of looking at the transform if the GameObject where the AkAudioListener script is attached (it should be on the Main Camera)?

par Benoit S. (Audiokinetic) (16.0k points)
sélectionné par Benoit S. (Audiokinetic)
Thanks for your answer, I figured it out. I had an Aux splitter that allows me to connect more the 2 Aux cables into the same jack, and that was causing the problem, Thanks anyway :)
Hello, had exactly the same problem here. This topic helped me figure out that my headphones were reversed -_-
Sometimes dumbest problems require greatest efforts...
Thanks anyway !
...