简体   繁体   English

Unity-音频文件在iPhone和iPad上播放不佳

[英]Unity - audio files play badly on iPhone and iPad

Suddenly all my sounds sound really weird on the iphone and ipad, but they still sound ok in the Editor. 突然间,我在iphone和ipad上的所有声音听起来真的很奇怪,但是在编辑器中听起来仍然不错。 On the devices they sound similar to if they were played through a bad telephone connection over speaker - or if they were recorded with poor quality. 在设备上,它们的声音听起来像是通过扬声器的电话连接不良而播放的,或者录制质量较差。 And again, this only happens on the iPhone and iPad devices, in Unity itself it's all fine. 再说一次,这仅发生在iPhone和iPad设备上,在Unity本身中就很好。

Things I tried already: 我已经尝试过的事情:

  • I have 3D sound disabled on the audio files 我在音频文件上禁用了3D声音
  • on the AudioSource, I have Bypass Effects, ByPass Listener Effects and Bypass Reverb Zones all set to 'true' 在AudioSource上,我将“旁路效果”,“旁路听众效果”和“旁路混响区”都设置为“ true”
  • Doppler Level is set to 0 多普勒电平设置为0

A while ago this was all good, and it may have happened when I updated to Unity 4.5.4 and XCode 6.0.1. 前一阵子一切都很好,当我更新到Unity 4.5.4和XCode 6.0.1时可能发生了。 But I can't say that for sure. 但是我不能肯定地说。

Any ideas what that could be? 任何想法可能是什么?

found it! 找到了! The problem was that in the Audio Settings 'Volume' was set 100 for some strange reason. 问题在于,出于某些奇怪的原因,在“音频设置”中将“音量”设置为100。

So - on the MAC the volume was set to small that's why it played ok - but on the iPhone it tried playing the loud sound so the speakers just went mad.... 因此-在MAC上音量设置得很小,这就是为什么它可以正常播放-但在iPhone上它尝试播放大声的声音,所以扬声器发疯了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM