我正在寻找 delphi 7 的卡拉 OK (mpeg) 组件。
从重复添加 我的意思是一个可以播放 mpeg 文件的组件,或者你想要一个特殊的卡拉 OK 组件来过滤音乐中的声音?
看看Ultrastar deluxe,一个基于 Pascal/Delphi 的开源 Singstar 克隆。
它现在使用 Free Pascal 来实现可移植性,但 afaik 最初使用的是 Delphi(可能仍然用于 win32 目标)
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:
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.