从一秒钟播放声音到另一秒钟 [英] play sound from one second to another second

查看:102
本文介绍了从一秒钟播放声音到另一秒钟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我要选择声音文件
例如从第二个12到第二个23

我该怎么办?


非常感谢;

解决方案

好,您将文件加载到媒体播放器中,将滑块移到正确的位置,然后推动播放.如果您想知道如何在代码中进行操作,则取决于您使用的语言和框架,但是本质是相同的,您可以在要开始的位置设置媒体播放器控件,并使用计时器要在到达终点时进行计算,或者如果控件具有更改时间的事件,则可以在其中进行检查.


hi i want paly a selection of sound file
for example from second 12 to second 23

how can i do it?


thanks a lot;

解决方案

Well, you load the file in to media player, move the slider to the right spot, and push play. If you mean how do you do it in code, it depends on what language and framework you''re using, but the essence is the same, you set up a media player control to the place you want to start, and use a timer to work out when it gets to the point you want it to end, or if the control has an event for time changing, you can check it in that.


这篇关于从一秒钟播放声音到另一秒钟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆