Hello I have a problem With setting up Sound
My first Problem is with Speakers When i play .WAV normaly in blender it plays ok but as soon i try to play it in Armory Player 3 thing happen with sound
1.It becomes super loud
2.It becomes High Pitched
3.It Becomes super speed up
My second problem is with “Play Speaker” “Play Sound” Nodes
No matter what i do it won’t play the sound.
What’s Weird about those problems is that in the example file “sound” the sound from speaker plays normally but only the the file that is in the exmaple when i put my file its distorted.
Hi, its difficult to narrow down to exactly what the actual issue is. But I can provide a few trouble shooting steps.
Kha, the framework Armory is built on mainly supports wav (sample rate: 44100Hz 16 bit) type of audio data. So please ensure that your audio is in such format. If your sound plays at high/ low pitch, there is chance that the sample rate of the audio is not well suited for Kha
As for this issue, try putting your audio files in the ProjectFolder/Bundled folder. And set the sound quality in armory settings to 0.9
More trouble shooting includes checking the blender debug console to see if any errors/ warnings appears.
If you still could not resolve the issue, please post a small test file here.
Edit: Please also mention your OS and the version of Armory you use in your reply.
Okay, Here is the “fixed” file. Run and press “b” to play sound:
I noticed 2 issues:
The pitch is definitely due to the audio sampling not matching that of armory’s sample rate. Forcing armory to use a different sample rate makes the sound much closer to the original. Although I am not 100% sure if Armory is at fault or the audio file is at fault
The node trait was not applied to any object / scene. So the even if the trait exists, it never executes because it is not applied to any object/ scene.