Her Saat Başı Konuşarak Saati Söyleyen Program Arıyorum
-
-
win 10 için öncelikle registrye aşağıdakiler eklenecek reg saklanıp eklenecek yoksa türkçe okumaz
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\MSTTS_V110_trTR_Tolga]
@="Microsoft Tolga - Turkish (Turkey)"
"041f"="Microsoft Tolga - Turkish (Turkey)"
"CLSID"="{179F3D56-1B0B-42B2-A962-59B7EF59FE1B}"
"LangDataPath"=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,53,\
00,70,00,65,00,65,00,63,00,68,00,5f,00,4f,00,6e,00,65,00,43,00,6f,00,72,00,\
65,00,5c,00,45,00,6e,00,67,00,69,00,6e,00,65,00,73,00,5c,00,54,00,54,00,53,\
00,5c,00,74,00,72,00,2d,00,54,00,52,00,5c,00,4d,00,53,00,54,00,54,00,53,00,\
4c,00,6f,00,63,00,54,00,72,00,54,00,52,00,2e,00,64,00,61,00,74,00,00,00
"VoicePath"=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,53,00,\
70,00,65,00,65,00,63,00,68,00,5f,00,4f,00,6e,00,65,00,43,00,6f,00,72,00,65,\
00,5c,00,45,00,6e,00,67,00,69,00,6e,00,65,00,73,00,5c,00,54,00,54,00,53,00,\
5c,00,74,00,72,00,2d,00,54,00,52,00,5c,00,4d,00,31,00,30,00,35,00,35,00,54,\
00,6f,00,6c,00,67,00,61,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\MSTTS_V110_trTR_Tolga\Attributes]
"Age"="Adult"
"DataVersion"="11.0.2016.0129"
"Gender"="Male"
"Language"="041f"
"Name"="Microsoft Tolga"
"SayAsSupport"="spell=NativeSupported; alphanumeric=NativeSupported"
"SharedPronunciation"=""
"Vendor"="Microsoft"
"Version"="11.0"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Speech\Voices\Tokens\MSTTS_V110_trTR_Tolga]
@="Microsoft Tolga - Turkish (Turkey)"
"041f"="Microsoft Tolga - Turkish (Turkey)"
"CLSID"="{179F3D56-1B0B-42B2-A962-59B7EF59FE1B}"
"LangDataPath"=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,53,\
00,70,00,65,00,65,00,63,00,68,00,5f,00,4f,00,6e,00,65,00,43,00,6f,00,72,00,\
65,00,5c,00,45,00,6e,00,67,00,69,00,6e,00,65,00,73,00,5c,00,54,00,54,00,53,\
00,5c,00,74,00,72,00,2d,00,54,00,52,00,5c,00,4d,00,53,00,54,00,54,00,53,00,\
4c,00,6f,00,63,00,54,00,72,00,54,00,52,00,2e,00,64,00,61,00,74,00,00,00
"VoicePath"=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,53,00,\
70,00,65,00,65,00,63,00,68,00,5f,00,4f,00,6e,00,65,00,43,00,6f,00,72,00,65,\
00,5c,00,45,00,6e,00,67,00,69,00,6e,00,65,00,73,00,5c,00,54,00,54,00,53,00,\
5c,00,74,00,72,00,2d,00,54,00,52,00,5c,00,4d,00,31,00,30,00,35,00,35,00,54,\
00,6f,00,6c,00,67,00,61,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Speech\Voices\Tokens\MSTTS_V110_trTR_Tolga\Attributes]
"Age"="Adult"
"DataVersion"="11.0.2016.0129"
"Gender"="Male"
"Language"="041f"
"Name"="Microsoft Tolga"
"SayAsSupport"="spell=NativeSupported; alphanumeric=NativeSupported"
"SharedPronunciation"=""
"Vendor"="Microsoft"
"Version"="11.0"
https://s6.dosya.tc/server/87txho/WpfApp1.exe.html
wpf uygulamanın kodları
<Application x:Class="WpfApp1.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:WpfApp1">
<Application.Resources />
</Application>
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
MainWindow window = new MainWindow();
window.Hide();
}
}
public partial class MainWindow : Window
{
private readonly SpeechSynthesizer synthesizer;
private readonly DispatcherTimer timer;
private readonly int[] saatler = new int[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 };
public MainWindow()
{
InitializeComponent();
synthesizer = new SpeechSynthesizer();
synthesizer.SelectVoice("Microsoft Tolga");
timer = new DispatcherTimer(DispatcherPriority.Normal)
{
Interval = new TimeSpan(0, 0, 1)
};
timer.Tick += Timer_Tick;
timer.Start();
}
private void Timer_Tick(object sender, EventArgs e)
{
if (saatler.Contains(DateTime.Now.Hour) && DateTime.Now.Minute == 00 && DateTime.Now.Second == 00)
{
synthesizer.Speak($"Saat{DateTime.Now.Hour}");
}
}
}
< Bu mesaj bu kişi tarafından değiştirildi Gökşen PASLI -- 25 Nisan 2021; 16:38:55 >
-
hocam bunları nasıl nereye kaydedecez açıklamasını yaparsanız sevinirim. tşkler.
-
https://s6.dosya.tc/server/59mnai/tts.reg.html
regi import edecen çift tıklayıp
çalıştıra
"C:\Windows\System32\rundll32.exe" shell32.dll,Control_RunDLL "C:\WINDOWS\system32\Speech\SpeechUX\sapi.cpl"
yaz oraya seçeneklere Microsoft tolga gelmesi lazım gerekirse seç
sonra
https://s6.dosya.tc/server/87txho/WpfApp1.exe.html
çalıştır saat başını beklersin
kapatmak için görev yöneticisini kullan arayüz yok
< Bu mesaj bu kişi tarafından değiştirildi Gökşen PASLI -- 25 Nisan 2021; 21:54:58 >
-
teşekkürler hocam
-
Böyle bir eklenti de mevcut;
https://www.microsoft.com/en-us/p/time-speaker-clock/9wzdncrdhnxw?activetab=pivot:overviewtab
-
Teşekkürler, Tolga pyttsx3 kütüphanesi ile gözükmüyordu. Elle regedite ekleyince işlem tamam oldu. Github a bir script ekledim Türkçe erkek ve kadın sesi kulanımına yönelik ordaki örneğe göz atabilirsiniz.
githubGitHub - matasoy/ErkekKadinSohbet: Python ile erkek ve kadın sohbetinin seslendirilmesihttps://github.com/matasoy/ErkekKadinSohbet
Bu mesaj IP'si ile atılan mesajları ara Bu kullanıcının son IP'si ile atılan mesajları ara Bu mesaj IP'si ile kullanıcı ara Bu kullanıcının son IP'si ile kullanıcı ara
KAPAT X