登录
首页 » C# » C#录音并播放示例源码(wav/mp3格式)

C#录音并播放示例源码(wav/mp3格式)

于 2019-04-08 发布
0 217
下载积分: 1 下载次数: 0

代码说明:

C#录音并播放示例源码(wav/mp3格式)

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

发表评论

0 个回复

  • c# winform 拖拽特效 例子源码
    c# winform 拖拽特效 例子源码
    2014-12-16下载
    积分:1
  • android 调用 C# webservice 例子完整源码(含android 和webservice源码)
    android 调用 C# webservice 例子完整源码(含android 和webservice源码)
    2014-10-22下载
    积分:1
  • C#控制雷赛驱动器单轴点位运动
    C#控制雷赛驱动器单轴点位运动
    2020-11-29下载
    积分:1
  • C# 坦克大战、打地鼠等游戏 源码下载
    坦克大战、打地鼠等游戏
    2015-04-29下载
    积分:1
  • LFM信号产生
    LFM信号产生
    2021-05-06下载
    积分:1
  • 自动登录qq空间,获取最近访客列表.
    自动登录qq空间,获取最近访客列表.using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace WindowsFormsApplication1{ public partial class Form1 : Form { Timer terAutologin = new Timer(); public Form1() { InitializeComponent(); terAutologin.Enabled = true; terAutologin.Interval = 3 * 1000; terAutologin.Tick = ter_Tick; } void ter_Tick(object sender, EventArgs e) { if(wb1.Document==null) { return; } HtmlElement dialog_content_1 = wb1.Document.GetElementById("dialog_content_1"); if (dialog_content_1 == null) { return; } var frame = wb1.Document.Window.Frames[0]; if (frame==null) { return; } if (frame.Document==null) { return; } // iframe HtmlElement u = frame.Document.GetElementById("u"); u.InnerText = "171586098"; HtmlElement p = frame.Document.GetElementById("p"); p.InnerText = "*************"; p.SetAttribute("value", "********"); HtmlElement login_button = frame.Document.GetElementById("login_button"); login_button.InvokeMember("click"); terAutologin.Stop(); } private void Form1_Load(object sender, EventArgs e) { ssl1.Text = string.Empty; txtUrl.Text = "http://user.qzone.qq.com/14371939"; wb1.ScriptErrorsSuppressed = true; wb1.Navigate("http://user.qzone.qq.com/14371939/main"); } private void btnGO_Click(object sender, EventArgs e) { if (!string.IsNullOrEmpty(txtUrl.Text)) { wb1.Navigate(txtUrl.Text); ssl1.Text = txtUrl.Text " Navigated"; } } private void wb1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { System.Diagnostics.Trace.WriteLine(e.Url.ToString()); // http://g.cnc.qzone.qq.com/cgi-bin/friendshow/cgi_get_visitor_simple?uin=4371939&type=1&mask=3&rd=0.7801240284461528&_=1397644130601&g_tk=9281770 ssl1.Text = e.Url.ToString() " Completed"; tryRead(); } private void btnTest_Click(object sender, EventArgs e) { tryRead(); } private void tryRead() { if (wb1.Document == null) { return; } HtmlElement pagediv = wb1.Document.GetElementById("visitor_list_page_con"); if (pagediv==null) { return; } //若分页内容存在,则表示已经加载过了. if(pagediv.Children.Count>0) { handlerAbc(null,null); return; } //模拟点击 "最近访客" var aa = pagediv.Parent.Parent.FirstChild.Children[2]; aa.InvokeMember("click"); //给访问列表的容器绑定一个事件...回调时就能获取到. HtmlElement guestlist = pagediv.Parent.FirstChild; //ul.RaiseEvent guestlist.AttachEventHandler("onpropertychange", new EventHandler(handlerAbc)); } private void handlerAbc(Object sender, EventArgs e) { HtmlElement div = wb1.Document.GetElementById("visitor_list_page_con"); HtmlElement guestlist = div.Parent.FirstChild; if (guestlist.InnerHtml.IndexOf("QZONE.FrontPage.showLoginBox") > -1) { HtmlElement alogin = guestlist.GetElementsByTagName("a")[0]; alogin.InvokeMember("click"); // 使用定时器.检测登录窗口的出现.. terAutologin.Start(); return; } else { System.Text.StringBuilder sb = new StringBuilder(); // 取回里面的内容? foreach (HtmlElement li in guestlist.Children) { string qq = li.GetAttribute("uin"); string visitname = li.Children[1].FirstChild.InnerText; string visittime = li.Children[1].Children[1].InnerText; sb.AppendLine(qq visitname visittime); } MessageBox.Show(sb.ToString()); } } }}
    2014-04-18下载
    积分:1
  • winform 玻璃按钮(仿vista)控件源码
    winform 玻璃按钮(仿vista)控件源码
    2018-10-16下载
    积分:1
  • 仿优酷播放器源码、视频网站源码(ffmpeg.exe实现)
    仿优酷播放器源码、视频网站源码(ffmpeg.exe实现)
    2014-07-22下载
    积分:1
  • C入门金典书.pdf
    C语言入门金典书C语言程序设计.pdf
    2021-05-06下载
    积分:1
  • C#中使用开放平台的流程
    1、网站申请注册成为应用开发者,就会产生一个appkey2、当用户点击相应的同步按钮,判断用户是否已经使用Oauth 2.0授权1)若没有,引导需要授权的用户到如下地址https://api.weibo.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&response_type=code&redirect_uri=YOUR_REGISTERED_REDIRECT_URI2)如果用户同意授权,页面跳转至 YOUR_REGISTERED_REDIRECT_URI/?code=CODE3)获得Access Token 入库3、调用statuses/upload_url_text接口,发布文字或图片   参数  access_token: 被授权用户的access_tokenstatus:要发布的微博文本内容 pic_id:已经上传的图片pid,多个时使用英文半角逗号符分隔 
    2013-11-06下载
    积分:1
  • 696518资源总数
  • 106242会员总数
  • 10今日下载