#System.Speech.Synthesis.SpeechSynthesizer
Explore tagged Tumblr posts
jesusninoc · 7 years ago
Text
Enviar señales de radio desde Raspberry Pi mediante una conexión SSH desde PowerShell (parte 1)
Enviar señales de radio desde Raspberry Pi mediante una conexión SSH desde PowerShell (parte 1)
#Crear un audio que vamos a mandar mediante señales de radio #Convertir una frase en audio con la voz del sistema operativo desde PowerShell Add-Type -AssemblyName System.Speech $synthesizer = New-Object -TypeName System.Speech.Synthesis.SpeechSynthesizer $synthesizer.SetOutputToWaveFile("saludo.wav") $synthesizer.Speak("Hola amigo Pedro") $synthesizer.SetOutputToDefaultAudioDevice()…
View On WordPress
0 notes
kjunichi · 8 years ago
Text
Powershell can speak, but can it write if i speak? - Stack Overflow [はてなブックマーク]
Powershell can speak, but can it write if i speak? - Stack Overflow
Following is the way to make powershell to speak. Add-Type -AssemblyName System.Speech $synthesizer = New-Object -TypeName System.Speech.Synthesis.SpeechSynthesizer $synthesizer.Speak('Hey, I can spea...
kjw_junichi プログラミング, windows
from kjw_junichiのブックマーク http://ift.tt/2ksphlH
0 notes
m0t0k1x2 · 11 years ago
Text
PowerShellはWavファイルを作成するためのツールだった
はじめに
Microsoft Script Gallaleyとかでも投稿されているので、使っているひとは実は結構いらっしゃるのではないかと。 なのにblogにしてしまいました。
発端
お仕事でwavファイルを扱うことがありまして。 サンプルというか、にダミーのwavが欲しくなりました。 ぐーぐる先生にお伺いをたてたところ、.Net Frameworkの力を借りれば非常に簡単に作成することができることがわかりました。
再生
Add-Type -AssemblyName System.Speech $synth = New-Object -typename System.Speech.Synthesis.SpeechSynthesizer $synth.Rate = "-5" $synth.speak("もしかしてだけど")
wavファイルへの吐き出し
Add-Type -AssemblyName System.Speech $synth = New-Object -typename System.Speech.Synthesis.SpeechSynthesizer $synth.Rate = "-5" $synth.SetOutputToWaveFile("C:\Users\hoge\Desktop\sample.wav") $synth.speak("もしかしてだけど") $synth.SetOutputToDefaultAudioDevice()
お仕事で使っているPowerShell V2.0でも英語テキストなら動きました。 ものすごく簡単だったのですが、V2.0では日本語はダメでした。 サンプル用くらいに思っていた方がよいかと。
0 notes
jesusninoc · 7 years ago
Text
Utilizar el motor de síntesis de voz en Powershell para analizar audios con voz comparando los resultados entre gramáticas
Parte 1 Guardar en un fichero de audio un texto pronunciado mediante el motor de síntesis de voz en PowerShell
#Guardar en un fichero de audio un texto pronunciado mediante el motor de síntesis de voz en PowerShell #Cargar el espacio de nombres System.Speech que contiene los tipos que admiten el reconocimiento de voz [void][System.Reflection.Assembly]::LoadWithPartialName("System.Speech") #Crear…
View On WordPress
0 notes
jesusninoc · 8 years ago
Text
Realizar una comunicación enviando preguntas y respondiendo de forma automática mediante el motor de síntesis de voz en PowerShell (con restricciones para una gramática de reconocimiento de voz)
Introducción
#################################################################################################### #################################################################################################### #Teniendo en cuenta la idea de comunicar dos ordenadores mediante la voz del sistema operativo…
View On WordPress
0 notes