{"id":16487,"date":"2025-07-03T08:25:17","date_gmt":"2025-07-03T06:25:17","guid":{"rendered":"https:\/\/www.beseit.net\/?p=16487"},"modified":"2025-07-03T08:33:05","modified_gmt":"2025-07-03T06:33:05","slug":"veus","status":"publish","type":"post","link":"https:\/\/www.beseit.net\/?p=16487","title":{"rendered":"veus SAPI i OneCore (modernes)"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>Add-Type -AssemblyName System.Speech\n$synth = New-Object System.Speech.Synthesis.SpeechSynthesizer\n$synth.GetInstalledVoices() | Select-Object -ExpandProperty VoiceInfo | Select-Object Name, Culture\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"532\" src=\"https:\/\/www.beseit.net\/wp-content\/uploads\/2025\/07\/image.png\" alt=\"\" class=\"wp-image-16488\" srcset=\"https:\/\/www.beseit.net\/wp-content\/uploads\/2025\/07\/image.png 723w, https:\/\/www.beseit.net\/wp-content\/uploads\/2025\/07\/image-300x221.png 300w, https:\/\/www.beseit.net\/wp-content\/uploads\/2025\/07\/image-408x300.png 408w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/figure>\n\n\n\n<p>Name Culture<br>&#8212;- &#8212;&#8212;-<br>Microsoft Helena Desktop es-ES<br>Microsoft Hedda de-DE<br>Microsoft Katja de-DE<br>Microsoft Stefan de-DE<br>Microsoft George en-GB<br>Microsoft Hazel en-GB<br>Microsoft Susan en-GB<br>Microsoft David en-US<br>Microsoft Mark en-US<br>Microsoft Zira en-US<br>Microsoft Helena es-ES<br>Microsoft Laura es-ES<br>Microsoft Pablo es-ES<br>Microsoft Hedda Desktop de-DE<br>Microsoft Hazel Desktop en-GB<br>Microsoft David Desktop en-US<br>Microsoft Zira Desktop en-US<br>Microsoft Herena ca-ES<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>La difer\u00e8ncia entre les veus <strong>SAPI<\/strong> i les <strong>OneCore (modernes)<\/strong> a Windows \u00e9s for\u00e7a significativa, tant pel que fa a la tecnologia com a l&#8217;\u00fas que se&#8217;n pot fer. Aqu\u00ed tens un resum clar:<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">?\ufe0f Veus <strong>SAPI<\/strong> (Speech API)<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Caracter\u00edstica<\/th><th>Detalls<\/th><\/tr><\/thead><tbody><tr><td>? <strong>Tecnologia<\/strong><\/td><td>Basades en la interf\u00edcie cl\u00e0ssica <strong>System.Speech.Synthesis<\/strong><\/td><\/tr><tr><td>?\ufe0f <strong>Compatibilitat<\/strong><\/td><td>Utilitzades per aplicacions de Windows antigues o cl\u00e0ssiques<\/td><\/tr><tr><td>?\ufe0f <strong>Qualitat de veu<\/strong><\/td><td>M\u00e9s rob\u00f2tica o sint\u00e8tica, menys natural<\/td><\/tr><tr><td>? <strong>Instal\u00b7laci\u00f3<\/strong><\/td><td>Ve amb Windows o s\u2019instal\u00b7la amb paquets espec\u00edfics<\/td><\/tr><tr><td>? <strong>Acc\u00e9s via PowerShell<\/strong><\/td><td><code>System.Speech.Synthesis.SpeechSynthesizer<\/code><\/td><\/tr><tr><td>? <strong>Ruta al registre<\/strong><\/td><td><code>HKLM:\\SOFTWARE\\Microsoft\\SPEECH\\Voices\\Tokens<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">? Veus <strong>OneCore<\/strong> (Modernes)<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Caracter\u00edstica<\/th><th>Detalls<\/th><\/tr><\/thead><tbody><tr><td>? <strong>Tecnologia<\/strong><\/td><td>Utilitzen la nova API <strong>Windows.Media.SpeechSynthesis<\/strong> (UWP)<\/td><\/tr><tr><td>?\ufe0f <strong>Compatibilitat<\/strong><\/td><td>Pensades per aplicacions modernes (UWP, apps de Windows 10\/11)<\/td><\/tr><tr><td>?\ufe0f <strong>Qualitat de veu<\/strong><\/td><td>M\u00e9s natural, algunes amb tecnologia <strong>neural TTS<\/strong><\/td><\/tr><tr><td>? <strong>Instal\u00b7laci\u00f3<\/strong><\/td><td>Es descarreguen des de <strong>Configuraci\u00f3 &gt; Idioma &gt; Opcions &gt; Veu<\/strong><\/td><\/tr><tr><td>? <strong>Acc\u00e9s via PowerShell<\/strong><\/td><td>Cal accedir al registre o usar APIs modernes<\/td><\/tr><tr><td>? <strong>Ruta al registre<\/strong><\/td><td><code>HKLM:\\SOFTWARE\\Microsoft\\Speech_OneCore\\Voices\\Tokens<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">? Compatibilitat entre elles<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Les veus <strong>SAPI<\/strong> poden ser utilitzades directament per moltes aplicacions cl\u00e0ssiques.<\/li>\n\n\n\n<li>Les veus <strong>OneCore<\/strong> <strong>no s\u00f3n visibles per SAPI<\/strong> per defecte, per\u00f2 es poden exposar manualment (copiant claus del registre).<\/li>\n\n\n\n<li>Algunes veus OneCore poden apar\u00e8ixer a SAPI si el sistema les ha registrat correctament.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">? En resum:<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Aspecte<\/th><th>SAPI<\/th><th>OneCore (Modernes)<\/th><\/tr><\/thead><tbody><tr><td>Qualitat<\/td><td>Sint\u00e8tica<\/td><td>M\u00e9s natural, algunes amb neural<\/td><\/tr><tr><td>Compatibilitat<\/td><td>Aplicacions cl\u00e0ssiques<\/td><td>Aplicacions modernes (UWP)<\/td><\/tr><tr><td>Instal\u00b7laci\u00f3<\/td><td>Incloses o via paquets<\/td><td>Configuraci\u00f3 de Windows<\/td><\/tr><tr><td>Acc\u00e9s<\/td><td>F\u00e0cil via PowerShell<\/td><td>M\u00e9s complex, sovint via registre<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Si vols, et puc ajudar a:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Fer que les veus OneCore funcionin amb aplicacions SAPI<\/li>\n\n\n\n<li>Instal\u00b7lar veus noves (com en catal\u00e0, valenci\u00e0, etc.)<\/li>\n\n\n\n<li>Comparar la qualitat entre dues veus concretes<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Name Culture&#8212;- &#8212;&#8212;-Microsoft Helena Desktop es-ESMicrosoft Hedda de-DEMicrosoft Katja de-DEMicrosoft Stefan de-DEMicrosoft George en-GBMicrosoft Hazel en-GBMicrosoft Susan en-GBMicrosoft David en-USMicrosoft Mark en-USMicrosoft Zira en-USMicrosoft Helena es-ESMicrosoft Laura es-ESMicrosoft Pablo es-ESMicrosoft Hedda Desktop de-DEMicrosoft Hazel Desktop en-GBMicrosoft David Desktop en-USMicrosoft Zira &hellip; <a href=\"https:\/\/www.beseit.net\/?p=16487\">Continua llegint <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-16487","post","type-post","status-publish","format-standard","hentry","category-bloc-de-notes"],"_links":{"self":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/16487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16487"}],"version-history":[{"count":3,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/16487\/revisions"}],"predecessor-version":[{"id":16492,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/16487\/revisions\/16492"}],"wp:attachment":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}