简体   繁体   English

Iphone SDK:播放“系统声音”

[英]Iphone SDK: Play a “system sound”

I want my IOSDevice to play a sound.我希望我的 IOSDevice 播放声音。 Not just some sound that has a format, but a sound litteraly produced by the system.不仅仅是一些有格式的声音,而是系统产生的声音。 Pretty much like a buzzer or like a very old cellphone or the most famous of all - the NES!很像一个蜂鸣器或一个非常旧的手机或最有名的 - NES!

How can i do that without using non-apple frameworks?如果不使用非苹果框架,我怎么能做到这一点?

I'm pretty sure that Apple won't let you access things such as system sounds.我很确定 Apple 不会让您访问诸如系统声音之类的东西。 You mentioned NESynth, but I believe that those sounds were produced with mp3 files, not through the system itself.你提到了 NESynth,但我相信这些声音是用 mp3 文件产生的,而不是通过系统本身产生的。 You could do something similar in your project.你可以在你的项目中做类似的事情。

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

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