我可以复制 iPod 库中存储的音频文件的一部分并以不同的名称保存吗?

发布于 2024-09-28 17:35:52 字数 503 浏览 7 评论 0原文

您好,我经过大量搜索并推断出:

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 技术交流群。

扫码二维码加入Web技术交流群
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文