{"id":4067,"date":"2026-03-25T21:39:15","date_gmt":"2026-03-25T12:39:15","guid":{"rendered":"https:\/\/www.dogrow.net\/python\/?p=4067"},"modified":"2026-03-28T20:41:30","modified_gmt":"2026-03-28T11:41:30","slug":"139%e3%80%90google-cloud-tts-6%e3%80%91%e8%a9%b1%e3%81%99%e9%80%9f%e5%ba%a6","status":"publish","type":"post","link":"https:\/\/www.dogrow.net\/python\/139%e3%80%90google-cloud-tts-6%e3%80%91%e8%a9%b1%e3%81%99%e9%80%9f%e5%ba%a6\/","title":{"rendered":"(139)\u3010Google Cloud TTS #6\u3011\u58f0\u306e\u5927\u304d\u3055\u3001\u58f0\u306e\u9ad8\u3055\u3092\u5909\u3048\u308b\u3002"},"content":{"rendered":"<h1 class=\"my_h\">\u30100\u3011\u9023\u8f09\u5185\u5bb9<\/h1>\n<p><a href=\"https:\/\/www.dogrow.net\/python\/blog134-google-cloud-tts%e3%82%92%e4%bd%bf%e3%81%84%e5%a7%8b%e3%82%81%e3%82%8b%e3%80%82\/\" target=\"_blank\">(134)\u3010Google Cloud TTS #1\u3011\u5b50\u3069\u3082\u306e\u82f1\u4f1a\u8a71\u5b66\u7fd2\u6559\u6750\u3092\u4f5c\u308a\u305f\u3044\uff01<\/a><br \/>\n<a href=\"https:\/\/www.dogrow.net\/python\/blog135%e3%80%90google-cloud-tts-2%e3%80%91google-cloud%e5%81%b4%e3%81%ae%e6%ba%96%e5%82%99%e4%bd%9c%e6%a5%ad\/\" target=\"_blank\">(135)\u3010Google Cloud TTS #2\u3011Google Cloud\u5074\u306e\u6e96\u5099\u4f5c\u696d<\/a><br \/>\n<a href=\"https:\/\/www.dogrow.net\/python\/blog136%e3%80%90google-cloud-tts-3%e3%80%91%e8%87%aa%e5%89%8d%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e5%81%b4%e3%81%ae%e6%ba%96%e5%82%99%e4%bd%9c%e6%a5%ad%ef%bc%88ubuntu24%ef%bc%89\/\" target=\"_blank\">(136)\u3010Google Cloud TTS #3\u3011\u81ea\u524d\u30b5\u30fc\u30d0\u30fc\u5074\u306e\u6e96\u5099\u4f5c\u696d\uff08Ubuntu24\uff09<\/a><br \/>\n<a href=\"https:\/\/www.dogrow.net\/python\/blog137%e3%80%90google-cloud-tts-4%e3%80%91web%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e3%81%8b%e3%82%89%e5%ae%9f%e8%a1%8c\/\" target=\"_blank\">(137)\u3010Google Cloud TTS #4\u3011WEB\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u5b9f\u884c<\/a><br \/>\n<a href=\"https:\/\/www.dogrow.net\/python\/blog138%e3%80%90google-cloud-tts-5%e3%80%91%e8%a9%b1%e3%81%99%e9%80%9f%e5%ba%a6%e3%82%92%e3%82%86%e3%81%a3%e3%81%8f%e3%82%8a%e3%81%ab\/#google_vignette\" target=\"_blank\">(138)\u3010Google Cloud TTS #5\u3011\u8a71\u3059\u901f\u5ea6\u3092\u3086\u3063\u304f\u308a\u306b<\/a><br \/>\n<a href=\"https:\/\/www.dogrow.net\/python\/139%e3%80%90google-cloud-tts-6%e3%80%91%e8%a9%b1%e3%81%99%e9%80%9f%e5%ba%a6\/\" target=\"_blank\">(139)\u3010Google Cloud TTS #6\u3011\u58f0\u306e\u5927\u304d\u3055\u3001\u58f0\u306e\u9ad8\u3055\u3092\u5909\u3048\u308b\u3002<\/a> <span class='my_fs_big1B'>\u2190\u4eca\u56de\u306f\u30b3\u30b3<\/span><br \/>\n<a href=\"https:\/\/www.dogrow.net\/python\/blog140%e3%80%90google-cloud-tts-7%e3%80%91%e8%a9%b1%e8%80%85%ef%bc%88speaker-voice%ef%bc%89%e3%82%92%e6%8c%87%e5%ae%9a%e5%8f%af%e8%83%bd%e3%81%ab%e3%81%99%e3%82%8b%e3%80%82\/\" target=\"_blank\">(140)\u3010Google Cloud TTS #7\u3011Web\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u8a71\u8005\uff08Voice\uff09\u3092\u6307\u5b9a\u53ef\u80fd\u306b<\/a><br \/>\n<a href=\"https:\/\/www.dogrow.net\/python\/blog141%e3%80%90google-cloud-tts-8%e3%80%91%e4%ba%8c%e4%ba%ba%e4%bb%a5%e4%b8%8a%e3%81%ae%e4%bc%9a%e8%a9%b1%e3%82%92%e5%85%a5%e5%8a%9b%e5%8f%af%e8%83%bd%e3%81%ab\/\" target=\"_blank\">(141)\u3010Google Cloud TTS #8\u3011\u4e8c\u4eba\u4ee5\u4e0a\u306e\u4f1a\u8a71\u3092\u5165\u529b\u53ef\u80fd\u306b<\/a><br \/>\n<a href=\"https:\/\/www.dogrow.net\/python\/blog142%e3%80%90google-cloud-tts-9%e3%80%91%e8%8b%b1%e4%bc%9a%e8%a9%b1%e6%95%99%e6%9d%90%e3%82%92%e4%bd%9c%e3%82%8b%e3%80%82%ef%bc%88%e4%b8%80%e5%85%88%e3%81%9a%e5%ae%8c%e7%b5%90%ef%bc%89\/\" target=\"_blank\">(142)\u3010Google Cloud TTS #9\u3011\u82f1\u4f1a\u8a71\u6559\u6750\u3092\u4f5c\u308b\u3002\uff08\u4e00\u5148\u305a\u5b8c\u7d50\uff09<\/a><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/python\/wp-content\/uploads\/2026\/03\/Image5-1.jpg\" alt=\"\" \/><\/p>\n<h1 class=\"my_h\">\u30101\u3011\u3084\u308a\u305f\u3044\u3053\u3068<\/h1>\n<p>\u58f0\u306e\u5927\u304d\u3055\uff08\uff1d\u97f3\u91cf\uff09\u3092\u5909\u3048\u305f\u3044\u3002<br \/>\n\u58f0\u306e\u9ad8\u3055\uff08\uff1d\u30d4\u30c3\u30c1\uff09\u3092\u5909\u3048\u305f\u3044\u3002<\/p>\n<p>\u3053\u308c\u3082\u524d\u56de\u6295\u7a3f\u3068\u540c\u69d8\u306b AudioConfig\u30af\u30e9\u30b9\u3067\u6307\u5b9a\u3067\u304d\u308b\u3002<\/p>\n<h1 class=\"my_h\">\u30102\u3011\u3084\u3063\u3066\u307f\u308b<\/h1>\n<p>\u3053\u3061\u3089\u306e AudioConfig\u30af\u30e9\u30b9\u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u30da\u30fc\u30b8\u3092\u53c2\u7167\u3055\u308c\u305f\u3044\u3002<br \/>\n<a href=\"https:\/\/docs.cloud.google.com\/python\/docs\/reference\/texttospeech\/latest\/google.cloud.texttospeech_v1.types.AudioConfig\" target=\"_blank\">Class AudioConfig (2.34.0)<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/python\/wp-content\/uploads\/2026\/03\/Image6-1.jpg\" alt=\"\" class='my_add_bs1' \/><\/a><\/p>\n<h3 class=\"my_h\">(1) \u58f0\u306e\u5927\u304d\u3055\u3092\u5909\u3048\u308b\u3002<\/h3>\n<p>AudioConfig\u30af\u30e9\u30b9\u306e\u751f\u6210\u6642\u306b\u3001\u5f15\u6570 <span class='my_fc_blueB'>volume_gain_db<\/span> \u3067\u8a71\u3059\u97f3\u91cf\u3092\u6307\u5b9a\u3067\u304d\u308b\u4ed5\u69d8\u3060\u3002<\/p>\n<table class=\"my_tbl_simple\">\n<tr><td>\u30c7\u30fc\u30bf\u578b<\/td><td>float<\/td><\/tr><tr><td>\u521d\u671f\u5024<\/td><td>0.0 [dB]<\/td><\/tr><tr><td>\u6307\u5b9a\u53ef\u80fd\u306a\u7bc4\u56f2<\/td><td>-96.0 \uff5e 16.0 [dB]<\/td><\/tr>\n<\/table>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u4e2d\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6307\u5b9a\u3059\u308c\u3070\u3088\u3044\u3002<\/p>\n<pre class='my_pre_python'>\r\n    audio_config = texttospeech.AudioConfig(\r\n        audio_encoding = texttospeech.AudioEncoding.MP3,\r\n        speaking_rate = 0.7,\r\n        <span class='my_fc_deeppink'>volume_gain_db = 9.0<\/span>      <span class='my_fc_green'># \u97f3\u91cf\u3092 9.0 [dB]\u4e0a\u3052\u308b\u3002<\/span>\r\n    )\r\n<\/pre>\n<h3 class=\"my_h\">(2) \u58f0\u306e\u9ad8\u3055\u3092\u5909\u3048\u308b\u3002<\/h3>\n<p>AudioConfig\u30af\u30e9\u30b9\u306e\u751f\u6210\u6642\u306b\u3001\u5f15\u6570 <span class='my_fc_blueB'>pitch<\/span> \u3067\u58f0\u306e\u9ad8\u3055\u3092\u6307\u5b9a\u3067\u304d\u308b\u4ed5\u69d8\u3060\u3002<\/p>\n<p>\u5024\u306e\u5358\u4f4d\u306f semitones, \u3059\u306a\u308f\u3061\u534a\u97f3\u3060\u3002<br \/>\n\u3000\u2192 4\u3092\u6307\u5b9a\u3059\u308b\u3068 &#8220;\u30c9&#8221; \u304c &#8220;\u30df&#8221; \u306b\u306a\u308b\u3002 <\/p>\n<table class=\"my_tbl_simple\">\n<tr><td>\u30c7\u30fc\u30bf\u578b<\/td><td>float<\/td><\/tr><tr><td>\u521d\u671f\u5024<\/td><td>0.0<\/td><\/tr><tr><td>\u6307\u5b9a\u53ef\u80fd\u306a\u7bc4\u56f2<\/td><td>-20.0 \uff5e 20.0<\/td><\/tr>\n<\/table>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u4e2d\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6307\u5b9a\u3059\u308c\u3070\u3088\u3044\u3002<\/p>\n<pre class='my_pre_python'>\r\n    audio_config = texttospeech.AudioConfig(\r\n        audio_encoding = texttospeech.AudioEncoding.MP3,\r\n        speaking_rate = 0.7,\r\n        volume_gain_db = 9.0,\r\n        <span class='my_fc_deeppink'>pitch = 4.0<\/span>      <span class='my_fc_green'># \u97f3\u968e\u3092 4\u534a\u97f3\u4e0a\u3052\u308b\u3002<\/span>\r\n    )\r\n<\/pre>\n<hr class=\"my_hr_bottom\">\n","protected":false},"excerpt":{"rendered":"<p>\u30100\u3011\u9023\u8f09\u5185\u5bb9 (134)\u3010Google Cloud TTS #1\u3011\u5b50\u3069\u3082\u306e\u82f1\u4f1a\u8a71\u5b66\u7fd2\u6559\u6750\u3092\u4f5c\u308a\u305f\u3044\uff01 (135)\u3010Google Cloud TTS #2\u3011Google Cloud\u5074\u306e\u6e96\u5099\u4f5c\u696d (136)\u3010Google \u2026 <span class=\"read-more\"><a href=\"https:\/\/www.dogrow.net\/python\/139%e3%80%90google-cloud-tts-6%e3%80%91%e8%a9%b1%e3%81%99%e9%80%9f%e5%ba%a6\/\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[],"class_list":["post-4067","post","type-post","status-publish","format-standard","hentry","category-google-cloud-tts"],"views":113,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/posts\/4067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/comments?post=4067"}],"version-history":[{"count":15,"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/posts\/4067\/revisions"}],"predecessor-version":[{"id":4195,"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/posts\/4067\/revisions\/4195"}],"wp:attachment":[{"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/media?parent=4067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/categories?post=4067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/tags?post=4067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}