• 大小: 0.12M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 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;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        private SpeechVoiceSpeakFlags _spFlags;
        private SpVoice _voice;

        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender EventArgs e)
        {
            _voice = new SpVoice();
            _spFlags = SpeechVoiceSpeakFlags.SVSFlagsAsync;
            _voice.Voice = _voice.GetVoices(““ ““).Item(comboBox2.SelectedIndex);
            _voice.Voice.GetDescription(comboBox2.SelectedIndex);
        }

 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-07-17 16:11  SpeechVoice\
     文件        6335  2014-07-17 15:45  SpeechVoice\Form1.Designer.cs
     文件        2113  2014-07-23 10:54  SpeechVoice\Form1.cs
     文件        5817  2014-07-17 15:45  SpeechVoice\Form1.resx
     文件      163840  2014-07-17 15:45  SpeechVoice\Interop.SpeechLib.dll
     文件         505  2014-07-17 15:45  SpeechVoice\Program.cs
     目录           0  2014-07-17 15:45  SpeechVoice\Properties\
     文件        1368  2014-07-17 15:45  SpeechVoice\Properties\AssemblyInfo.cs
     文件        2900  2014-07-17 15:45  SpeechVoice\Properties\Resources.Designer.cs
     文件        5612  2014-07-17 15:45  SpeechVoice\Properties\Resources.resx
     文件        1111  2014-07-17 15:45  SpeechVoice\Properties\Settings.Designer.cs
     文件         249  2014-07-17 15:45  SpeechVoice\Properties\Settings.settings
     文件         631  2014-07-17 15:45  SpeechVoice\SpeechVoice.cs
     文件        3969  2014-07-27 18:44  SpeechVoice\SpeechVoice.csproj
     目录           0  2014-07-17 16:11  SpeechVoice\bin\
     目录           0  2014-07-18 10:06  SpeechVoice\bin\Debug\
     文件       13824  2014-07-18 10:06  SpeechVoice\bin\Debug\WindowsFormsApplication1.exe
     文件       24064  2014-07-18 10:06  SpeechVoice\bin\Debug\WindowsFormsApplication1.pdb
     目录           0  2014-07-23 10:51  SpeechVoice\bin\Release\
     文件       13824  2014-07-27 18:44  SpeechVoice\bin\Release\WindowsFormsApplication1.exe
     文件       28160  2014-07-27 18:44  SpeechVoice\bin\Release\WindowsFormsApplication1.pdb
     文件       22472  2014-07-27 18:45  SpeechVoice\bin\Release\WindowsFormsApplication1.vshost.exe
     目录           0  2014-07-18 10:09  SpeechVoice\obj\
     目录           0  2014-07-18 10:06  SpeechVoice\obj\Debug\
     文件        6905  2014-07-18 13:46  SpeechVoice\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件         776  2014-07-18 10:06  SpeechVoice\obj\Debug\SpeechVoice.csproj.FileListAbsolute.txt
     文件         975  2014-07-18 10:06  SpeechVoice\obj\Debug\SpeechVoice.csproj.GenerateResource.Cache
     文件        4366  2014-07-18 10:06  SpeechVoice\obj\Debug\SpeechVoice.csprojResolveAssemblyReference.cache
     目录           0  2014-07-27 18:46  SpeechVoice\obj\Debug\TempPE\
     文件         180  2014-07-18 10:06  SpeechVoice\obj\Debug\WindowsFormsApplication1.Form1.resources
     文件         180  2014-07-18 10:06  SpeechVoice\obj\Debug\WindowsFormsApplication1.Properties.Resources.resources
............此处省略13个文件信息

评论

共有 条评论