Kaynağa Gözat

Update mixer documentation

dds
PaulStoffregen 8 yıl önce
ebeveyn
işleme
92ebcdb675
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. +3
    -2
      gui/index.html

+ 3
- 2
gui/index.html Dosyayı Görüntüle

<h3>Functions</h3> <h3>Functions</h3>
<p class=func><span class=keyword>gain</span>(channel, level);</p> <p class=func><span class=keyword>gain</span>(channel, level);</p>
<p class=desc>Adjust the amplification or attenuation. "channel" must <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 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 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> </p>
<h3>Examples</h3> <h3>Examples</h3>
<p class=exam>File &gt; Examples &gt; Audio &gt; SamplePlayer <p class=exam>File &gt; Examples &gt; Audio &gt; SamplePlayer

Yükleniyor…
İptal
Kaydet