MusFxBankInitialize.html
2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<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>