• 大小: 1.67M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 语音  开发  

资源简介


资源截图

代码片段和文件信息

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;
using SpeechLib;
using System.Speech.Recognition;

namespace SpeakVoice
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            SpeechVoiceSpeakFlags SpFlags = SpeechVoiceSpeakFlags.SVSFlagsAsync;
            SpVoice Voice = new SpVoice();
            Voice.Voice = Voice.GetVoices(string.Empty string.Empty).Item(0);
            Voice.Volume = 80;
            Voice.Rate = 3;
            Voice.Speak(textBox1.Text SpFlags);
       

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        117  2016-10-20 21:38  SpeakVoice\app.config

     文件    2234368  2015-01-28 01:09  SpeakVoice\bin\Debug\CSkin.dll

     文件     176128  2016-10-20 21:39  SpeakVoice\bin\Debug\Interop.SpeechLib.dll

     文件      19456  2016-10-21 13:49  SpeakVoice\bin\Debug\SpeakVoice.exe

     文件        117  2016-10-20 21:38  SpeakVoice\bin\Debug\SpeakVoice.exe.config

     文件      50688  2016-10-21 13:49  SpeakVoice\bin\Debug\SpeakVoice.pdb

     文件      11608  2016-10-21 14:43  SpeakVoice\bin\Debug\SpeakVoice.vshost.exe

     文件        117  2016-10-20 21:38  SpeakVoice\bin\Debug\SpeakVoice.vshost.exe.config

     文件        490  2015-10-30 13:45  SpeakVoice\bin\Debug\SpeakVoice.vshost.exe.manifest

     文件        263  2016-10-21 10:36  SpeakVoice\bin\Debug\声音设置.ini

     文件       1618  2016-10-21 13:49  SpeakVoice\Form1.cs

     文件       4245  2016-10-21 10:29  SpeakVoice\Form1.Designer.cs

     文件       5817  2016-10-21 10:29  SpeakVoice\Form1.resx

     文件       1422  2016-10-21 13:48  SpeakVoice\FrmScs.cs

     文件       6251  2016-10-21 11:54  SpeakVoice\FrmScs.Designer.cs

     文件       5817  2016-10-21 11:54  SpeakVoice\FrmScs.resx

     文件       7879  2016-10-21 10:28  SpeakVoice\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6786  2016-10-21 13:49  SpeakVoice\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件     176128  2016-10-20 21:39  SpeakVoice\obj\x86\Debug\Interop.SpeechLib.dll

     文件       1698  2016-10-21 14:43  SpeakVoice\obj\x86\Debug\SpeakVoice.csproj.FileListAbsolute.txt

     文件       1093  2016-10-21 11:54  SpeakVoice\obj\x86\Debug\SpeakVoice.csproj.GenerateResource.Cache

     文件        700  2016-10-20 21:39  SpeakVoice\obj\x86\Debug\SpeakVoice.csproj.ResolveComReference.cache

     文件      19456  2016-10-21 13:49  SpeakVoice\obj\x86\Debug\SpeakVoice.exe

     文件        180  2016-10-21 11:54  SpeakVoice\obj\x86\Debug\SpeakVoice.Form1.resources

     文件        180  2016-10-21 11:54  SpeakVoice\obj\x86\Debug\SpeakVoice.FrmScs.resources

     文件      50688  2016-10-21 13:49  SpeakVoice\obj\x86\Debug\SpeakVoice.pdb

     文件        180  2016-10-21 11:54  SpeakVoice\obj\x86\Debug\SpeakVoice.Properties.Resources.resources

     文件        180  2016-10-21 11:54  SpeakVoice\obj\x86\Debug\SpeakVoice.Seting.resources

     文件       4608  2016-10-20 21:44  SpeakVoice\obj\x86\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件        491  2016-10-21 13:48  SpeakVoice\Program.cs

............此处省略22个文件信息

评论

共有 条评论