<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>anonffxivのブログ</title>
<link>https://ameblo.jp/anonffxiv/</link>
<atom:link href="https://rssblog.ameba.jp/anonffxiv/rss20.xml" rel="self" type="application/rss+xml" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
<description>ブログの説明を入力します。</description>
<language>ja</language>
<item>
<title>luaでTTS【windows10】</title>
<description>
<![CDATA[ <p>windowsに搭載されている、powershellを使う方法です</p><p>&nbsp;</p><p><b style="font-weight:bold;">local msg=[[<span style="color:#009944;">読ませたい内容</span>]]</b></p><p><b style="font-weight:bold;">local script=[[</b></p><p><b style="font-weight:bold;">&nbsp; &nbsp; $x=New-Object -ComObject SAPI.SpVoice;$x.Voice=$x.GetVoices().<span style="color:#ff0000;">item(1)</span>;$x.Speak(']]..msg..[[')</b></p><p><b style="font-weight:bold;">]]</b></p><p><b style="font-weight:bold;">local pipe=io.popen("powershell -command -","w")</b></p><p><b style="font-weight:bold;">pipe:write(script)</b></p><p><b style="font-weight:bold;">pipe:close()</b></p><p>&nbsp;</p><p>※itemのカッコの中の数字で、読み上げてくれる声を変更できます</p><p>0：女性、日本語</p><p>1：女性、英語</p><p>2：男性、英語</p>
]]>
</description>
<link>https://ameblo.jp/anonffxiv/entry-12845418387.html</link>
<pubDate>Fri, 22 Mar 2024 21:01:27 +0900</pubDate>
</item>
<item>
<title>luaでwavファイルを再生する方法【windows10】</title>
<description>
<![CDATA[ <p>windowsに搭載されている、powershellを使ってwavファイルを再生する方法です</p><p>&nbsp;</p><p><b style="font-weight:bold;">local wavfile="<span style="color:#009944;">wavファイルへの絶対パス</span>"</b></p><p><b style="font-weight:bold;">io.popen("powershell -command -(New-Object Media.SoundPlayer "..wavfile..").PlaySync()","w"):close()</b></p>
]]>
</description>
<link>https://ameblo.jp/anonffxiv/entry-12841626532.html</link>
<pubDate>Thu, 22 Feb 2024 15:22:28 +0900</pubDate>
</item>
<item>
<title>luarocksにおける、xmlのインストールについて【windows10】</title>
<description>
<![CDATA[ <p>luarocksでxmlがインストールが出来ない場合があります</p><p>&nbsp;</p><p><span style="color:#009944;"><b style="font-weight:bold;"><span style="font-size:1em;"><mark style="background-color:#ffffff;color:inherit;">■解決法</mark></span></b></span></p><p>①コマンドプロンプトを開いて、以下のコードを入力しxmlをダウンロードします。</p><p><b style="font-weight:bold;"><mark style="background-color:#ffffff;color:inherit;">luarocks unpack xml</mark></b></p><p>&nbsp;</p><p>②ダウンロードした<b style="font-weight:bold;">xml-1.1.3-1</b>フォルダ内、</p><p>xml-1.1.3-1→xml→src→bind→dubフォルダ内にある<b style="font-weight:bold;">dub.h</b>、<b style="font-weight:bold;">dub.cpp</b>を編集します。</p><p><b style="font-weight:bold;">throw(dub::TypeException)</b></p><p>の部分を削除するように編集します。</p><p>例：</p><p><b style="font-weight:bold;">lua_Number checknumber(lua_State *L,int narg)&nbsp;throw(dub::TypeException);</b></p><p>↓</p><p><b style="font-weight:bold;">lua_Number checknumber(lua_State *L,int narg);</b></p><p>&nbsp;</p><p>③ダウンロードしたxml-1.1.3-1フォルダ内のxmlフォルダ内にある<b style="font-weight:bold;">xml-1.1.3-1.rockspec</b>のコードを、</p><p>以下のURLから得られるコードのものに変更します</p><div class="ogpCard_root"><article class="ogpCard_wrap" contenteditable="false" style="display:inline-block;max-width:100%"><a class="ogpCard_link" data-ogp-card-log="" href="https://gist.github.com/ossie-git/ffddb4fd619c93db6baa45b62a65b89b#file-xml-1-1-3-1-rockspec" rel="noopener noreferrer" style="display:flex;justify-content:space-between;overflow:hidden;box-sizing:border-box;width:620px;max-width:100%;height:120px;border:1px solid #e2e2e2;border-radius:4px;background-color:#fff;text-decoration:none" target="_blank"><span class="ogpCard_content" style="display:flex;flex-direction:column;overflow:hidden;width:100%;padding:16px"><span class="ogpCard_title" style="-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;max-height:48px;line-height:1.4;font-size:16px;color:#333;text-align:left;font-weight:bold;overflow:hidden">xml-1.1.3-1.rockspec</span><span class="ogpCard_description" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.6;margin-top:4px;color:#757575;text-align:left;font-size:12px">GitHub Gist: instantly share code, notes, and snippets.</span><span class="ogpCard_url" style="display:flex;align-items:center;margin-top:auto"><span class="ogpCard_iconWrap" style="position:relative;width:20px;height:20px;flex-shrink:0"><img alt="リンク" class="ogpCard_icon" height="20" loading="lazy" src="https://c.stat100.ameba.jp/ameblo/symbols/v3.20.0/svg/gray/editor_link.svg" style="position:absolute;top:0;bottom:0;right:0;left:0;height:100%;max-height:100%" width="20"></span><span class="ogpCard_urlText" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#757575;font-size:12px;text-align:left">gist.github.com</span></span></span><span class="ogpCard_imageWrap" style="position:relative;width:120px;height:120px;flex-shrink:0"><img alt="" class="ogpCard_image" data-ogp-card-image="" height="120" loading="lazy" src="https://github.githubassets.com/assets/gist-og-image-54fd7dc0713e.png" style="position:absolute;top:50%;left:50%;object-fit:cover;min-height:100%;min-width:100%;transform:translate(-50%,-50%)" width="120"></span></a></article></div><div class="ogpCard_root">&nbsp;</div><p>④xml-1.1.3-1フォルダ内xmlのディレクトリで<b style="font-weight:bold;">luarocks make xml-1.1.3-1.rockspec</b>を実行。インストールされるはずです</p>
]]>
</description>
<link>https://ameblo.jp/anonffxiv/entry-12837553071.html</link>
<pubDate>Mon, 22 Jan 2024 10:47:19 +0900</pubDate>
</item>
</channel>
</rss>
