You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started this issue here but I found out it was a separate problem.
I have been testing the audio with Krom builds and after reading this in the forums I realized the audio has been playing well with some devices (a bluetooth speaker) but hasn't play well with others (a headphone and laptop's speaker).
Description
Krom builds plays the audio with a different pitch when the system's sound device doesn't match 44100hz, this is because that value is hardcoded in Krom's audio backend. When I manually put my system's audio sample rate on lines 13 and 14 the audio plays with the correct pitch.
This issue could be solved by getting the system's sample rate from the Krom's backend and assign that value when initializing, but I have no idea on how to do that.
To Reproduce
On Windows:
Open 'Sound Settings' from the taskbar
Select current audio device from 'Output'
Verify the frequency
if it's 44100hz the audio will reproduce well
if it isn't 44100hz the audio will reproduce with a different pitch (in my case most of my audio devices are 48000hz and they play at a higher pitch)
Expected behavior
To play audio with the correct pitch if the system's sample rate is different from 44100hz.
System
Blender: 3.6.11 LTS
Armory: from this commit
OS: Windows 11 Pro (x64)
Graphics card: NVIDIA GeForce RTX 3050 Ti Laptop
I started this issue here but I found out it was a separate problem.
I have been testing the audio with Krom builds and after reading this in the forums I realized the audio has been playing well with some devices (a bluetooth speaker) but hasn't play well with others (a headphone and laptop's speaker).
Description
Krom builds plays the audio with a different pitch when the system's sound device doesn't match 44100hz, this is because that value is hardcoded in Krom's audio backend. When I manually put my system's audio sample rate on lines 13 and 14 the audio plays with the correct pitch.
This issue could be solved by getting the system's sample rate from the Krom's backend and assign that value when initializing, but I have no idea on how to do that.
To Reproduce
On Windows:
Expected behavior
To play audio with the correct pitch if the system's sample rate is different from 44100hz.
System
Blender: 3.6.11 LTS
Armory: from this commit
OS: Windows 11 Pro (x64)
Graphics card: NVIDIA GeForce RTX 3050 Ti Laptop
Test File
Can be tested with the sound example.
The text was updated successfully, but these errors were encountered: