delphi 7 的卡拉 OK (mpeg) 组件
我正在寻找 delphi 7 的卡拉 OK (mpeg) 组件。
从重复项中添加 我的意思是一个可以播放 mpeg 文件的组件,或者您想要一个特殊的卡拉 OK 组件来过滤音乐中的声音?
I am looking for karaoke (mpeg) component for delphi 7.
Added from duplicate
I mean a component that can play mpeg files or do you want a special karaoke component that filters the voices from the music?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看看 Ultrastar deluxe,一个基于 Pascal/Delphi 的开源 Singstar 克隆。
现在它使用 Free Pascal 来实现可移植性,但据我所知最初使用的是 Delphi(也许仍然用于 win32 目标)
Have a look at Ultrastar deluxe, an open source Singstar clone based on Pascal/Delphi.
It now uses Free Pascal for portability, but afaik used Delphi originally (and maybe still for win32 target)
如果您试图从 mpeg 剪辑中过滤人声,那么您将很难做到这一点。这里的问题是你试图从音频信号中过滤掉可变频率,随着时间的推移你不知道它会是什么。您可能能够实现的最接近的事情是一些录音故意记录左右声道之间90度异相的音轨,在这种情况下您可以“取消”人声轨道通过将音频与异相 90 度的相同信号组合起来,但我相信 MPEG 压缩无论如何都会因为其空间压缩而否定这一点。
所以不,我不相信这是可以做到的,你最好尝试找到音乐配乐并将其与视频剪辑结合起来然后播放它。
如果您只是尝试在视频剪辑上显示文本(即覆盖),那么您可能需要查看:
寻找 OSD 组件
如果您还需要在 Delphi 中播放视频文件,您可以使用内置媒体播放器(TMediaPlayer)或其他视频组件(例如 TVideograbber http://www.datastead.com) - 后者支持屏幕上的覆盖/文本。
If you are trying to filter the vocals from a mpeg clip, then you are going to have a hard time trying to do this. The issue here is you are trying to filter out a variable frequency from the audio signal, which over time you have no idea what it is going to be. The closest thing that you may be able to achieve is some audio recordings deliberately record the voice track 90 degrees out of phase between the left and right channels, in which case you can 'cancel' the vocal track out by combining the audio with the same signal 90 degrees out of phase, but i beleive that MPEG compression will negate that anyways due to its spacial compression.
So no, i dont beleive this can be done, you will be better off trying to find the musical soundtrack and combining it with the video clip then playing this.
If you are simply trying to display text over a video clip (i.e. overlay) then you may want to look at:
Looking for a OSD component
If you also need to play video files in Delphi you can use the built in media player (TMediaPlayer) or another video component (such as TVideograbber http://www.datastead.com) - the latter supports overlay/text over screen.