{"id":1553,"date":"2018-07-05T18:28:44","date_gmt":"2018-07-05T09:28:44","guid":{"rendered":"https:\/\/wirehead.jp\/pixdev\/?post_type=scriptreference&#038;p=1553"},"modified":"2020-07-03T18:49:44","modified_gmt":"2020-07-03T09:49:44","slug":"sound","status":"publish","type":"page","link":"https:\/\/wirehead.jp\/pixdev\/documents\/script-reference\/sound\/","title":{"rendered":"\u30b5\u30a6\u30f3\u30c9"},"content":{"rendered":"<h1>BGM<\/h1>\n<h2>bgm.play(&#8220;\u30d5\u30a1\u30a4\u30eb\u540d&#8221;<span style=\"color: #999999;\">[,\u30eb\u30fc\u30d7\u958b\u59cb\u4f4d\u7f6e][,\u30eb\u30fc\u30d7\u7d42\u4e86\u4f4d\u7f6e]<\/span>)<\/h2>\n<p>BGM\u3092\u30eb\u30fc\u30d7\u518d\u751f\u3057\u307e\u3059\u3002BGM\u3092\u505c\u6b62\u305b\u305a\u306b\u518d\u751f\u3057\u305f\u5834\u5408\u306f\u81ea\u52d5\u7684\u306b\u30af\u30ed\u30b9\u30d5\u30a7\u30fc\u30c9\u3057\u3066\u518d\u751f\u3055\u308c\u307e\u3059\u3002<br \/>\n\u30d5\u30a1\u30a4\u30eb\u540d\u3092NULL(&#8220;&#8221;)\u306b\u3059\u308b\u3068BGM\u3092\u505c\u6b62\u3057\u307e\u3059\u3002\u3053\u3061\u3089\u3082\u81ea\u52d5\u30d5\u30a7\u30fc\u30c9\u3067\u505c\u6b62\u3057\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u521d\u671f\u5024<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30d5\u30a1\u30a4\u30eb\u540d<\/td>\n<td>\u7121\u3057<\/td>\n<td>\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u30eb\u30fc\u30d7\u958b\u59cb\u4f4d\u7f6e<\/td>\n<td>0<\/td>\n<td>\u30eb\u30fc\u30d7\u958b\u59cb\u4f4d\u7f6e\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u5358\u4f4d\u306f\u30b5\u30f3\u30d7\u30eb\u6570\u3067\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u30eb\u30fc\u30d7\u7d42\u4e86\u4f4d\u7f6e<\/td>\n<td>\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u5f8c<\/td>\n<td>\u30eb\u30fc\u30d7\u7d42\u4e86\u4f4d\u7f6e\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u5358\u4f4d\u306f\u30b5\u30f3\u30d7\u30eb\u6570\u3067\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u30eb\u30fc\u30d7\u7d42\u4e86\u4f4d\u7f6e\u3092\u6307\u5b9a\u3057\u306a\u304b\u3063\u305f\u5834\u5408\u306f\u3001\u6700\u5f8c\u307e\u3067\u518d\u751f\u3059\u308b\u3068\u30eb\u30fc\u30d7\u958b\u59cb\u4f4d\u7f6e\u306b\u623b\u308a\u307e\u3059<\/p>\n<p><a href=\"https:\/\/wirehead.jp\/pixdev\/pix-game-studio\/%e5%af%be%e5%bf%9c%e3%82%b5%e3%82%a6%e3%83%b3%e3%83%89%e3%83%95%e3%82%a9%e3%83%bc%e3%83%9e%e3%83%83%e3%83%88\/\">\u5bfe\u5fdc\u30d5\u30a9\u30fc\u30de\u30c3\u30c8<\/a><\/p>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ BGM\u3092\u518d\u751f\u3059\u308b\nbgm.play(&quot;bgm\\bgm01.ogg&quot;)\n\n\/\/ BGM\u3092\u518d\u751f\u3059\u308b\nbgm.play(&quot;bgm\\bgm01.ogg&quot;,19968)\n\n\/\/ BGM\u3092\u518d\u751f\u3059\u308b\nbgm.play(&quot;bgm\\bgm01.ogg&quot;,19968,5862689)\n<\/pre>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ BGM\u306e\u505c\u6b62\nbgm.play(&quot;&quot;)\n<\/pre>\n<h2>bgm.play.once(&#8220;\u30d5\u30a1\u30a4\u30eb\u540d&#8221;)<\/h2>\n<p>BGM\u3092\u518d\u751f\u3057\u307e\u3059\u3002BGM\u3092\u505c\u6b62\u305b\u305a\u306b\u518d\u751f\u3057\u305f\u5834\u5408\u306f\u81ea\u52d5\u7684\u306b\u30af\u30ed\u30b9\u30d5\u30a7\u30fc\u30c9\u3057\u3066\u518d\u751f\u3055\u308c\u307e\u3059\u3002<br \/>\n\u30d5\u30a1\u30a4\u30eb\u540d\u3092NULL(&#8220;&#8221;)\u306b\u3059\u308b\u3068BGM\u3092\u505c\u6b62\u3057\u307e\u3059\u3002\u3053\u3061\u3089\u3082\u81ea\u52d5\u30d5\u30a7\u30fc\u30c9\u3067\u505c\u6b62\u3057\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u521d\u671f\u5024<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30d5\u30a1\u30a4\u30eb\u540d<\/td>\n<td>\u7121\u3057<\/td>\n<td>\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"https:\/\/wirehead.jp\/pixdev\/pix-game-studio\/%e5%af%be%e5%bf%9c%e3%82%b5%e3%82%a6%e3%83%b3%e3%83%89%e3%83%95%e3%82%a9%e3%83%bc%e3%83%9e%e3%83%83%e3%83%88\/\">\u5bfe\u5fdc\u30d5\u30a9\u30fc\u30de\u30c3\u30c8<\/a><\/p>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ BGM\u3092\u518d\u751f\u3059\u308b\nbgm.play.once(&quot;bgm\\bgm01.ogg&quot;)\n<\/pre>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ BGM\u306e\u505c\u6b62\nbgm.play.once(&quot;&quot;)\n<\/pre>\n<h2>bgm.stop()<\/h2>\n<p>BGM\u3092\u505c\u6b62\u3057\u307e\u3059\u3002<\/p>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ BGM\u306e\u505c\u6b62\nbgm.stop()\n<\/pre>\n<h2>bgm.fadein(<span style=\"color: #999999;\">[\u901f\u5ea6]<\/span>)<\/h2>\n<p>BGM\u3092\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u3057\u307e\u3059<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u521d\u671f\u5024<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u901f\u5ea6<\/td>\n<td>120<\/td>\n<td>\u30d5\u30ec\u30fc\u30e0\u5358\u4f4d\u3067\u30d5\u30a7\u30fc\u30c9\u6642\u9593\u3092\u6307\u5b9a\u3057\u307e\u3059\u300260\u30671\u79d2\u3067\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ BGM\u3092\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\nbgm.fadein()\n\/\/ BGM\u30921\u79d2\u3067\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3&quot;\nbgm.fadein(0,60)\n<\/pre>\n<p>bgm.fadeout(<span style=\"color: #999999;\">[\u901f\u5ea6]<\/span>)<\/p>\n<p>BGM\u3092\u30d5\u30a7\u30fc\u30c9\u30a2\u30a6\u30c8\u3057\u307e\u3059<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u521d\u671f\u5024<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u901f\u5ea6<\/td>\n<td>120<\/td>\n<td>\u30d5\u30ec\u30fc\u30e0\u5358\u4f4d\u3067\u30d5\u30a7\u30fc\u30c9\u6642\u9593\u3092\u6307\u5b9a\u3057\u307e\u3059\u300260\u30671\u79d2\u3067\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ BGM\u3092\u30d5\u30a7\u30fc\u30c9\u30a2\u30a6\u30c8\nbgm.fadeout()\n\n\/\/ BGM\u30921\u79d2\u3067\u30d5\u30a7\u30fc\u30c9\u30a2\u30a6\u30c8\nbgm.fadeout(0,60)\n<\/pre>\n<h2>bgm.fade(\u30bf\u30fc\u30b2\u30c3\u30c8\u97f3\u91cf<span style=\"color: #999999;\">[,\u901f\u5ea6]<\/span>)<\/h2>\n<p>BGM\u3092\u30d5\u30a7\u30fc\u30c9\u3057\u307e\u3059<\/p>\n<p>\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u7701\u7565\u3057\u305f\u5834\u5408\u306f0\u756a\u3092\u4f7f\u7528\u3057\u307e\u3059<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u521d\u671f\u5024<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30bf\u30fc\u30b2\u30c3\u30c8\u97f3\u91cf<\/td>\n<td>100<\/td>\n<td>0\uff5e100\u3067\u97f3\u91cf\u3092\u6307\u5b9a\u3057\u307e\u3059(\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u6307\u5b9a)<\/td>\n<\/tr>\n<tr>\n<td>\u901f\u5ea6<\/td>\n<td>120<\/td>\n<td>\u30d5\u30ec\u30fc\u30e0\u5358\u4f4d\u3067\u30d5\u30a7\u30fc\u30c9\u6642\u9593\u3092\u6307\u5b9a\u3057\u307e\u3059\u300260\u30671\u79d2\u3067\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ BGM\u30922\u79d2\u304b\u3051\u3066\u534a\u5206\u306b\u30d5\u30a7\u30fc\u30c9\nbgm.fade(50,120)\n<\/pre>\n<h2>bgm.volume(BGM\u30dc\u30ea\u30e5\u30fc\u30e0(0%\uff5e100%))<\/h2>\n<p>BGM\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h1>\u901a\u5e38\u52b9\u679c\u97f3<\/h1>\n<h2>se.play(\u30c1\u30e3\u30f3\u30cd\u30eb,&#8221;\u30d5\u30a1\u30a4\u30eb\u540d&#8221;[, \u30eb\u30fc\u30d7])<\/h2>\n<p>SE(\u52b9\u679c\u97f3)\u3092\u518d\u751f\u3057\u307e\u3059<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u540d\u3092NULL\u306b\u3059\u308b\u3068SE\u3092\u505c\u6b62\u3057\u307e\u3059\u3002<br \/>\n\u30c1\u30e3\u30f3\u30cd\u30eb\u306e\u6700\u5927\u6570\u306f16\u3067\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u521d\u671f\u5024<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30c1\u30e3\u30f3\u30cd\u30eb<\/td>\n<td>0<\/td>\n<td>0\uff5e15\u3067\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u30d5\u30a1\u30a4\u30eb\u540d<\/td>\n<td>\u7121\u3057<\/td>\n<td>\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u30eb\u30fc\u30d7<\/td>\n<td>0<\/td>\n<td>\u518d\u751f\u56de\u6570\u30020\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306f\u7121\u9650\u30eb\u30fc\u30d7\u3057\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ SE01\u3092\u518d\u751f\u3059\u308b(wav\u30d5\u30a9\u30fc\u30de\u30c3\u30c8)\nse.play(0,&quot;se\\se01.wav&quot;)\n\/\/ SE02\u3092\u518d\u751f\u3059\u308b(ogg\u30d5\u30a9\u30fc\u30de\u30c3\u30c8)\nse.play(0,&quot;se\\se02.ogg&quot;)\n<\/pre>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ SE\u306e\u505c\u6b62\n\nse.play(0,&quot;&quot;)\n<\/pre>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ \u30c1\u30e3\u30f3\u30cd\u30eb5\u3067SE\u3092\u306a\u3089\u3059\nse.play(5,&quot;se\\se01.wav&quot;)\n\n\/\/ \u30c1\u30e3\u30f3\u30cd\u30eb5\u3067SE\u30922\u56de\u306a\u3089\u3059\nse.play(5,&quot;se\\se01.wav&quot;,2)\n\n\/\/ \u30c1\u30e3\u30f3\u30cd\u30eb5\u3067SE\u3092\u7121\u9650\u306b\u306a\u3089\u3059\nse.play(5,&quot;se\\se01.wav&quot;,0)\n\n<\/pre>\n<h2>se.stop([\u30c1\u30e3\u30f3\u30cd\u30eb])<\/h2>\n<p>SE(\u52b9\u679c\u97f3)\u3092\u505c\u6b62\u3057\u307e\u3059<br \/>\n\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u7701\u7565\u3057\u305f\u5834\u5408\u306f0\u756a\u3092\u4f7f\u7528\u3057\u307e\u3059<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u521d\u671f\u5024<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30c1\u30e3\u30f3\u30cd\u30eb<\/td>\n<td>0<\/td>\n<td>0\uff5e15\u3067\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ SE\u3092\u505c\u6b62\nse.stop(0)\nse.stop(5)\n\n\/\/ SE\u3092\u505c\u6b62\nse.stop()\n<\/pre>\n<h2>se.stop.all()<\/h2>\n<p>\u3059\u3079\u3066\u306e\u52b9\u679c\u97f3\u3092\u505c\u6b62\u3057\u307e\u3059<\/p>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\nse.stop.all()\n<\/pre>\n<h2>se.volume(\u30c1\u30e3\u30f3\u30cd\u30eb,\u30dc\u30ea\u30e5\u30fc\u30e0)<\/h2>\n<p>SE(\u52b9\u679c\u97f3)\u3092\u505c\u6b62\u3057\u307e\u3059<\/p>\n<p>\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u7701\u7565\u3057\u305f\u5834\u5408\u306f0\u756a\u3092\u4f7f\u7528\u3057\u307e\u3059<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u521d\u671f\u5024<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30c1\u30e3\u30f3\u30cd\u30eb<\/td>\n<td>0<\/td>\n<td>0\uff5e15\u3067\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u30dc\u30ea\u30e5\u30fc\u30e0<\/td>\n<td>100<\/td>\n<td>0\uff5e100\u3067\u97f3\u91cf\u3092\u6307\u5b9a\u3057\u307e\u3059(\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u6307\u5b9a)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ SE\u306e\u97f3\u91cf\u3092\u6307\u5b9a\nse.volume(0,50)\n<\/pre>\n<h2>se.fadein([\u30c1\u30e3\u30f3\u30cd\u30eb,\u901f\u5ea6])<\/h2>\n<p>SE(\u52b9\u679c\u97f3)\u3092\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u3057\u307e\u3059<\/p>\n<p>\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u7701\u7565\u3057\u305f\u5834\u5408\u306f0\u756a\u3092\u4f7f\u7528\u3057\u307e\u3059<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u521d\u671f\u5024<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30c1\u30e3\u30f3\u30cd\u30eb<\/td>\n<td>0<\/td>\n<td>0\uff5e15\u3067\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u901f\u5ea6<\/td>\n<td>120<\/td>\n<td>\u30d5\u30ec\u30fc\u30e0\u5358\u4f4d\u3067\u30d5\u30a7\u30fc\u30c9\u6642\u9593\u3092\u6307\u5b9a\u3057\u307e\u3059\u300260\u30671\u79d2\u3067\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ SE\u3092\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\nse.fadein()\n\n\/\/ 5\u30c1\u30e3\u30f3\u30cd\u30eb\u306eSE\u3092\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\nse.fadein(5)\n\n\/\/ SE\u30921\u79d2\u3067\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\nse.fadein(0,60)\n<\/pre>\n<h2>se.fadeout([\u30c1\u30e3\u30f3\u30cd\u30eb,\u901f\u5ea6])<\/h2>\n<p>SE(\u52b9\u679c\u97f3)\u3092\u30d5\u30a7\u30fc\u30c9\u30a2\u30a6\u30c8\u3057\u307e\u3059<\/p>\n<p>\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u7701\u7565\u3057\u305f\u5834\u5408\u306f0\u756a\u3092\u4f7f\u7528\u3057\u307e\u3059<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u521d\u671f\u5024<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30c1\u30e3\u30f3\u30cd\u30eb<\/td>\n<td>0<\/td>\n<td>0\uff5e15\u3067\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u901f\u5ea6<\/td>\n<td>120<\/td>\n<td>\u30d5\u30ec\u30fc\u30e0\u5358\u4f4d\u3067\u30d5\u30a7\u30fc\u30c9\u6642\u9593\u3092\u6307\u5b9a\u3057\u307e\u3059\u300260\u30671\u79d2\u3067\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ SE\u3092\u30d5\u30a7\u30fc\u30c9\u30a2\u30a6\u30c8\nse.fadeout()\n\n\/\/ 5\u30c1\u30e3\u30f3\u30cd\u30eb\u306eSE\u3092\u30d5\u30a7\u30fc\u30c9\u30a2\u30a6\u30c8\nse.fadeout(5)\n\n\/\/ SE\u30921\u79d2\u3067\u30d5\u30a7\u30fc\u30c9\u30a2\u30a6\u30c8\nse.fadeout(0,60)\n<\/pre>\n<h2>se.fade(\u30c1\u30e3\u30f3\u30cd\u30eb,\u30bf\u30fc\u30b2\u30c3\u30c8\u97f3\u91cf,\u901f\u5ea6)<\/h2>\n<p>SE(\u52b9\u679c\u97f3)\u3092\u30d5\u30a7\u30fc\u30c9\u3057\u307e\u3059<\/p>\n<p>\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u7701\u7565\u3057\u305f\u5834\u5408\u306f0\u756a\u3092\u4f7f\u7528\u3057\u307e\u3059<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"width: 102px;\">\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th style=\"width: 46px;\">\u521d\u671f\u5024<\/th>\n<th style=\"width: 364px;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 102px;\">\u30c1\u30e3\u30f3\u30cd\u30eb<\/td>\n<td style=\"width: 46px;\">0<\/td>\n<td style=\"width: 364px;\">0\uff5e15\u3067\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 102px;\">\u30bf\u30fc\u30b2\u30c3\u30c8\u97f3\u91cf<\/td>\n<td style=\"width: 46px;\">100<\/td>\n<td style=\"width: 364px;\">0\uff5e100\u3067\u97f3\u91cf\u3092\u6307\u5b9a\u3057\u307e\u3059(\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u6307\u5b9a)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 102px;\">\u901f\u5ea6<\/td>\n<td style=\"width: 46px;\">120<\/td>\n<td style=\"width: 364px;\">\u30d5\u30ec\u30fc\u30e0\u5358\u4f4d\u3067\u30d5\u30a7\u30fc\u30c9\u6642\u9593\u3092\u6307\u5b9a\u3057\u307e\u3059\u300260\u30671\u79d2\u3067\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ 0\u756a\u306eSE\u30922\u79d2\u304b\u3051\u3066\u534a\u5206\u306b\u30d5\u30a7\u30fc\u30c9\nse.fade(0,50,120)\n<\/pre>\n<h1>\u7279\u6b8a\u52b9\u679c\u97f3<\/h1>\n<p>\u7279\u6b8a\u52b9\u679c\u97f3\u518d\u751f\u547d\u4ee4\u3067\u3059\u3002<br \/>\n\u7279\u6b8a\u52b9\u679c\u97f3\u306f\u30b2\u30fc\u30e0\u5185\u30b3\u30f3\u30d5\u30a3\u30b0\u306b\u3066\u5225\u97f3\u91cf\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<h2>se.h.play(\u30c1\u30e3\u30f3\u30cd\u30eb,&#8221;\u30d5\u30a1\u30a4\u30eb\u540d&#8221;[, \u30eb\u30fc\u30d7])<\/h2>\n<p>SE(\u52b9\u679c\u97f3)\u3092\u518d\u751f\u3057\u307e\u3059<\/p>\n<pre><\/pre>\n<h2>se.h.stop([\u30c1\u30e3\u30f3\u30cd\u30eb])<\/h2>\n<p>SE(\u52b9\u679c\u97f3)\u3092\u505c\u6b62\u3057\u307e\u3059<\/p>\n<h2>se.h.stop.all()<\/h2>\n<p>\u3059\u3079\u3066\u306e\u52b9\u679c\u97f3\u3092\u505c\u6b62\u3057\u307e\u3059<\/p>\n<h2>se.h.volume(\u30c1\u30e3\u30f3\u30cd\u30eb,\u30dc\u30ea\u30e5\u30fc\u30e0)<\/h2>\n<p>SE(\u52b9\u679c\u97f3)\u3092\u505c\u6b62\u3057\u307e\u3059<\/p>\n<pre><\/pre>\n<h2>se.h.fadein([\u30c1\u30e3\u30f3\u30cd\u30eb,\u901f\u5ea6])<\/h2>\n<p>SE(\u52b9\u679c\u97f3)\u3092\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u3057\u307e\u3059<\/p>\n<pre><\/pre>\n<h2>se.h.fadeout([\u30c1\u30e3\u30f3\u30cd\u30eb,\u901f\u5ea6])<\/h2>\n<p>SE(\u52b9\u679c\u97f3)\u3092\u30d5\u30a7\u30fc\u30c9\u30a2\u30a6\u30c8\u3057\u307e\u3059<\/p>\n<pre><\/pre>\n<h2>se.h.fade(\u30c1\u30e3\u30f3\u30cd\u30eb,\u30bf\u30fc\u30b2\u30c3\u30c8\u97f3\u91cf,\u901f\u5ea6)<\/h2>\n<p>SE(\u52b9\u679c\u97f3)\u3092\u30d5\u30a7\u30fc\u30c9\u3057\u307e\u3059<\/p>\n<pre><\/pre>\n<ul>\n<li>se.background.play<\/li>\n<li>se.background.stop<\/li>\n<li>se.h.background.play<\/li>\n<li>se.h.background.stop<\/li>\n<\/ul>\n<h1>\u30dc\u30a4\u30b9<\/h1>\n<h2>voice.play(\u30c1\u30e3\u30f3\u30cd\u30eb,\u30d5\u30a1\u30a4\u30eb\u540d)<\/h2>\n<p>\u30dc\u30a4\u30b9\u3092\u518d\u751f\u3057\u307e\u3059<\/p>\n<h3>\u30d1\u30e9\u30e1\u30fc\u30bf<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u521d\u671f\u5024<\/th>\n<th>\u7bc4\u56f2<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30c1\u30e3\u30f3\u30cd\u30eb<\/td>\n<td>\u7121\u3057<\/td>\n<td>0\uff5e15<\/td>\n<td>\u30dc\u30a4\u30b9\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u30d5\u30a1\u30a4\u30eb\u540d<\/td>\n<td>\u7121\u3057<\/td>\n<td><\/td>\n<td>\u30dc\u30a4\u30b9\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u30b5\u30f3\u30d7\u30eb<\/h3>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ 0\u756a\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u3067\u30dc\u30a4\u30b9\u3092\u518d\u751f\u3057\u307e\u3059\nvoice.play(0,&quot;voice\\test01.ogg&quot;)\n\/\/ 1\u756a\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u3067\u30dc\u30a4\u30b9\u3092\u518d\u751f\u3057\u307e\u3059\nvoice.play(1,&quot;voice\\test02.ogg&quot;)\n<\/pre>\n<h2>voice.stop(\u30c1\u30e3\u30f3\u30cd\u30eb)<\/h2>\n<p>\u30dc\u30a4\u30b9\u3092\u505c\u6b62\u3057\u307e\u3059<\/p>\n<h3>\u30d1\u30e9\u30e1\u30fc\u30bf<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u521d\u671f\u5024<\/th>\n<th>\u7bc4\u56f2<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30c1\u30e3\u30f3\u30cd\u30eb<\/td>\n<td>\u7121\u3057<\/td>\n<td>0\uff5e15<\/td>\n<td>\u30dc\u30a4\u30b9\u306e\u518d\u751f\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u30b5\u30f3\u30d7\u30eb<\/h3>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ 0\u756a\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u306e\u30dc\u30a4\u30b9\u3092\u505c\u6b62\u3057\u307e\u3059\nvoice.stop(0)\n\/\/ 1\u756a\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u306e\u30dc\u30a4\u30b9\u3092\u505c\u6b62\u3057\u307e\u3059\nvoice.stop(1)\n\n<\/pre>\n<h1>\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u30dc\u30a4\u30b9<\/h1>\n<h2>voice.background.play(\u30c1\u30e3\u30f3\u30cd\u30eb,\u30d5\u30a1\u30a4\u30eb\u540d)<\/h2>\n<p>\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u30dc\u30a4\u30b9\u3092\u518d\u751f\u3057\u307e\u3059<\/p>\n<h3>\u30d1\u30e9\u30e1\u30fc\u30bf<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u521d\u671f\u5024<\/th>\n<th>\u7bc4\u56f2<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30c1\u30e3\u30f3\u30cd\u30eb<\/td>\n<td>\u7121\u3057<\/td>\n<td>0\uff5e15<\/td>\n<td>\u30dc\u30a4\u30b9\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u30d5\u30a1\u30a4\u30eb\u540d<\/td>\n<td>\u7121\u3057<\/td>\n<td><\/td>\n<td>\u30dc\u30a4\u30b9\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u30b5\u30f3\u30d7\u30eb<\/h3>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ 0\u756a\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u3067\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u30dc\u30a4\u30b9\u3092\u518d\u751f\u3057\u307e\u3059\nvoice.background.play(0,&quot;voice\\test01.ogg&quot;)\n\/\/ 1\u756a\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u3067\u30dc\u30a4\u30b9\u3092\u518d\u751f\u3057\u307e\u3059\nvoice.background.play(1,&quot;voice\\test02.ogg&quot;)\n<\/pre>\n<h2>voice.background.stop(\u30c1\u30e3\u30f3\u30cd\u30eb)<\/h2>\n<p>\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u30dc\u30a4\u30b9\u3092\u505c\u6b62\u3057\u307e\u3059<\/p>\n<h3>\u30d1\u30e9\u30e1\u30fc\u30bf<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u521d\u671f\u5024<\/th>\n<th>\u7bc4\u56f2<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30c1\u30e3\u30f3\u30cd\u30eb<\/td>\n<td>\u7121\u3057<\/td>\n<td>0\uff5e15<\/td>\n<td>\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u30dc\u30a4\u30b9\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u30b5\u30f3\u30d7\u30eb<\/h3>\n<pre><pre class=\"brush: cpp; title: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9; notranslate\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\n\/\/ 0\u756a\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u306e\u30dc\u30a4\u30b9\u3092\u505c\u6b62\u3057\u307e\u3059\nvoice.background.stop(0)\n\/\/ 1\u756a\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u306e\u30dc\u30a4\u30b9\u3092\u505c\u6b62\u3057\u307e\u3059\nvoice.background.stop(1)\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>BGM bgm.play(&#8220;\u30d5\u30a1\u30a4\u30eb\u540d&#8221;[,\u30eb\u30fc\u30d7\u958b\u59cb\u4f4d\u7f6e][,\u30eb\u30fc\u30d7\u7d42\u4e86\u4f4d\u7f6e]) BGM\u3092\u30eb\u30fc\u30d7\u518d\u751f\u3057\u307e\u3059\u3002BGM\u3092\u505c\u6b62\u305b\u305a\u306b\u518d\u751f\u3057\u305f\u5834\u5408\u306f\u81ea\u52d5\u7684\u306b\u30af\u30ed\u30b9\u30d5\u30a7\u30fc\u30c9\u3057\u3066\u518d\u751f\u3055\u308c\u307e\u3059\u3002 \u30d5\u30a1\u30a4\u30eb\u540d\u3092&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":8816,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/wirehead.jp\/pixdev\/wp-json\/wp\/v2\/pages\/1553"}],"collection":[{"href":"https:\/\/wirehead.jp\/pixdev\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wirehead.jp\/pixdev\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wirehead.jp\/pixdev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wirehead.jp\/pixdev\/wp-json\/wp\/v2\/comments?post=1553"}],"version-history":[{"count":5,"href":"https:\/\/wirehead.jp\/pixdev\/wp-json\/wp\/v2\/pages\/1553\/revisions"}],"predecessor-version":[{"id":8954,"href":"https:\/\/wirehead.jp\/pixdev\/wp-json\/wp\/v2\/pages\/1553\/revisions\/8954"}],"up":[{"embeddable":true,"href":"https:\/\/wirehead.jp\/pixdev\/wp-json\/wp\/v2\/pages\/8816"}],"wp:attachment":[{"href":"https:\/\/wirehead.jp\/pixdev\/wp-json\/wp\/v2\/media?parent=1553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}