[過去ログ] ふらっと C#,C♯,C#(初心者用) Part155 (1002レス)
上下前次1-新
抽出解除 レス栞
このスレッドは過去ログ倉庫に格納されています。
次スレ検索 歴削→次スレ 栞削→次スレ 過去ログメニュー
869(1): デフォルトの名無しさん (ワッチョイ 5f01-CYaL) [] 2022/09/03(土) 17:32:09.30 ID:pIlh0KDq0(7/19) AAS
>>868デフォルトのデバイスが設定されてないってことですか?
871(1): デフォルトの名無しさん (ワッチョイ 7fbb-bBdM) [sage] 2022/09/03(土) 18:10:15.06 ID:VhEETHyI0(5/7) AAS
>>869
using System;
using System.Speech.Synthesis;
namespace SampleSynthesis {
class Program {
static void Main(string[] args) {
using (var synth = new SpeechSynthesizer()) {
synth.SetOutputToDefaultAudioDevice();
synth.Speak("This is sample text-to-speech output.");
}
Console.WriteLine();
Console.WriteLine("Press any key to exit...");
Console.ReadKey();
}
}
}
これコピペして動くか?
上下前次1-新書関写板覧索設栞歴
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル
ぬこの手 ぬこTOP 0.026s