如何打开文件“MP3”二进制和广播他们 [英] How To Open files "MP3" of binary and broadcast them
问题描述
你好朋友
我正在用VB6语言编写一个可以阅读文本的应用程序(TTS)
记录的是162音频文件读取任何单词
并开始阅读WindowsMediaPlayer
但是当我开始读取CPU的大量空间时很忙
那是因为每次你读这个词重新加载音频文件
我认为如果我能在Ram中保存音频文件会更好
带扩展名的音频文件MP3打开二进制文件
和存储的变量一样
每当我需要它时我会玩它
Binary类型的音频文件打开了什么,我们播放它们
请帮帮我。谢谢
Hello friends
I am writing an application with VB6 language that can read text (TTS)
It is recorded that 162 audio files to read any word
And began to read the WindowsMediaPlayer
But when I began to read a lot of space of the CPU busy
That's because every time you read the word to re-load the audio file
I think that if I can save audio files in Ram would be better
The audio files with the extension "MP3" to open a Binary do
And the stored variables do
I play whenever I needed it
What do the audio files of type Binary open and we play them
Help me please . Thank you
推荐答案
有多媒体控制器可以播放文件。这是一个相当简单的解释,但.WAV可以这种方式打开。
Private Sub Form_Load()
MMControl1.FileName =C:\ WINDOWS \ MEDIA \ music.WAV
MMControl1.Command =打开
End Sub
There are options with multimedia controller to play files. It is rather simple explanation, but a .WAV can be opened this way.
Private Sub Form_Load()
MMControl1.FileName = "C:\WINDOWS\MEDIA\music.WAV"
MMControl1.Command = "Open"
End Sub
这篇关于如何打开文件“MP3”二进制和广播他们的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!