我可以复制 iPod 库中存储的音频文件的一部分并以不同的名称保存吗?
您好,我经过大量搜索并推断出:
1)我可以从 iPod 库查询特定的音频文件,并可以使用 MPMusicPlayerController 库播放它。但问题是我无法复制这首歌的一部分并以不同的名称保存。
2)使用AVAudioPlayer我可以修改或复制音频文件的一部分,但问题是音频文件必须存在于应用程序的资源文件夹中。它不允许我从 iPod 库中选择文件。
我的要求是从 iPod 库中选择一个文件,并以不同的名称保存同一音频文件的一部分。请建议如何实现这一点。有一个应用程序正在执行类似的任务,但我无法弄清楚它是如何完成的。
http://itunes.apple.com/us/app /custom-ringtone-creator/id394095644?mt=8
任何建议将不胜感激。提前致谢
Hi I have went through a lot of searching and have deduced that
1) I can query for a specific audio file from Ipod Library and can play it using MPMusicPlayerController Library. But the problem is I cannot copy a part of this song and save it with diffrent name.
2) Using AVAudioPlayer I can modify or copy a part of an audio file but the problem is the audio file must be present in Application's resource folder. It doesnot allow me to choose a file from Ipod Library.
My requirement is to choose a file from Ipod Library and save a part of the same audio file with diffrent name.Please suggest how this can be achieved. There is one application which is doing similar task, but I cannot figure out how it is doing it.
http://itunes.apple.com/us/app/custom-ringtone-creator/id394095644?mt=8
Any suggestions would be highly appreciated. Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请参阅此处:
http://www.iphonedevsdk.com/forum/iphone-sdk-development/62807-export-audio-m4a-alac.html iphonedevsdk.com/forum/iphone-sdk-development/62807-export-audio-m4a-alac.html
See here:
http://www.iphonedevsdk.com/forum/iphone-sdk-development/62807-export-audio-m4a-alac.html