语音交互开发
文章平均质量分 83
语音识别开发,语音合成开发,语音搜索开发,语音互动开发
尹成
尹成微信18510341407,助理微信18514203048
展开
-
微软语音技术 Windows 语音编程初步
一、SAPI简介软件中的语音技术包括两方面的内容,一个是语音识别(speech recognition) 和语音合成(speech synthesis)。这两个技术都需要语音引擎的支持。微软推出的应用编程接口API,虽然现在不是业界标准,但是应用比较广泛。SAPI全称 The Microsoft Speech API.相关的SR和SS引擎位于Speech SDK开发包中。这个语音引擎原创 2008-12-13 21:43:00 · 22545 阅读 · 27 评论 -
一个集成微软语音识别技术与语音朗读的类,基于Microsoft SpeechAPI5.1的开发
//////////////////////////////////////////////////////////1,生成动态连接库时,要#define USE_SPEECH_DLL,// 并且#define LANE_SPEECH_EXPORTS//2,使用动态连接库时,要#define USE_SPEECH_DLL//3,声称和使用静态连接库时,什么都不需要//4,另外主程序中原创 2008-12-13 21:45:00 · 14142 阅读 · 35 评论 -
使用VC++6.0+microsoft speech API 实现语音识别示例
如何用C++ 来完成一道语音识别的填空题: #include windows.h>#include sapi.h>#include stdio.h>#include string.h>#include atlbase.h>#include "sphelper.h"//Copyright (c) Microsoft Corporation. All rights reserved.in原创 2008-12-13 21:49:00 · 8652 阅读 · 65 评论 -
VC++如何编写一个语音识别的类for Micosoft speech Api5.1
1)在构造语音类之前,必须先设置好工程环境: a、从微软官方网站下载windows speech sdk并安装,然后在Visual Studio 6.0中进行相关设置,在Project Setings选项的C++选项卡的“分类:预处理器”添加“,__WIN32_DCOM”(为预先初始化COM组件成功); b、将预处理头文件选项选中“自动使用预补偿页眉”; c、在常规选项卡中选择“实用M原创 2008-12-13 21:53:00 · 13345 阅读 · 32 评论 -
一个基于WinCE平台的语音识别例子,利用微软speechAPI5.0
#include #include #include #include #include #include "sphelper.h" inline HRESULT BlockForResult(ISpRecoContext * pRecoCtxt, ISpRecoResult ** ppResult){//创建语音识别 HRESULT hr = S_OK; CSpEvent ev原创 2008-12-13 22:09:00 · 15344 阅读 · 49 评论 -
一个基于WinCE平台的语音朗读例子,利用微软speechAPI5.0
#include "stdafx.h"#include "atlbase.h"#include int _tmain(int argc, TCHAR* argv[]){ HRESULT hr=S_FALSE; WCHAR wcBuff[MAX_PATH]; int i; if( argc { //--- Give out a helpstrin原创 2008-12-13 22:12:00 · 14641 阅读 · 31 评论 -
一个基于Windows Vista speech API5.3以及WPF技术的语音识别代码
本人小试牛刀,试验了一下用c#.net3.0 WPF技术开发了一个语音识别程序, windows.cs using System;using System.Collections.Generic;using System.Text;using System.Windows;using System.Windows.Controls;using System.Window原创 2008-12-13 22:15:00 · 19583 阅读 · 27 评论 -
一个基于Windows Vista speech API5.3以及WPF技术的语音朗读代码
闲暇无事,利用window SDK 与vs2008,基于Windows Vista speech API5.3以及WPF技术开发了一套语音朗读的代码,牛刀小试, using System;using System.Collections.Generic;using System.Text;using System.Windows;using System.Windows.Cont原创 2008-12-13 22:19:00 · 17364 阅读 · 14 评论 -
IBM语音技术API说明,比较锻炼英文能力
SMAPI (Speech Manager Application Programming Interface) Reference IBM ViaVoice. SDK for WindowsaPrinted in the USA Note Before using this information and the product it supports,原创 2008-12-13 22:26:00 · 19395 阅读 · 0 评论 -
使用java技术实现IBM VIAVOICE 语音朗读技术
Java Speech API :http://java.sun.com/products/java-media/speech/Java Speech API 允许开发人员将语音技术整合到 Java applet 和应用程序的用户界面中。这种 API 规定一个跨平台的接口来支持命令—控制识别器、听写系统和语音合成器。 这个综合 API 被分成几个规范:Java Speech API 规原创 2008-12-14 13:56:00 · 27299 阅读 · 0 评论 -
platForm builder6.0下载,构建嵌入式移动平台必备工具
http://download.microsoft.com/download/a/0/9/a09e587c-4ff9-4a58-a854-56fe50b862b2/CE_10_1.cabhttp://download.microsoft.com/download/a/0/9/a09e587c-4ff9-4a58-a854-56fe50b862b2/CE_10_10.cabhttp://downlo原创 2008-12-14 14:45:00 · 18178 阅读 · 3 评论 -
IBM Voice CMDMenu语音命令控制技术 适用于Emmbbed IBM Viavoice的语音菜单,语音拨号
class CVCmdMenuDlg;class CIVCmdNotifySink: public IVCmdNotifySink{private: DWORD m_dwRefCnt; /* count how many people our using us (the object)*/ CVCmdMenuDlg *pDlg; /* used to send notificat原创 2008-12-14 17:19:00 · 8465 阅读 · 6 评论 -
一个通用的IBM viavoice语音识别语音朗读的接口,适用于基于IBM viavoice开发
//------------------------------------------------------------------------------// sapi.cpp - IBM Sapi speech engine interface //---------------------------------------------------------------------原创 2008-12-14 17:30:00 · 3826 阅读 · 1 评论 -
viaVoice开发,怎样设置IBM viavoice的语言
#include #include #include "reslist.hpp"#define MAX_PHRASELEN 128class SapiSpeech;class Result;class ResultsList;typedef enum SpeechEventEnum{ ENG_ATTRIBCHANGED, ENG_INTERFERENCE, ENG_SOUND,原创 2008-12-14 17:47:00 · 3562 阅读 · 0 评论 -
IBM viavoice语音识别引擎vv的通用类以及调用方法
#include "stdafx.h"#include "vvengine.h"/////////////////////////////////////////////////////////////////////////////// CVVEngine properties////////////////////////////////////////////////////////原创 2008-12-14 17:53:00 · 8973 阅读 · 1 评论 -
microsoft speech语音识别技术,语音朗读技术概述
Microsoft Speech SDK提供关于语音处理的一套应用程序编程接口SAPI(Speech Application Programming Interface)。SAPI提供了实现文字-语音转换(Text-to-Speech)和语音识别(Speech Recognition)程序的基本函数。 Speech SDK是以COM接口的方式提供服务的。 Speech Reco原创 2008-12-22 21:02:00 · 5060 阅读 · 6 评论 -
Windows 语音识别编程
语音类 1)在构造语音类之前,必须先设置好工程环境: a、从微软官方网站下载windows speech sdk并安装,然后在Visual Studio 6.0中进行相关设置,在Project Setings选项的C++选项卡的“分类:预处理器”添加“,__WIN32_DCOM”(为预先初始化COM组件成功); b、将预处理头文件选项选中“自动使用预补偿页眉”; c、在常规选项卡原创 2008-12-22 21:06:00 · 7245 阅读 · 18 评论 -
一个超简单的语音识别编程,听写程序
CSpeechRecognition类封装了语音识别操作所需调用的几个接口,使用它进行语音识别编程很方便,也很简洁。CSpeechRecognition类的定义如下:///////////////////////////////////////////////////////////////// active speech engine#include extern C原创 2008-12-22 21:09:00 · 23131 阅读 · 40 评论 -
识别简单的数字,字母的手写识别框架
// patternDlg.cpp : implementation file // #include "stdafx.h" #include "pattern.h" #include "patternDlg.h" #include "Afxwin.h" #include "Afxdlgs.h" #include原创 2008-12-27 00:04:00 · 11279 阅读 · 22 评论 -
如何在vc++6.0/2003/2005/2008中调用ATK
Application Example using the ATK Real-Time API 下面是一个关于HTK的例子 #include "stdafx.h" #include "dllSudx.h" typedef vector TStringArray; struct ASampleSet {原创 2008-12-27 00:08:00 · 10901 阅读 · 6 评论 -
一套基于模板匹配的语音识别技术。提取语音的特征,并建立模板库,可以将语音识别技术应用于机器人
视图类,废话少说,看看带注释的源码#include "stdafx.h" #include "robot.h" #include"Label.h" #include "robotDoc.h" #include "robotView.h" #ifdef _DEBUG #define new DEBUG_NEW原创 2008-12-27 22:04:00 · 27129 阅读 · 5 评论 -
利用NUANCE 语音识别引擎RCEngine实现语音识别
1. 基础概念: RCEngine : 是一个封装了语音识别,语音文件操作,电话控制的类,它派生自 RCEngineInterface 抽象基类。所以要在程序中调用 Nuance 的语音识别功能你就必须实例化 RCEngine 。 NotifiableAdapter : RCEngine 的所有函数都是异步函数,它使用确认 --- 通知形式与用户程序通信,要获取到这些确认和通知原创 2008-12-30 10:44:00 · 29098 阅读 · 1 评论 -
一个Nuance 的语音识别的例子
#include "stdafx.h" #include "GetToken.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////原创 2008-12-30 10:56:00 · 36783 阅读 · 30 评论 -
语音识别的大规模汉语树形词典,搜索速度快如闪电
#include "stdafx.h" #include "YuyinTree.h" #include "YuyinTreeDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__;原创 2008-12-30 11:05:00 · 42183 阅读 · 7 评论 -
基于vc++2008托管代码开发Windows Vista语音识别
废话少说看代码#pragma once#include "Window1.g.h"#include "Resources.Designer.h"using namespace System;using namespace System::Collections::Generic;using namespace System::Text;using namespace System::Win原创 2009-01-06 11:34:00 · 29104 阅读 · 10 评论 -
基于vc++2008托管代码开发Windows Vista语音朗读
闲的无聊,锻炼一下托管c++,看代码#pragma once#include "Window1.g.h"using namespace System;using namespace System::Collections::Generic;using namespace System::Text;using namespace System::Windows;using namesp原创 2009-01-06 11:37:00 · 30936 阅读 · 2 评论 -
一个基于c#3.0的开发基于vista下语音识别的通用类
废话少说,看代码精解,using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Speech;using System.Speech.Synthesis;using System.Speech.Recognition;using System.Globalizat原创 2009-01-12 19:46:00 · 5515 阅读 · 25 评论 -
一个基于c#3.0的开发基于vista下语音朗读的通用类
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Speech.Synthesis;using System.Speech;namespace [email protected]{ public class SpeechSpeak {原创 2009-01-12 21:09:00 · 15522 阅读 · 6 评论 -
一个基于c#3.0的开发基于2000/XP/2003下语音识别的通用类
废话少说看代码using System;using System.Collections.Generic;using System.Linq;using System.Text;using SpeechLib;using System.Windows.Forms;using System.Collections;namespace [email protected]{ public原创 2009-01-13 09:00:00 · 16042 阅读 · 6 评论 -
VC++引用指南
引用是C++引入的新语言特性,是C++常用的一个重要内容之一,正确、灵活地使用引用,可以使程序简洁、高效。我在工作中发现,许多人使用它仅仅是想当然,在某些微妙的场合,很容易出错,究其原由,大多因为没有搞清本源。故在本篇中我将对引用进行详细讨论,希望对大家更好地理解和使用引用起到抛砖引玉的作用。 一、引用简介 引用就是某一变量(目标)的一个别名,对引用的操作与对变量直接操作完全一样。翻译 2009-01-13 17:46:00 · 5768 阅读 · 0 评论 -
一个基于speech API5.1的通用语音识别类
using System;using System.Collections.Generic;using System.Linq;using System.Text;using SpeechLib;using System.Windows.Forms;namespace [email protected]{ public class SpRecognition {原创 2009-02-03 17:41:00 · 11293 阅读 · 7 评论 -
解决visual c++2005/2008下的不兼容sphelper.h的问题
VC8.0 以后里面是不支持 默认int型的VC8.0以后里面不支持这样的for循环for(int i = 0; i> 10 ; i++){ ......} 不能在循环括号内定义变量,而应该改成:int i ;forint (i = 0; i> 10 ; i++){ ......} 1) 2560行 SPPH原创 2009-02-09 14:11:00 · 4882 阅读 · 1 评论 -
基于Windows Sdk 与visual C++2008 在微软平台上构架自己的语音朗读引擎(适用于windows 2000/xp2003/vista windows CE /mobile),本项目开源,源码请留下你们的Email,我给大家发
本人闲来无事,自行开发了一个小型的语音朗读引擎,搭建起在微软平台上的语音朗读框架服务体系,鉴于本人个人力量有限,为了将语音朗读引擎做的功能更加强悍,强大,现在将该系统开源,需要源码的请在本人CSDN博客下留下EMail,本系统属于系统框架,搭建起一个语音朗读的引擎服务框架,在微软平台上畅通无阻, 现在将本系统构架公布一下,并贴出相关核心源码,源码体积为27M,编译后为1原创 2009-02-11 22:32:00 · 32331 阅读 · 182 评论 -
C#3.0基于Speech.Synthesis调整语音朗读语调范例
using System;using System.Speech.Synthesis;namespace Speech_Synthesis{ public partial class Window1 : System.Windows.Window { public Window1() { InitializeComponent();原创 2009-09-09 13:12:00 · 4697 阅读 · 4 评论 -
C#3.0基于 Speech.Recognition的grammerbuilder 语音识别定义模糊语法范例
using System;using System.Windows;using System.Speech.Recognition;namespace Speech_Recognition{ public partial class Window1 : System.Windows.Window { public Window1() {原创 2009-09-09 13:17:00 · 3459 阅读 · 4 评论 -
VC++基于微软语音引擎开发语音识别总结
关于SAPI的简介API 概述SAPI API在一个应用程序和语音引擎之间提供一个高级别的接口。SAPI 实现了所有必需的对各种语音引擎的实时的控制和管理等低级别的细节。SAPI引擎的两个基本类型是文本语音转换系统(TTS)和语音识别系统。TTS系统使用合成语音合成文本字符串和文件到声音音频流。语音识别技术转换人类的声音语音流到可读的文本字符串或者文件。 文本语音转换原创 2010-02-20 17:42:00 · 36077 阅读 · 354 评论 -
C#3.0基于 Speech.Recognition的SRGS 语音识别定义模糊语法范例
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Speech;using System.Speech.Re原创 2009-09-09 13:29:00 · 5433 阅读 · 24 评论 -
基于微软嵌入式系统添加语音功能(语音合成与语音识别)
基于Windows Embedded Standard以及Windows Embedded XP,如果需要添加语音识别,语音朗读功能,需要下列组件的支持。Speech Control Panel:添加该组件可以在控制面中添加语音控制图标,我们可以通过这个功能来选择或者配置Speech recognition(SR-语音识别)或者 text-to-speech engine(TTS-文本原创 2009-09-23 10:22:00 · 6254 阅读 · 4 评论 -
C#基于Microsoft Speech SDK Version 5.1 的开发
//Microsoft Speech SDK Version 5.1 #endregion private SpeechLib.SpSharedRecoContext objRecoContext = null; #region ISpeechRecoGrammar说明 //原创 2009-09-12 12:10:00 · 9879 阅读 · 6 评论 -
VisualC++2010系列课程
原创 2010-04-26 08:14:00 · 3554 阅读 · 10 评论