瀏覽代碼

Update mixer documentation

dds
PaulStoffregen 7 年之前
父節點
當前提交
92ebcdb675
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      gui/index.html

+ 3
- 2
gui/index.html 查看文件

@@ -1315,10 +1315,11 @@ span.mainfunction {color: #993300; font-weight: bolder}
<h3>Functions</h3>
<p class=func><span class=keyword>gain</span>(channel, level);</p>
<p class=desc>Adjust the amplification or attenuation. "channel" must
be 0 to 3. "level" may be any floating point number from 0 to 32767.
be 0 to 3. "level" may be any floating point number from 0 to 32767.0.
1.0 passes the signal through directly. Level of 0 shuts the channel
off completely. Between 0 to 1.0 attenuates the signal, and above
1.0 amplifies it. All 4 channels have separate settings.
1.0 amplifies it. Negative numbers may also be used, to invert the
signal. All 4 channels have separate gain settings.
</p>
<h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; SamplePlayer

Loading…
取消
儲存