从跑步声音剪辑中剪辑声音
有人知道如何从运行的声音文件中剪切声音片段吗?我正在开发一个黑莓应用程序,有人有任何示例代码或链接吗?请给我。
谢谢
问候 V·辛格
Does anybody know how to cut a sound clip from running sound file? I am working on one blackberry application, Is anybody have any sample code or link please give me that.
Thanks
Regards
V Singh
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
可以剪切声音文件的一部分。您必须研究声音文件格式并处理声音文件二进制结构。
不,我没有示例代码,但您可以在研究声音文件格式后自己编写。
It is possible to cut a part of sound file. You have to study sound file formats and deal with sound file binary structure.
No, I don't have sample code, but you can write it by yourself, after studying sound file formats.
//剪切声音文件的示例代码(AMR)
long startTime =player.getMediaTime();
长结束时间=player.getMediaTime();
//Sample code to cut a sound file(AMR)
long startTime = player.getMediaTime();
long endTime = player.getMediaTime();