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

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

于 2022-02-09 发布 文件大小:957.00 B
0 76
下载积分: 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 个回复

  • with two channel function fades out of the MP3 player, can play two MP3 files an...
    具有2通道淡入淡出功能的MP3播放器,可以同时播放2个MP3文件并适时进行控制。其他功能还有强大的播放列表部分和可更换Skin。 -with two channel function fades out of the MP3 player, can play two MP3 files and timely controls. Other features include powerful playlists and replacement parts Skin.
    2022-01-30 17:22:53下载
    积分:1
  • 音频技术源代码
    音频技术源代码-midi_src-audio technology source code-midi_src
    2022-02-20 11:49:02下载
    积分:1
  • 在windows下播放FLASH的C++源码.实现了对FLASH的控制..全屏.播放
    在windows下播放FLASH的C++源码.实现了对FLASH的控制..全屏.播放-windows in broadcasting FLASH C source code. FLASH realization of the right to control the whole .. Ping. broadcast, etc.
    2022-10-24 16:40:03下载
    积分:1
  • 线性PCM到A律pcm的Verilog编码源程序
    线性PCM到A律pcm的Verilog编码源程序-Linear PCM to the Verilog code pcm A law source
    2022-07-23 15:40:02下载
    积分:1
  • 使用DirectSound播放wave文件
    使用DirectSound播放wave文件 -Using directsound to play wave file
    2022-01-23 10:26:47下载
    积分:1
  • This is a KDevelop project to make a control for the Logitech Quickcam Express....
    This a KDevelop project to make a control for the Logitech Quickcam Express. This program is compatable with the new v4l2 drivers on the 2.6.x kernel. There are only 4 controls that work. They are 1. Exposure 2. Gain 3. White Color Balance 4. Auto Gain. The last one is only on or off. Just untar the file. cd to the directory where the files were untared. Do the command ./configure then make then make install. The executiable will be put in your bin directory. Just give the command logitechcamctrl . That should do it. Dancie.-This is a KDevelop project to make a control for the Logitech Quickcam Express. This program is compatable with the new v4l2 drivers on the 2.6.x kernel. There are only 4 controls that work. They are 1. Exposure 2. Gain 3. White Color Balance 4. Auto Gain. The last one is only on or off. Just untar the file. cd to the directory where the files were untared. Do the command ./configure then make then make install. The executiable will be put in your bin
    2022-05-27 19:17:41下载
    积分:1
  • on "MPEG
    关于“MPEG-4 音频CELP的编解码程序 ”-on "MPEG-4 audio codec CELP the procedure"
    2022-03-23 00:52:38下载
    积分:1
  • 一个TTS程序,需要SPEECH SDK库,代码用dephi6,我没有仔细看过...
    一个TTS程序,需要SPEECH SDK库,代码用dephi6,我没有仔细看过-a TTS procedures, require SPEECH SDK library, with dephi6 code, I did not read carefully
    2022-05-07 20:25:19下载
    积分:1
  • C#编写的音频播放器,可以播放mp3、wav,wma等格式
    C#编写的音频播放器,可以播放mp3、wav,wma等格式-C# prepared by the audio player that can play MP3, WAV, WMA formats.
    2022-01-26 00:49:26下载
    积分:1
  • 一个简单小巧而又功能绝对优秀的播放器。能够支持现在常见的几十种文件,包括强大的DVD播放功能。并支持MP3,WAV文件的转换。对了,此播放器播放DV...
    一个简单小巧而又功能绝对优秀的多媒体播放器。能够支持现在常见的几十种多媒体文件,包括强大的DVD播放功能。并支持MP3,WAV文件的转换。对了,此播放器播放DVD时不受区域码限制,还有一点,就是能播放一种已经被美国政府禁止使用的DVD码! -a simple compact and functional absolutely outstanding multimedia players. It is now common to support the dozens of multimedia files, including the powerful DVD playback functions. And supports MP3, WAV document conversion. Right, this DVD player when not broadcast region code restrictions, another point it can broadcast a government of the United States has prohibited the use of the DVD code!
    2023-04-23 09:45:07下载
    积分:1
  • 696522资源总数
  • 104042会员总数
  • 18今日下载