登录
首页 » 多媒体 » 利用API函数[mciSendString]可以轻松实现MP3音乐文件的播放。下面这段程序实现了MP3播放的大部分常规操作,对其稍加修改,做一个100KB大小的

利用API函数[mciSendString]可以轻松实现MP3音乐文件的播放。下面这段程序实现了MP3播放的大部分常规操作,对其稍加修改,做一个100KB大小的

于 2022-02-09 发布 文件大小:957.00 B
0 162
下载积分: 2 下载次数: 1

代码说明:

利用API函数[mciSendString]可以轻松实现MP3音乐文件的播放。下面这段程序实现了MP3播放的大部分常规操作,对其稍加修改,做一个100KB大小的MP3播放器轻而易举 启动VB程序,在窗体上放置6个命令按钮,三个标签,一个公用对话框、一个进度条、一个状态栏和一个计时器,窗本的布置请参考附图 按钮"Open MP3 File"是用来打开对话框选择MP3文件,其他5个按钮分别为Play(播放)、Pause(暂停)、Stopplay(停止播放)、Back(向后跳跃)、Prew(向前跳跃)。Label1用来表示歌曲当前时间;label2放在时度条的最左边,Caption属性为"00:00";lable3放在时度条的右边,用来表示歌曲总长。 下面就可以编写代码了。首先在窗体的"通用声明"部分声明函数-The use of API function [mciSendString] easily play MP3 music files

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 输入一句话,按回车键,你的电脑会说你。它要求…
    Type a sentence and press enter and your computer will speek to you. It requires a speech engine that implements JSAPI and include links to some that work great. Full source code included
    2022-03-14 21:06:12下载
    积分:1
  • 声音和视频中的裸身信息
    这个项目是在音频或视频文件中的隐藏文字文件上和,不影响该卷上的可能性与重新提取一次再次的优势项目之一还包含另一个文件以打开该项目是"密钥文件",使隐藏的文件更安全
    2022-03-06 04:08:14下载
    积分:1
  • 时间 显示 改变背景
    时间 显示 改变背景-time to change the background shows
    2023-06-08 10:10:04下载
    积分:1
  • 与mfc中的cstring一样功能的,c语言代码,非常好
    与mfc中的cstring一样功能的,c语言代码,非常好-with mfc cstring the same function, c language code, a very good
    2023-05-05 23:10:03下载
    积分:1
  • Thank you download other people's two original author. Compiler Note :* 7 3...
    下载别人的谢谢原作者2. 程序编译说明:用3*7数组定义21个音阶。读取已有的自编的乐谱文件,按文中内容奏乐,若文中有不合规定的字符,显示”press any key to exit”。用getmsckey()函数来得到频率数组坐标,用play()函数获取拍数及频率数组坐标。-Thank you download other people"s two original author. Compiler Note :* 7 3 array definition 21 chromatic. Readers have written the scores of documents, according to the text content of music, if the text were irregularities of the characters, shows that the "press any key to exit." With getmsckey () function to get the frequency array coordinates with play () function to obtain the number and frequency shoot array coordinates.
    2022-08-03 17:26:46下载
    积分:1
  • 根据h.264iut
    根据h.264iut-t代码,开发的视频解码程序,非常经典的,已编译过,附带一个应用的列子,直接运行便可以观看视频图像,数据保存在txt文件中-under h.264iut-t code, the development of video decoding process, very classic, has been compiled. Application of a fringe Liezi direct operation can watch video images, data stored in the document txt
    2022-07-15 12:11:55下载
    积分:1
  • The AVIVIEW sample is a simple AVI viewing application using the read/write APIs...
    The AVIVIEW sample is a simple AVI viewing application using the read/write APIs in AVIFile.
    2022-02-04 16:15:55下载
    积分:1
  • This is a receiver filters source code
    这是一个接收过滤器源代码-This is a receiver filters source code
    2023-08-15 21:35:03下载
    积分:1
  • 简简单单MP3(SimpleMP3)/小巧的MP3播放器,支持M3U列表,能缩到任务栏 开发环境:vc++6.0,先用Wizard做一个Dialog型的模板,然...
    简简单单MP3(SimpleMP3)/小巧的MP3播放器,支持M3U列表,能缩到任务栏 开发环境:vc++6.0,先用Wizard做一个Dialog型的模板,然后逐步修改、完善 想模仿WINAMP,但并不象,见笑了-simple MP3 (SimpleMP3)/compact MP3 player, support for M3U list can be cut back to the task bar development environment : vc 6.0, using a Wizard Dialog- do template and then gradually changes to imitate alpha perfect, but it does not like, laughed at the
    2022-03-05 01:39:01下载
    积分:1
  • linux下的扫雷游戏
    linux下的扫雷游戏-the mine game
    2022-04-11 06:48:15下载
    积分:1
  • 696518资源总数
  • 105885会员总数
  • 31今日下载