使用axWindowsMediaPlayer重复媒体文件的扇区 [英] Repeating sectors of media file using axWindowsMediaPlayer

查看:79
本文介绍了使用axWindowsMediaPlayer重复媒体文件的扇区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个简单的项目来打开媒体文件,然后输入文档,很难再听两次,然后暂停媒体播放器以便输入你的内容听,然后启动媒体播放器并听取部分媒体并将其保存到您的脑海中然后再花钱...等等。

I have a simple project to open media file then typing to document , It is very difficult that listening twice times more then pausing mediaplayer in order typing you have listen ,then start mediaplayer and listen part of media and save it to your mind and then puase ... etc

我的项目是将媒体文件划分为多个扇区(一些由用户确定的秒数)这些扇区开始播放,直到限制最后一个位置+秒如前所述确定并重复一次(也由用户确定),但是
有时特定扇区可能以某些字的中等结束,所以如何检测静音点,例如,如果我的扇区长度是7秒,我应该自动增加到8秒,以便听到完全记录噪音的最后一个字
,例如呼吸声被认为是沉默或其他除了人类之外,所有声音的沉默都指向

My project is to partitioning media file into sectors (some seconds determined by user) these sectors is starting playing until limit last postion + seconds determmined by as mentioned before and repeats that some times (also determined by user) ,but sometimes the specific sector may ends at medium of somewords so how to detect silence point ,,for example if my sector length is 7 seconds i should increase automaticaly into say 8 second in order to hear the last word completely having that recording noisy for example breathing sound is considered as silence or in other word the silence points that all any sound unless human

打开并播放文件在这些

中是有效但有挑战 - 将用户自己确定的自定义长度划分为

- Sectoring file into custom length determined by user

- 重复以上行业

- 考虑沉默点并将扇区扩展到更长时间直到听到完整的单词

- Considering silence point and expand sectors seconds into more until the word heared completyely

Esmat

Esmat

推荐答案

我认为你不能使用axWindowsMediaPlayer。 您必须将媒体文件解码为某种未编码格式,例如PCM。 一旦你拥有PCM,扫描安静时间并不是非常困难。 一旦你知道安静的
期间,我想你可以暂停并恢复播放。 或者,为了获得更多控制,您可以直接将PCM样本写入音频系统。

I don't think you will be able to use axWindowsMediaPlayer for this.  You will have to decode the media file to some uncoded format, like PCM.  Once you have it PCM, it's not terribly hard to scan for quiet periods.  Once you know the quiet periods, I suppose you could pause and resume the playback.  Or, for more control, you could write the PCM samples to the audio system directly.

这将是一个有趣的项目。

It'd be a fun project.


这篇关于使用axWindowsMediaPlayer重复媒体文件的扇区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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