MusFxBankInitialize.html 2.79 KB
<html>
<head>
<title>NINTENDO64 Sound Tools Programing Manual</title>
</head>
<body bgcolor="#d0d0d0" text="#000000" link="#008000" vlink="#008000">

<h1><font color="#000080">MusFxBankInitialize()</font></h1>

<h2><font color="#ff0000">$B%W%m%H%?%$%W@k8@(B</font></h2>

<pre>  void <strong>MusFxBankInitialize</strong>(void *<font color="#0000ff">fxbank</font>);</pre>

<h2><font color="#ff0000">$B0z?t(B</font></h2>

<table>
  <tr>
    <td valign="top">
      <font color="#0000ff"><code>fxbank</code></font>
    </td>
    <td>
      $B%P%$%J%j%5%&%s%I%(%U%'%/%H%U%!%$%k$N%"%I%l%9(B
    </td>
  </tr>
</table>

<h2><font color="#ff0000">$B@bL@(B</font></h2>

<p>$B%5%&%s%I%(%U%'%/%H%P%s%/$r=i4|2=$7$^$9!#$=$7$F%G%U%)%k%H$N%5%&%s%I%(%U%'%/%H%P%s%/$,@_Dj$5$l$F$$$J$1$l$P!"$3$N%P%s%/$r%G%U%)%k%H$N%5%&%s%I%(%U%'%/%H%P%s%/$K@_Dj$7$^$9!#%5%&%s%I%(%U%'%/%H%P%s%/$,=i4|2=;~$K$O!"$=$N%P%s%/$K$"$k%*%U%;%C%H$N%j%9%H$r%]%$%s%?$KJQ49$7!"$=$l$K4XO"$9$k%5%s%W%k%P%s%/%*!<%P!<%i%$%I$r%/%j%"$7$^$9!#(B</p>

<p>$B%G%U%)%k%H$N%5%s%W%k%P%s%/$O(B<a href="MusStartEffect.html"><code>MusStartEffect()</code></a>$B!"$"$k$$$O(B<a href="MusStartEffect2.html"><code>MusStartEffect2()</code></a>$B$,%5%s%W%k%P%s%/%*!<%P!<%i%$%I$r@_Dj$7$F$$$J$$>l9g$K!"%5%&%s%I%(%U%'%/%H$r3+;O$9$k$?$a$K;H$o$l$^$9!#<!$N%5%&%s%I%(%U%'%/%H$r3+;O$9$k$?$a$K%5%&%s%I%(%U%'%/%H%*!<%P!<%i%$%I$r@_Dj$9$k$?$a$K(B<a href="MusFxBankSetSingle.html"><code>MusFxBankSetSingle()</code></a>$B4X?t$r;H$$$^$9!#(B</p>

<p>$B0z?t(B<font color="#0000ff"><code>fxbank</code></font>$B$O!"(BRAM $B>e$K(B32$B%S%C%H%"%i%$%s(B($B%-%c%C%7%e%"%i%$%s$,K>$^$7$$(B)$B$GCV$+$l$?(BNINTENDO64 Sound Tools$B$N(B<code>.BFX</code>$B%U%!%$%k$N%"%I%l%9$G$9!#(B</p>

<h2><font color="#ff0000">$BLa$jCM(B</font></h2>

<p>$B$J$7(B</p>

<h2><font color="#ff0000">$BNc(B</font></h2>

<pre>  void AudioSetEffectBank(int effect_bank)
  {
    <font color="#800000">/* test if effect bank is already loaded */</font>
    if (effect_bank==last_effect_bank)
      return;
    last_effect_bank = effect_bank;
    <font color="#800000">/* load effect bank */</font>
    AudioTransfer(fx_address[effect_bank], fx_buffer);
    <font color="#800000">/* initialise effect bank */</font>
    <strong>MusFxBankInitialize</strong>(fx_buffer);
    <font color="#800000">/* set as default effect bank */</font>
    <a href="MusFxBankSetCurrent.html">MusFxBankSetCurrent</a>(fx_buffer);
  }
</pre>

<h2><font color="#ff0000">$B;2>H(B</font></h2>

<a href="MusFxBankGetCurrent.html"><code>MusFxBankGetCurrent()</code></a>,
<a href="MusFxBankSetCurrent.html"><code>MusFxBankSetCurrent()</code></a>,
<a href="MusFxBankSetSingle.html"><code>MusFxBankSetSingle()</code></a>,
<a href="MusStartEffect.html"><code>MusStartEffect()</code></a>,
<a href="MusStartEffect2.html"><code>MusStartEffect2()</code></a>

</body>
</html>