Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个大约 2 秒长的声音,我已将它的 numberOfLoops 属性设置为 -1,但它在循环之间有 0.5 秒的延迟,我希望声音在循环时逐渐消失。请帮忙!
您可以尝试使用一些低级 API 来处理声音。我在 iPhone 上使用 OpenAL 取得了不错的效果。理想的循环也很难安静,因为您的音频文件应该具有例如几乎等效的参数(例如频率),以使人们在文件从头开始播放时听不到。